Published:2011/8/1 22:17:00 Author:Li xiao na From:SeekIC
By Andreas Oyrer
PC software
The software running on the PC is written in Delphi 7. The menu language can be set (under Setup, as shown in Figure 2) to English, French or German. This setting, along with all other settings, is stored in the registry and automatically recalled when the program is next run.
Also under Setup are options to control whether signature bytes are read, and whether the device memory contents are verified after programming.
The device type is set under the Device menu item (see Figure 3). There are two sub-menus available here: Socket (i.e., IC5) and ISP Connector (i.e., using connectors K2 and K3). Currently only the Socket option is available. The next choice is between Atmel MCU and serial EEPROM. Under Atmel MCU the available ranges of microcontrollers are 89Cx051, 89C5x, 89Sx and the two AVR microcontrollers, 90S1200 and 90S2313. Of course, functions such as lock bit and fuse bit programming are supported.
On 89C5x microcontrollers only lock bits 1 and 2 can be programmed, since there are not enough port pins avail-able on the TUSB3210 to allow programming of lock bit 3. None of the lock bits can be programmed on 89Sx-type microcontrollers. If a type 90S1200/90S2313 microcontroller is selected, then when configuring the second fuse bit two variants (the RCEN fuse bit and the FSTRT fuse bit) are displayed. If the microcontroller type is detected, the text changes to show the name of the fuse bit supported by the device in question.
If a serial EEPROM device is selected, there is in some cases more than one device type ending in the same digits (the digits correspond to the size of the memory). Devices in the 24AAxx and 24CxxC series with the same capacity differ, however, in their page size: this is the number of bytes that form one ’row’ in the memory that can be programmed in one cycle (approximately 2 ms). The bigger the page size, the quicker the overall programming operation.
All programming functions such as program, verify, erase, read, program EEPROM, read EEPROM, read fuse or lock bits and detect device are directly available either using buttons or under the Action menu (see Figure 4). If the microcontroller has been selected as autodetect, then it can be tested using Detect Device. This causes the signature bytes to be read from the device. The bytes are analyzed and information including the memory capacity, programming voltage and exact part number are displayed in the upper right-hand comer of the window under Device.
When an action is selected, the signature bytes are first automatically read out of the microcontroller before the action is carried out. The signature byte test can be disabled by deactivating the Read signature bytes option in the Setup menu. This might be necessary if a fault in the microcontroller makes it impossible to read out the signature bytes.
The Read action reads the entire memory contents out of the device. The number of bytes to be read is determined from the information in the signature bytes or by the digits at the end of the part number in the case of a serial EEPROM. If, in the case of a microcontroller, the signature byte has not been read, then the maximum possible memory size for a device in the selected series is used. For example, if the 89Cx051 series is selected, then 4 kbyte will be used, since this is the memory capacity of the biggest device in this series, the 89C4051.
Under the Buffer menu you can choose whether the data in the buffer can be altered using the hex editor (Buffer editable). You can also select whether data in the buffer is synchronized with the data in the previously-opened file before any write or verify action is started (Update buffer from file).
Reprinted Url Of This Article: http://www.seekic.com/blog/project_solutions/2011/08/01/Multi_Programmer__One_Size_Fits_All(3).html
Print this Page | Comments | Reading(797)
Author:Ecco Reading(32821)
Author:Ecco Reading(3526)
Author:Ecco Reading(3246)
Author:Ecco Reading(3801)
Author:Ecco Reading(5331)
Author:Ecco Reading(3315)
Author:Ecco Reading(3462)
Author:Ecco Reading(3604)
Author:Ecco Reading(4009)
Author:Ecco Reading(3807)
Author:Ecco Reading(3748)
Author:Ecco Reading(3780)
Author:Ecco Reading(6094)
Author:Ecco Reading(3764)
Author:Ecco Reading(4579)