Shop OBEX P1 Docs P2 Docs Learn Events
Downloading DATA to the EEPROM without compiling, is it possible? — Parallax Forums

Downloading DATA to the EEPROM without compiling, is it possible?

KenyKeny Posts: 2
edited 2008-05-02 06:52 in BASIC Stamp
Hello, this is my first post, very new to electronics and the STAMP, toying around with the POV (Persistent of Vision) - using 7 segmented LEDs.

The question that comes to mind, is if it is possible to maintain the code already downloaded and simply downloading a file to the STAMPs EEPROM without having to recompile the code -- i assume the memory addresses are constant

General Purpose: Customer has a version and simply a provision of a 'data file' that can be replaced
Thanks
Alon

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-05-01 20:38
    You can't partially download information to the Stamp's EEPROM using the built-in downloader. What you can do is include a provision in your program for updating the data in the EEPROM using the WRITE statement. Basically, you'd have a jumper on your device that would signal that it's in download mode. Your program would check for that during its initialization and GOTO a part of the program that would read in the new data, maybe using the programming port with the DEBUG and DEBUGIN statements and write it to the EEPROM using the WRITE statement. Look at those chapters (for the statements) in the Stamp Basic Manual.
  • KenyKeny Posts: 2
    edited 2008-05-02 06:52
    Mike thanks for the quick response, will check and update
Sign In or Register to comment.