13
©ETL 2004 M35080 EEPROM ERASER/Programmer User’s Guide 1 M35080 EEPROM ERASER/PROGRAMMER Rev. 2.1 M35080 EERPROM ERASER/PROGRAMMER User’s Guide

m35080 User's Guide

Embed Size (px)

Citation preview

Page 1: m35080 User's Guide

©ETL 2004 M35080 EEPROM ERASER/Programmer User’s Guide 1

M35080 EEPROM ERASER/PROGRAMMER Rev. 2.1

M35080 EERPROM ERASER/PROGRAMMER

User’s Guide

Page 2: m35080 User's Guide

©ETL 2004 M35080 EEPROM ERASER/Programmer User’s Guide 2

Table of contents

1. Introduction 3

2. Check list and requirements 3

3. Installing 3

4. Quick start 5

4.1 Read total EEPROM command button 5

4.2 Write EEPROM command button 6

4.3 Write Incremental Registers command button 6

4.4 Erase Incremental Registers command button 7

4.5 PC communication 7

4.5.1 Uploading a file from your PC 7

4.5.2 Downloading a file to your PC 7

4.6 LED’s meaning 8

5. In-Circuit Programming mode (ICP) 8

6. Dump Viewer 9

7. Troubleshooting; Error Messages 10

Appendix1 12 TABLE OF CONTENTS Appendix2 13

Page 3: m35080 User's Guide

©ETL 2004 M35080 EEPROM ERASER/Programmer User’s Guide 3

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 - A 32-bit x86 based with a free Serial port (Com1, 2) a hard-disk system. Memory - Minimum 16 Mbytes Display - Color VGA display recommended Power supply - A 12-14 volt/300 mA linear power supply source Tool - M35080 ERASER/Programmer board* Cable - An RS232C “straight-thru” cable* Adapters - four 8-pins SMD adapters* Software checklist OS - MS-Windows (Win95, Win98, Win2000, WinXP) Software tool - - ETL M35080 control software* * 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

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 IC’s (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

Page 4: m35080 User's Guide

©ETL 2004 M35080 EEPROM ERASER/Programmer User’s Guide 4

board. Don’t 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. Don’t 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 LED’s appear to the short time, than LED1 (Yellow) will now be

lit, telling that power is present and M35080 Programmer ready to operate.

Figure 1. M35080 ERASER/PROGRAMMER components

Target ICP header Power connectorTarget IC socket

Power SwitchRS232 port Master MCUJP1 Option jumperStorage IC

LED1

LED2

LED3

PIN1

Page 5: m35080 User's Guide

©ETL 2004 M35080 EEPROM ERASER/Programmer User’s Guide 5

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.

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

Load PC file to 24C08 IC

Save data 24C08 IC to PC file

Write Data to Memory Array

Write Data to Secure Array

Erase Data into Secure Array

Read total EEPROM memory

Select port number

PIN # 1

Page 6: m35080 User's Guide

©ETL 2004 M35080 EEPROM ERASER/Programmer User’s Guide 6

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: Don’t 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: Don’t 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”/ !!!

Page 7: m35080 User's Guide

©ETL 2004 M35080 EEPROM ERASER/Programmer User’s Guide 7

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: Don’t 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 ‘0’s, and hence the first 16 words at 0000h. The status register bits are initialized to ‘0’s, 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 LED’s 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 don’t 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 LED’s 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

Page 8: m35080 User's Guide

©ETL 2004 M35080 EEPROM ERASER/Programmer User’s Guide 8

4.6 LED’s meaning The M35080 board included 3 operation LED’s. See LED’s meaning tables with explanation. LED1 (Yellow color): Status LED Function LED Error LED Continuously lit:

The board is ready Middle flashing: Erase in progress

Very short flashing: Erase error****

LED2 (Red color): Communication LED Function LED Error LED Short pulse lit:

Receive data from PC Continuously lit: Write in progress Middle flashing: Write Incremental Registers in progress

Continuously lit: Command error****

LED3 (Green color): Communication LED Function LED Error LED Short pulse lit:

Transmit data to PC Continuously lit: Read in progress

Continuously lit: Command error ****

****Programmer don’t respond: Reason Solution Broken IC Insert known good M35080 IC Bad contact in Target IC socket Clean contacts in socket and response adapter Target IC incorrect insertion Set target IC according with 1 pin orientation Incorrect connection in ICP mode 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 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).

LED1 (Yellow color) LED2 (Red color) LED3 (Green color) All LED’s appear during short initialization time, then LED1 appear again continuously

1. Ground 2. Chip Select 3. Write Protect 4. Serial Data Output 5. Serial Clock 6. Serial Data Input 7. VCC /5V/

Page 9: m35080 User's Guide

©ETL 2004 M35080 EEPROM ERASER/Programmer User’s Guide 9

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 can’t 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. Don’t 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.

Page 10: m35080 User's Guide

©ETL 2004 M35080 EEPROM ERASER/Programmer User’s Guide 10

Figure 11. Dump viewer window

Click “Dump” menu item for return to main window interface.

7. Troubleshooting; Error messages Problem Reason Solution The LED1 is not on The DC cable not connected

Wrong polarity supply Wrong power supply source

Connect the DC power cable Check polarity wires Check DC voltage 12-14 V 500mA min

The LED1 is very short flashing Error during erase Incremental Registers area M35080 IC broken

Clean all contacts in target IC socket; Check ICP connection ; Replace M35080 IC to other new IC

The all LED’s appear Bad reset AT90S4414 IC broken

Turn Off then Turn On M35080 programmer board; Check power supply current; Replace AT90S4414 to other new /contact to ETL tech support/

The LED2 appear to long time Program don’t respond Turn Off then Turn On M35080 Programmer board; Restart M35080.exe

The LED3 appear to long time Program don’t respond Turn Off then Turn On M35080 Programmer board; Restart M35080.exe

The LED2 or LED3 flashing to long time

Program don’t respond Turn Off then Turn On M35080 Programmer board; Restart M35080.exe

Open File New File Save File

Swap Bytes

Return to main interface

Page 11: m35080 User's Guide

©ETL 2004 M35080 EEPROM ERASER/Programmer User’s Guide 11

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

Page 12: m35080 User's Guide

©ETL 2004 M35080 EEPROM ERASER/Programmer User’s Guide 12

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!!!

Page 13: m35080 User's Guide

©ETL 2004 M35080 EEPROM ERASER/Programmer User’s Guide 13

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.

Figure 16. M35080 autonomous erase mode

Unmount JP1 Power Switch