Download ST7 8-bit MCU family user guide
Transcript
7 - Debugger and PROM Programmer Tutorial for ST72251 This window is an edit window, that allows you to alter the values to be programmed directly by putting the cursor on one byte and typing in the new value. The tabs at the bottom allow you to select between the program memory (EPROM) and the non-volatile memory that is reprogrammable by the application program (EEPROM). This last type of memory does not exist on all devices. The edit menu allows you to fill a range of addresses with the same byte. This allows you for example to fill the memory with NOP codes, with a jump instruction just before the interrupt vectors. This is one of the ways of protecting the program against software or hardware malfunctioning. If we are done with loading and altering the program, we can program the chip. Using the Program menu, you can select either the current memory space or part of it, or all of them (when a device includes EEPROM). 07-prog5.bmp It is also possible to read back an already programmed chip using the Read menu with, here again, the option of reading all spaces, one space, or just a part of one space. This allows you either to store it to disk or to program a new device with the same code or an amended version of it. To check whether a device is blank or not, use the Verify/Blank option. Also, the Verify/All, Verify/Current and Verify/Range options allow you to check a device agains the current con- 188/315