Beruflich Dokumente
Kultur Dokumente
Rev. 2.1
ETL 2004
Table of contents 1. Introduction 2. Check list and requirements 3. Installing 4. Quick start 4.1 Read total EEPROM command button 4.2 Write EEPROM command button 4.3 Write Incremental Registers command button 4.4 Erase Incremental Registers command button 4.5 PC communication 4.5.1 Uploading a file from your PC 4.5.2 Downloading a file to your PC 4.6 LEDs meaning 5. In-Circuit Programming mode (ICP) 6. Dump Viewer 7. Troubleshooting; Error Messages Appendix1 TABLE OF CONTENTS Appendix2 3 3 3 5 5 6 6 7 7 7 7 8 8 9 10 12 13
ETL 2004
contents 1. Introduction
This manual will guide you through the installation of the M35080 eraser/programmer, referenced hereafter as the M35080 Programmer. The M35080 Programmer has been designed for on-board and ICP (in-circuit programming) modes via PC control operation for reading all EEPROM data, incremental area EEPROM writing, EEPROM writing, erasing data to delivery state of M35080 SPI EEPROM memory with incremental registers area.
3. Installing
The M35080 Programmer is designed to accept M35080 8 Kbit Serial SPI Bus EEPROM with Incremental Registers. M35080 Programmer support both 2,5 and 5,0 MHz Clock Rate ICs (See Appendix1). To understand M35080 Programmer components meaning see Figure 1. To install and use the M35080 Programmer, follow these steps: Install M35080 control software. Insert the supplied ETL CD-ROM in the computer and navigate to Install Software > Install M35080 Prog., then execute the Setup.exe file; this will guide you through the setup process.
NOTE: M35080 control software, version 2.0 or later is required new M35080 ICP interface 3
ETL 2004
board. Dont use version 2.0 to communicate old hardware (See Appendix1). Connect M35080 Programmer to the power supply source (12-14 V >=500 mA). Attach M35080 Programmer to computer. Use the 9-pin RS232C cable that is shipped with the M35080 Programmer. Before connecting M35080 Programmer in ICP mode or inserting target IC M35080, make sure that M35080 Programmer and the target board are not powered.
NOTE: Only one mode (on-board or ICP) should be used during operate at a time. Dont use at the same time programmer with inserted M35080 IC in the target socket and ICP mode. When you using ICP mode make sure, that target socket is empty. When you using target socket make sure that ICP interface not connected. Insert explored M35080 IC into target socket or connect ICP interface cable. M35080 control software can now be started. However, do not open control software and any files before connecting power supply to M35080 programmer. Turn ON power switch. All LEDs appear to the short time, than LED1 (Yellow) will now be lit, telling that power is present and M35080 Programmer ready to operate.
RS232 port
Storage IC
Master MCU
Power Switch
Target IC socket
Power connector
ETL 2004
4. Quick Start
Follow the procedure described below to configure M35080 Programmer: Execute M35080.exe file and start operation.
After start you should see M35080 window interface. Select Com port number to activate command buttons, then click Port_Number item on Menu bar.
Figure 2. M35080 window interface Solder M35080 IC on M35080P programming adapter according with 1-pin orientation and insert into target IC socket when using on-board mode. ICP mode operation see section 5.
PIN # 1
EEPROM data of the M35080 (address $0000 to $3FF) have been copied to the 24C08 storage memory.
Figure 6. Write Incremental Registers area operation NOTE: Dont forget to save previous data from the M35080 to the 24C08 storage memory. Click READ data first, than click EEPROM Dump - > PC file command buttons. For writing a lower value to the incremental registers in the M35080 you must erase the registers before Write Incremental Registers area operation /WRINC/ !!!
ETL 2004 M35080 EEPROM ERASER/Programmer Users Guide
NOTE: Dont forget to save previous data from the M35080 to the 24C08 storage memory. Click READ data first, than click EEPROM Dump - > PC file command buttons. *** The device is erased with the memory array in a fully erased state. With the exception of the first 32 bytes, all data bits are set to 1, and hence all data bytes are at FFh. The first 32 bytes set to all 0s, and hence the first 16 words at 0000h. The status register bits are initialized to 0s, except for bit 4, which is set to 1.
4.5 PC communication
4.5.1 Uploading a file from your PC (Writing data). Click EEPROM Dump < PC File command button and follow the program prompts. Select the input file. Wait until the busy window is present and LED2 slightly flashing. When the data has been written all LEDs appear during short initialization time, then LED1 appear again continuously will illuminate continuously. M35080 programmer is ready for its next operation. 4.5.2 Downloading a file to your PC (Saving data). Before click EEPROM Dump > PC File command button dont forget click READ command button first, making sure that data is copied from the M35080 into the 24C08 memory. Now click EEPROM Dump > PC File command button, follow the program prompts, enter a file name. Wait until the busy window is present and LED3 slightly flashing. When the data has been saved all LEDs appear during short initialization time, then LED1 appear again continuously will illuminate continuously. M35080 programmer is ready for its next operation.
1St step
>
2nd step
ETL 2004
LED1 (Yellow color) LED2 (Red color) LED3 (Green color) All LEDs appear during short initialization time, then LED1 appear again continuously ****Programmer dont respond: Reason Broken IC Bad contact in Target IC socket Target IC incorrect insertion Incorrect connection in ICP mode Solution Insert known good M35080 IC Clean contacts in socket and response adapter Set target IC according with 1 pin orientation Check that wires connected properly to target
1 2 3 4 5 6 7 Figure 9. ICP connector headers Check correct connection to explored board. Turn ON Power Switch. Follow instruction described in section 4 (Quick Start).
ETL 2004 M35080 EEPROM ERASER/Programmer Users Guide
The M35080 programmer send data to P2 connector via buffered interface (See Figure 10). Power supply voltage to target board feed from M35080 programmer board. Make sure that explored board has no over current problems. If you cant read/erase/write M35080 IC on target board and no way to locate the problem just remove IC from target board and use on-board programming mode. Use correspond programming adapter (See Figure 3 in section 4) NOTE: Only one mode (on-board or ICP) should be used during operate at a time. Dont use at the same time programmer with inserted M35080 IC in the target socket and ICP mode. When you using ICP mode make sure, that target socket is empty. When you using target socket make sure that ICP interface not connected.
6. Dump viewer
Click Dump menu item to enter dump viewer mode. Click Open menu item to review a dump contents. Memory address space display in HEX format only. Use scroll bar to navigate highest addresses. Click on cell byte to edit data into cell. When cell appear to red color enter new value into editor cell box, then press Enter on PC keyboard. Now edited cell appear to blue color.
ETL 2004
Swap Bytes
Figure 11. Dump viewer window Click Dump menu item for return to main window interface.
ETL 2004
Figure 12. Critical error messages windows Message ERROR, RESTART PROGRAM/Critical error; program must be terminated/ Reason: incorrect characters returned. This message appear with next errors: IC not inserted; incorrect ICP connection; error during command execution Solution: Insert IC into socket; check ICP connection; Turn Off and Turn On power switch and restart the M35080.exe. Restart your Operation System and try start the program again Message Communication Error/Critical error; further program running with errors/ Reason: incorrect characters returned. This message appear with next errors: receive/transmit error during executing commands Solution: Continue running program with errors; Turn Off and Turn On power switch and restart the M35080.exe Message Error Comm: Check Port Number/Cable/Turn On Power Supply/Critical error/ Reason: Power switch turned Off; Serial cable not connected; Port number incorrect; Solution: Turn On Power switch; Connect serial cable from PC to programmer board Message The Comm1 already open with another process, use other port/Non critical error/ Solution: Select Comm2 serial port Message The Comm2 already open with another process, use other port/Non critical error/ Solution: Select Comm1 serial port Message Port not available/Non critical error/ Solution: Select Comm1 or Comm2 serial port Message Port not open/Non critical error/ Solution: Close other process, close M35080 program and restart M35080 program Message Warning: uploading buffer size <> 1024 bytes!/Non critical error/ Solution: Load correct file size into dump viewer buffer
ETL 2004
11
APPENDIX 1
Figure 15. Rev2 (new) /left side/ and Rev1 (old) /right side/ M35080 hardware ATTENTION: Only version 2.0 or higher of M35080.exe control software must be use with newRev2 hardware. Only versions below 2.0 of M35080.exe control software must be used with old Rev1 hardware!!!
ETL 2004
12
During this operation the LED1 will flash until erasure is compete. Once the erase operation is completed the LED1 will illuminate in yellow with the following flash sequence: one long delay, 3 medium delays then continuous yellow lit. The M35080 is now reset to blank factory delivery state condition.
Unmount JP1 Power Switch
ETL 2004
13