EEPROM and the SX
david43085
Posts: 8
The Stamp uses EEPROM for memory and it is integrated directly onto the stamp.· How does the SX accomplish this same feat?· I am trying to understand the required (basic)·components of microcontroller circuits and and how they interact with each other.· Recommended reading?
Thanks
Dave
Thanks
Dave
Comments
· The SX contains flash memory that stores the program. This memory is not changable by the SX itself, only the programmer can change it.
· The stamp has a SX (or PIC) that runs a program from it's flash memory. That program reads the basic program from the eeprom and executes it.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
·The next time you need a hero don't look up in the sky...Look in the mirror.
·
Thanks
Dave
The SX-Key is this programmer for SX chips. The SX-Key contains another SX (look on the SX-Key carefully, it might be labeled "Ubicom" but it's the same thing) that puts the target SX into a special mode that allows it to load the SX's internal EEPROM with the actual assembly.
This functionality is all built into the silicon of the SX (and all microcontrollers in general).
The Basic Stamp all have a microcontroller as well (some even have the SX), but the program on those chips·is fixed and preprogrammed in a factory. The actual Basic Stamp program that you write up is stored on an external EEPROM, and the fixed built-in program in the microcontroller reads off the program in the external EEPROM and performs those actions. This process is called "interpreting".
The program that you load in SXes·is not interpreted.·The program is read from its internal EEPROM and is executed directly by the circuitry of the silicon. The program that you load in Basic Stamps, however, is read from an external EEPROM and is executed by another program.
Recommended reading includes the SX-Tech manual and Gunther Daubach's Programming the SX Microcontroller.
Post Edited (InSilico) : 1/4/2009 2:30:39 AM GMT