Downloading a Program to Flash Using the MAX7651 EVKIT Serial Downloader
Abstract: This is the 3rd part of a 3-part application example and supplements the MAX7651EVKIT User's Guide. It gives a step-by-step procedure for transferring compiled program HEX code to the MAX7651EVKIT target board using the serial downloader and HyperTerminal.
The MAX7651EVKIT can execute programs using 16Kb of internal Flash memory or external ROMs located in the ZIF (U2) socket or the PLCC (U6) socket. Programming the internal flash is accomplished using the serial downloader program loaded into the PLCC socket with a standard "dumb" terminal program. This example uses HyperTerminal included in Windows 95/98/2000/XP. Other terminal programs that allow direct communication with the serial RS232 port can also be used.
Note: This procedure has been tested for the MAX7651EVKIT. It has not been tested for the MAX7652, which is a 3V version of the MAX7651. Some modifications may be necessary. Please see MAX7651EVKIT user guide for more information.
Before getting started, make sure the power switch at the top of the EVKIT is set to the off position. Connect the EVKIT with the supplied RS232 cable to the DEBUG port (J7) to an unused COM port in a PC. Connect the 5V power cable to the MAX7651EVKIT.
Note: HyperTerminal may have conflicts with software that uses the serial port such as a PDA hotsync manager. Disable the Hotsync Manager before proceeding.
Select the serial downloader by switching S4 to the EXT ROM position and S5 to the PLCC ROM position. This will load the serial downloader program in ROM when theEVKIT powers up.
Start HyperTerminal in windows. It is normally located in the Start Menu/Programs/Accessories/Communication/Hyperterminal
Select COM port
Select the following Serial Port parameters
Turn on the power switch of the EVKIT. You should see the welcome screen.
Type "ERASE" to clear the contents of the internal flash.
Type "LOAD" to begin the download process.
Using HyperTerminal, go to the Transfer Menu and select Send Text File. Locate and select HEX file to begin downloading code.