Sie sind auf Seite 1von 13

M35080 EEPROM ERASER/PROGRAMMER

Rev. 2.1

M35080 EERPROM ERASER/PROGRAMMER Users Guide

ETL 2004

M35080 EEPROM ERASER/Programmer Users Guide

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

M35080 EEPROM ERASER/Programmer Users Guide

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.

2. Check list and Requirements


Hardware requirements Host Memory Display Power supply Tool Cable Adapters Software checklist OS Software tool * Package check list Contents: -M35080 eraser/ programmer board set included: - M35080 eraser/programmer board ** - 9-pin straight-thru cable ** - (4 pc.) 8 pins SMD adapters ** - CD (included control software) ** - This manual ** **NOTE: See M35080 ERASER/PROGRAMMER Package check list - MS-Windows (Win95, Win98, Win2000, WinXP) - ETL M35080 control software* - A 32-bit x86 based with a free Serial port (Com1, 2) a hard-disk system. - Minimum 16 Mbytes - Color VGA display recommended - A 12-14 volt/300 mA linear power supply source - M35080 ERASER/Programmer board* - An RS232C straight-thru cable* - four 8-pins SMD adapters*

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

M35080 EEPROM ERASER/Programmer Users Guide

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

JP1 Option jumper

Master MCU

Power Switch

LED3 LED2 LED1 PIN1

Target IC socket

Target ICP header

Power connector

Figure 1. M35080 ERASER/PROGRAMMER components

ETL 2004

M35080 EEPROM ERASER/Programmer Users Guide

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.

Select port number

Load PC file to 24C08 IC

Save data 24C08 IC to PC file

Erase Data into Secure Array

Write Data to Secure Array

Read total EEPROM memory

Write Data to Memory Array

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

Figure 3. Device orientation

4.1 Read Total EERPOM command button


Read operation will execute every time when user click READ command button. During this operation the LED 3 will illuminate continuously green until the incremental registers and
ETL 2004 M35080 EEPROM ERASER/Programmer Users Guide

EEPROM data of the M35080 (address $0000 to $3FF) have been copied to the 24C08 storage memory.

Figure 4. Read total EEPROM area operation

4.2 Write EEPROM command button


Write operation will execute every time when user click WRITE command button. During this operation the LED2 will illuminate continuously in red until the EEPROM contents taken form the 24C08 (address $0020 to $3FF) have been copied to the M35080 (address $0020 to $3FFF). 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.

Figure 5. Write EEPROM area operation

4.3 Write Incremental Registers command button


Write Incremental Registers operation will execute every time when user click WRINC command button. During this operation the LED2 will flash red until the EEPROM contents, taken from the 24C08 storage memory (address $0000 to $001F), have been copied to the incremental registers of the M35080 (address $0000 to $001F).

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

4.4 Erase Incremental Registers command button


Erase Incremental Registers operation will execute every time when user click ERASE command button. 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***.

Figure 7. Erase 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. *** 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

Figure 8. Save dump to PC file operations

ETL 2004

M35080 EEPROM ERASER/Programmer Users Guide

4.6 LEDs meaning


The M35080 board included 3 operation LEDs. See LEDs meaning tables with explanation. LED1 (Yellow color): Status LED Continuously lit: The board is ready Communication LED Short pulse lit: Receive data from PC Function LED Middle flashing: Erase in progress Function LED Continuously lit: Write in progress Middle flashing: Write Incremental Registers in progress Function LED Continuously lit: Read in progress Error LED Very short flashing: Erase error**** Error LED Continuously lit: Command error****

LED2 (Red color):

LED3 (Green color):

Communication LED Short pulse lit: Transmit data to PC

Error LED Continuously lit: Command error ****

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

5. In-Circuit Programming mode (ICP)


To enter ICP mode make sure that on-board target IC socket is empty and Power Switch turned OFF. Connect target board according with correct ICP header names. Set your power supply source over current protection according with pickup current limitation.
1. Ground 2. Chip Select 3. Write Protect 4. Serial Data Output 5. Serial Clock 6. Serial Data Input 7. VCC /5V/

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

Figure 10. M35080 on-board and ICP interfaces

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

M35080 EEPROM ERASER/Programmer Users Guide

Open File New File Save File

Return to main interface

Swap Bytes

Figure 11. Dump viewer window Click Dump menu item for return to main window interface.

7. Troubleshooting; Error messages


Problem The LED1 is not on Reason The DC cable not connected Wrong polarity supply Wrong power supply source Error during erase Incremental Registers area M35080 IC broken Bad reset AT90S4414 IC broken Solution Connect the DC power cable Check polarity wires Check DC voltage 12-14 V 500mA min Clean all contacts in target IC socket; Check ICP connection ; Replace M35080 IC to other new IC Turn Off then Turn On M35080 programmer board; Check power supply current; Replace AT90S4414 to other new /contact to ETL tech support/ Turn Off then Turn On M35080 Programmer board; Restart M35080.exe Turn Off then Turn On M35080 Programmer board; Restart M35080.exe Turn Off then Turn On M35080 Programmer board; Restart M35080.exe 10

The LED1 is very short flashing

The all LEDs appear

The LED2 appear to long time

Program dont respond

The LED3 appear to long time

Program dont respond

The LED2 or LED3 flashing to long time

Program dont respond

ETL 2004

M35080 EEPROM ERASER/Programmer Users Guide

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

M35080 EEPROM ERASER/Programmer Users Guide

11

APPENDIX 1

Figure 13. M35080 clock rate index

Figure 14. M35080 signal names

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

M35080 EEPROM ERASER/Programmer Users Guide

12

APPENDIX 2 Autonomous Erase Incremental Registers command execution:


Autonomous erase mode allows erase M35080 Incremental Registers area without PC connection. Follow next steps to enter autonomous erase mode: Insert explored into IC (M35080) Target IC socket (see Figure 1) Unmount (remove) JP1 Option jumper (see Figure 1, Figure 16) Turn ON Power Switch (see Figure 1, Figure16)

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

Figure 16. M35080 autonomous erase mode

ETL 2004

M35080 EEPROM ERASER/Programmer Users Guide

13

Das könnte Ihnen auch gefallen