FLASH BOOTLOADER This documents the use of the 128K flash bootloader option. This must be used with a Micropac 535 rev 2 or newer. It will only work with 32k of RAM; it will not work with 128K of RAM. The following jumper settings are required: JP2 o-o o a JP1 1 2 3 4 5 6 o-o o b o-o o-o o o 1 3 5 The flash bootloader program allows an Intel Hex file to be sent into flash memory through the CN1 serial port in 8-N-1 format at 9600 baud. Note that there is no hardware handshaking (e.g. RTS/CTS or XON/XOFF) implemented between the host and the bootstrap system. On reset the following is displayed on the terminal: | | BOOTLOADER VERSION 1.1 | | Press the space key within 2 seconds to allow upload. | | If the space key is not pressed, the application residing at 0:0000 will start, otherwise the following will be displayed: | | Enter the number of upload files (1 or 2) or any other key to exit upload mode. | | | NOTE: Attempting to upload a file will erase the program | regardless of whether the upload is successful. | If 1 is selected then the program will erase the memory range from 0:0000 to 0:ffff after displaying the following: | | Erasing firmware | .... | Send Hex file #1 At this point the program is ready for a hex file to be downloaded. The hex file should start at memory address 0000h. No offsets are necessary, unlike most bootloaders that load into RAM. If 2 had been selected as "the number of upload files" option, then after the first file had been successful downloaded, the program will erase the memory range from 1:4000 to 1:bfff after displaying the following: | | Erasing firmware | .. | Send Hex file #2