Programming eprom manually.
Archiver
Posts: 46,084
I'm writing some software to interface with the BASIC2 stamp, I want
to dynamically program the eprom depending on the configuration on
the users side, ie: the user spesifies what devices are attached to
the stamp and where.
I can open the serial port and push and pull data, however I'm
looking for some documentation on how to correctly program the eprom
via a serial connection. Do I simply use the PBASIC Tokenizer
Library or is there a more simple way?
It would be ideal to use an exectutable where I could push it the
code via STDIN or a text file.
Thanks in advance.
to dynamically program the eprom depending on the configuration on
the users side, ie: the user spesifies what devices are attached to
the stamp and where.
I can open the serial port and push and pull data, however I'm
looking for some documentation on how to correctly program the eprom
via a serial connection. Do I simply use the PBASIC Tokenizer
Library or is there a more simple way?
It would be ideal to use an exectutable where I could push it the
code via STDIN or a text file.
Thanks in advance.
Comments
to the BASIC Stamp module and then writes it to the EEPROM for you.
This is not difficult to do. Before working for Parallax I designed a
commercial product with the BASIC Stamp that had a programming mode. In
this mode the device accepted serial data from a VB program and wrote it
to the EEPROM.
There is no way to have your program directly rewrite the EEPROM without
reprogramming the device.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: tasm9876 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=ngdTicYof56yIGZZjYR8EP6sZzvR7LbOu8895k-6PSHc3xesWC6WsD57edJTgsfkk_VAn2mC]yahoo@j...[/url
Sent: Tuesday, May 25, 2004 3:04 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Programming eprom manually.
I'm writing some software to interface with the BASIC2 stamp, I want
to dynamically program the eprom depending on the configuration on
the users side, ie: the user spesifies what devices are attached to
the stamp and where.
I can open the serial port and push and pull data, however I'm
looking for some documentation on how to correctly program the eprom
via a serial connection. Do I simply use the PBASIC Tokenizer
Library or is there a more simple way?
It would be ideal to use an exectutable where I could push it the
code via STDIN or a text file.
Thanks in advance.
use a switch on one of the inputs of the stamp to direct the software to the
area/portion of software needed by the end user? This assumes that all the
software will fit.
Original Message
From: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=tInxFqGzKmNF-ew5xGmkwSJetCbmNa5oyndk8IaxGkAs4VDMKxt00GuESzLObuZxizqshFcMlZGbzMgyTQ]jwilliams@p...[/url
Sent: Wednesday, May 26, 2004 9:07 AM
To: basicstamps@yahoogroups.com
Subject: RE: [noparse][[/noparse]basicstamps] Programming eprom manually.
You'd have to be running a segment of code that receives the data sent to
the BASIC Stamp module and then writes it to the EEPROM for you. This is not
difficult to do. Before working for Parallax I designed a commercial
product with the BASIC Stamp that had a programming mode. In this mode the
device accepted serial data from a VB program and wrote it to the EEPROM.
There is no way to have your program directly rewrite the EEPROM without
reprogramming the device.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: tasm9876 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=5SrP7fqirPuXj4cskbO0GxECzRnOVPhES3E3ioldFQZUUYieAk_hvRPVDw3tfTTMLR-N29VnYg]yahoo@j...[/url
Sent: Tuesday, May 25, 2004 3:04 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Programming eprom manually.
I'm writing some software to interface with the BASIC2 stamp, I want
to dynamically program the eprom depending on the configuration on
the users side, ie: the user spesifies what devices are attached to
the stamp and where.
I can open the serial port and push and pull data, however I'm
looking for some documentation on how to correctly program the eprom
via a serial connection. Do I simply use the PBASIC Tokenizer
Library or is there a more simple way?
It would be ideal to use an exectutable where I could push it the
code via STDIN or a text file.
Thanks in advance.
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Yahoo! Groups Links
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: Grover Richardson [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Oa2R4oTiMH6eZMFp0_hvqKfaVeeFqtXtiFdcsz9nkqta7zkNVJgqOxa7hNq4M1LP3yjLDPNeLxrt60EhRyql84MqTPHSns6n]grover.richardson@g...[/url
Sent: Wednesday, May 26, 2004 8:15 AM
To: basicstamps@yahoogroups.com
Subject: RE: [noparse][[/noparse]basicstamps] Programming eprom manually.
Sounds like it might be good to write all the software to the stamp,
then use a switch on one of the inputs of the stamp to direct the
software to the area/portion of software needed by the end user? This
assumes that all the software will fit.
Original Message
From: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=xyyMCm8E-5wHkgPtl6ZfVzz8Nn8uHhqZTp7RLZ8_IuyDyO6zVw9bufSA5YlTBWHdk-ujuR0Mb1cf_Pt8]jwilliams@p...[/url
Sent: Wednesday, May 26, 2004 9:07 AM
To: basicstamps@yahoogroups.com
Subject: RE: [noparse][[/noparse]basicstamps] Programming eprom manually.
You'd have to be running a segment of code that receives the data sent
to the BASIC Stamp module and then writes it to the EEPROM for you. This
is not difficult to do. Before working for Parallax I designed a
commercial product with the BASIC Stamp that had a programming mode. In
this mode the device accepted serial data from a VB program and wrote it
to the EEPROM.
There is no way to have your program directly rewrite the EEPROM without
reprogramming the device.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: tasm9876 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=PVTMpPIfyRQPqmKyqTPrJhQTy7rT8KUdD_hl40Jsj9ABi0XfLwoHRkC77Uii4NhK-NnaMq8]yahoo@j...[/url
Sent: Tuesday, May 25, 2004 3:04 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Programming eprom manually.
I'm writing some software to interface with the BASIC2 stamp, I want
to dynamically program the eprom depending on the configuration on
the users side, ie: the user spesifies what devices are attached to
the stamp and where.
I can open the serial port and push and pull data, however I'm
looking for some documentation on how to correctly program the eprom
via a serial connection. Do I simply use the PBASIC Tokenizer
Library or is there a more simple way?
It would be ideal to use an exectutable where I could push it the
code via STDIN or a text file.
Thanks in advance.