Download SYS68K/CPU-60 Technical Reference Manual

Transcript
Modifying Special Locations in ROM
Appendix to VMEPROM
Reprogramming
the flash memory
The following procedure describes how to reprogram the on-board system flash memory.
IMPORTANT
If there is another CPU or memory board available on the VMEbus, it
should be used to save the current content of the system flash into a file:
i
1. Copy the binary image to the local RAM of the other CPU board via
the VMEbus:
BM FF000000,FF400000,destination
2. Save the binary image into a file.
After saving the current content of the on-board system flash it can be reprogrammed:
1. Enter the FGA-002 boot software by simultaneously asserting the reset
and abort switch and then releasing the reset switch.
2. Initialize the FGA-002 and make the main memory available:
INIT
3. Check whether switch SW10-3 is set appropriately to enable writing to
the system flash memory: OFF = writing enabled.
4. Copy the VMEPROM binary image of the system flash into RAM:
BM FF000000,FF040000,0
5. Modify the code of the VMEPROM image in RAM.
6. Erase the page in system flash memory where VMEPROM is stored
(these are the first 256 Kbytes):
FERASE SYS_FLASH,0,40000
7. Reprogram the flash memory:
FPROG SYS_FLASH,0,0,40000
204077 June 1999; last documentation change with VMEPROM/32 Vers. 2.85
8. Reboot the system to test the changes.
Page 176
SYS68K/CPU-60