Downloading a Program to Flash Using the MAX7651 EV Kit Serial Downloader

Mar 26 2004
Add to myAnalog

Add article to the Resources section of myAnalog, to an existing project or to a new project.

Create New Project

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.

Also See:


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.

  1. 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 the EVKIT powers up.
  2. Start HyperTerminal in windows. It is normally located in the Start Menu/Programs/Accessories/Communication/Hyperterminal

  3. Select COM port
  4. Select the following Serial Port parameters

  5. Turn on the power switch of the EVKIT. You should see the welcome screen.

  6. Type "ERASE" to clear the contents of the internal flash.
  7. Type "LOAD" to begin the download process.
  8. Using HyperTerminal, go to the Transfer Menu and select Send Text File. Locate and select HEX file to begin downloading code.

  9. Turn off the power to the EVKIT. (S8)
  10. Switch S4 to the INT Flash position.
  11. Turn on power and the program will execute.


Latest Media 20

Subtitle
Learn More
Add to myAnalog

Add article to the Resources section of myAnalog, to an existing project or to a new project.

Create New Project