t56 - Tl866ii User Guide
t56 - Tl866ii User Guide
t56 - Tl866ii User Guide
com
1. Programmer Overview
1.1 Programmer hardware parameters
It is a professional programmer with high cost-effective, made by high-density SMD process, unified operation interface, easy to
use, complete function, reliable operation of application software program, super small code, faster execution speed, support multi-
language menu. Supported operating systems: WINXP/WIN7/WIN8/WIN10 operating system.
Note: Be sure to use the original USB cable, if you use HUB, it must be a high quality HUB
PIC32MZ 32-bit MCU 200MHZ + Xilinx SP6 FPGA structure, USB2.0 HS 480MHZ transmission
Volume: 12.9cm x 8.5cm x 2.9cm
56-pins powerful pins drivers IO design. Maximum operating frequency of 50MHZ for all pins, extremely high reliability.
Stable and reliable 8P in-circuit programmable ISP interface with wire length of more than 40CM, reliable communication
at 25-45MHZ.
The highest clock frequency can reach up to 40MHZ-50MHZ for 25 series/EMMC in-circuit programming.
VCC voltage 1.2-6.5V, 64 levels adjustable, VPP voltage 6.5-25V 64 levels adjustable.IO voltage 1.2V-3.6V continuously
adjustable. VCC 120MA-320MA multilevel over current protection continuously adjustable. VPP 120MA overcurrent
protection.
Power consumption: 5V <500MA. Static power consumption: 180mA , All chips do not need an external power supply.
Allow to use an external power supply 5V-5.5V 500MA.
The programmer has multiple protection for external power supply: over-voltage protection/reverse connection
protection/over-current protection/under-voltage prompt.
Maximum read-write speed can reach up to 25-45MB/s
Open self-test function, self-test on each pin of VPP/VCC/GND/IO
Suitable for developers and maintenance personnel, suitable for small batch production, support simultaneously working
with 4 Programmers on each computer
1
Xgpro Software User Guide –T56/TL866II www.XGECU.com
XGecu T56
26 27 28 29 37 39 49 50 series parallel ROM, EPROM, EEPROM, Paged EPROM, Flash Maximum capacity 2GBits.
24 25 35 45 85 93 95 Serial Series EEPROM, Support 25 FLASH chips: Maximum capacity 2GBits
Support NAND FLASH: Maximum capacity 256Gbits, NAND can be customized parameters to add new model chips.
Support SPI NAND: Maximum capacity 8Gbits
Support EMMC/EMCP: Maximum capacity 256GBits, EMMC/EMCP support one-button cloning, support ISP
programming
Microcontroller Series
GAL/CPLD programmable logic device programming
Support VGA tool and VGA ISP programming, Can output VGA/HDMI video test signal, read TV or monitor parameters,
and ISP in-circuit programming
Super performance 54/74F/LS/HC CMOS4000 series integrated circuit logic test, Can test common logic integrated
circuit, result can be located to the logic gate circuit, customizable logic vector table, can add new chips to support list.
Support more packages of DIP42/PLCC44/SOP44/QFP44/TSOP48 on base of TL866
Support TSOP56/BGA48/BGA63/BGA64/BGA100/BGA153/BGA162/BGA169/BGA221 etc.
TL866II Plus
26 27 28 29 37 39 49 50 Series Parallel ROM, EPROM, EEPROM, Paged EPROM, Flash Maximum capacity 64MBits.
24 25 35 45 85 93 95 Serial Series EEPROM. Support 25FLASH chips maximum capacity 512MBits
NAND FLASH TSOP48 chips support up to 8Gbits, NAND can be customized parameters to add new model chips.
Microcontroller Series
GAL programmable logic device programming
SRAM test, support common 24 61 62 DS12 series SRAM test, support data line test, address line test, memory cell
incremental test and cell test.
Super performance 54/74F/LS/HC CMOS4000 series integrated circuits logic test.
Can test common logic integrated circuits, test can be located to the logic gate circuit, can customize the logic vector
table.
2
Xgpro Software User Guide –T56/TL866II www.XGECU.com
2. Software Installation
2.1 Download and install the application software
Download the XgproVxxxx_setup.exe file from HTTP://www.xgecu.com, and double-click the file to enter the installation interface.
As follows: (The installation file contains the contents of this manual.) Click [Install] to start installing the application, and the
following screen will pop up: Enter the folder where you want to install. Click [Install] to start the installation of the application
Click [Install], after the file is installed to the hard disk. The USB driver installation dialog box is automatically performed. As below:
3
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Select [Auto Install Software], click [next] button, it will automatically install until the installation is successfully completed.
(Note: In this process, the driver will change the registry. If the firewall software is installed, please release this software. Windows
will also prompt the driver have no digital visa, confirm and continue the installation).
If the automatic installation is not successful, you can also choose to install in <from list or specified location>, USB driver files are
in the installation directory (D:\xgpro\drv). After installation, double-click the desktop icon and run the programmer
4
Xgpro Software User Guide –T56/TL866II www.XGECU.com
If there is an error during firmware refresh, it is often because the programmer cannot be reset during the refresh and the
programmer cannot do the refresh operation.
The reason of error:
It is usually caused by using an external USB hub. Please do not use an external HUB when refreshing. Please directly connect the
programmer to the USB port of your computer to refresh. If it still cannot solve your problem, please try to restart your computer or
do the refresh operation on another computer.
3. Quick Start
3.1 Hardware preparation and select the correct chip model
Firstly, please make sure the universal programmer application software and USB driver are correctly installed. Then connect
programmer to your PC by using USB cable. At this point, the “POW” power indicator of the programmer keeps on and the “RUN”
indicator goes off, that means the power connection is normal and you can go to the next step.
(If the RUN indicator blinks, that means the USB driver is installed incorrectly or don't install the USB device driver)
Note: Please be sure to use the original USB cable. If you use HUB, make sure it is the high quality HUB and the USB voltage
should not be lower than 4.90V. Low voltage is usually caused by using poor quality USB cable or HUB, that will make the
programmer work unstably.
As shown below:
1) Click the [Select IC] button, the select Device dialog box pops up.
2) In the search IC, type in the IC model (for example W29C020C)
3) Select the correct manufactory (if there are more than one)
5
Xgpro Software User Guide –T56/TL866II www.XGECU.com
4) Select the correct model. Note: @PLCC32 @TSOP32 refer to the IC package, none: dual-in-line package
5) Click [Select] button
6) Note: Show that the programmer is connected
6
Xgpro Software User Guide –T56/TL866II www.XGECU.com
7
Xgpro Software User Guide –T56/TL866II www.XGECU.com
4) According to the default settings, click [OK], at this time the file content has been loaded to the computer memory buffer.
8
Xgpro Software User Guide –T56/TL866II www.XGECU.com
5) Click [PROG] button, the chip programming dialog box pops up.
6) Click [Program] to get started to program the chip. If no error message appears, that means the programming succeeded.
Note: If you need to program more chips, replace the new chip and click [Program] button again to begin a new programming.When
programming in batch, you can press [space bar] instead of mouse click.
9
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Load file:
Loads a hex file or a binary file into the specified buffer, the GAL chip loads the file in JED format.
Save file:
Save the current buffer to HEX file in hex format or BIN file in binary format. For GAL chips, should be saved to JED
format file.
Note: For MICROCHIP microcontrollers, when loading HEX files, the HEX files generated by the MICROCHIP IDE
development environment are loaded into all buffers. When saving, all buffers can be saved to the HEX file, and it is fully
compatible with MICROCHIP IDE development environment.
Save and open for Bin file, the default is Flash Memory + EEPROM Memory (if present)
For MICROCHIP microcontroller, Bin saved configuration information (arranged by Microchip address)
Can use shortcut keys or right-click in the buffer to invoke the menu functions.
To get more details on Edit Function-->Edit Buffer
10
Xgpro Software User Guide –T56/TL866II www.XGECU.com
4.3 Select IC
The menu is shown below:
11
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Save Project
After setting the required parameters of the chip in the application, select [Project] - [Save-Project], that is, a project is created.
And the project information is displayed in the information area of the window. Click [Save Project], type in the project name and
click OK, then the following project dialog box pops up.
1) Password can be empty, that means the current project is not set with password protection.
2) If the project is set to protection mode, the password must be input. When the option "Protected" is checked, the relevant data
of the project will not be changed. Some functions of the programmer are disabled.
12
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Open project
Open a current project, select [Project] - [Open Project], select the project name in the window and click OK. If the project has been
set password, the following dialog box will pop up. (If no password is set, the project will be opened directly)
Save project As
Save the current project as another project name. Refer to the operation of [Save Project].
Close Project
Close the current project. Switch to normal programming mode, close project and clear data in the current buffer.
Project Attrib.
Select [Project] - [Project Attrib] to bring up the project attribute dialog box. The project attribute dialog box can change the project
description and project protection mode. You need to input the project password when saving.
Modify Password
Reset project password
Tips:
1) Accurate engineering descriptions can distinguish from a large number of projects. Engineering models are generally
used for mass production.
2) The project file has been encrypted to a certain extent, so the project password can be protected to prevent the project
file from being copied. To a certain extent, it can protect the data.
3) When saving or opening project files, all contain 32-bit CRC check information, which avoid corrupting storage files or
other uncertainties.
13
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Calculator
This is a calculator that comes with Windows system and it is convenient for calculating various formats when switching to scientific
mode.
Note: Before self-checking, please remove the IC and ICSP connecting wires on the ZIF socket, the programmer will apply VPP,
VCC, GND to all pins for testing in self check. And test the internal short-circuit over current (apply VPP VCC and GND on each pin
at the same time). If the IC is on the ZIF socket, may damage the IC. After the test is completed, the test condition of each power
supply is displayed in the dialog box.
14
Xgpro Software User Guide –T56/TL866II www.XGECU.com
self-check on TL866II Plus
self-check on T56
15
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Reflash firmware
Reflash the firmware of the programmer hardware. The application is upgraded to a new version.
If the program in FLASH needs to be upgraded and reflashed, the application will prompt for a firmware reflash. If no refresh is
needed, the reflash function is disabled.
Click <Reflash> button to start, the total reflashing time is about 15 seconds. Click <Cancel> to quit reflashing.
Note:
1. Please do not use an external USB hub when reflashing. Please directly connect the programmer to the USB port of your
computer. Using an external hub may not allow the reset upgrade.
2. Close other programs and make sure the power supply of computer is reliable!
16
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Define Block
The second way is: in the main menu, click [File] button to select [Define Block], or directly press the shortcut key "CTRL + B" to
bring up the following dialog box, type in the start address and end address, and press OK to complete the "Define Block".
“Fill block” is to replace all the data of a continuous address in the program code buffer with a fixed value. Right mouse click to
bring up [right click menu], and select [Fill Block], the following dialog box pops up:
A. Buffer Region, the default value is the buffer displayed in the current window.
B. The start address and end address of the block to be filled. The default value is from the start to the end of the defined
data block if a block is defined. If no block is defined, it is the full region of the current buffer.
C. Fill value, the maximum allowed is 4 bytes. If the fill format is random, the value is irrelevant.
D. Filling format, default format: If the chip is programmed by 8-bit mode, the default is single-byte mode. If the chip is
programmed by 16-bit mode, it is double-byte mode, you can change the filling format you want.
Copy
After defining block, right mouse click to bring up [right click menu] and select [Copy], then the content of the block has been copied
to the clipboard of WINDOWS. You can also directly press shortcut key "CTRL+C" to finish copying.
Copy data from area A to area B as below:
Note: In order to enhance the speed of pasting, the data format of clipboard is a special binary format for this programmer. So other
WINDOW applications cannot directly use the data copied to the clipboard by this program. If you want to copy the data block to
other applications, please use the [Block Save As] TXT file function.
Block Save As
You can output the defined data block as a TXT text file, that is convenient for designers to apply when programming. The text
format is automatically arranged in 16-bit or 8-bit way. Operation method: After defining block, click the right mouse button to bring
up the [right click menu] and select [Save Block As].
Clear Buffer
18
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Clear Current Buffer: clear the buffer displayed in the current window of the application.
Clear all buffers: clear all buffers of the chip with default values.
Find, Find Next
Function: Find the HEX or ASCII string in the current buffer.
Operation: Press shortcut key “CTRL+F” or click the [Find] in the right-click menu, the following dialog box pops up:
Type in the HEX value or ASCII string you want to find, and finally click the "Find" button in the dialog box. When there is a
matching hexadecimal data or string in the program code buffer, the cursor will be located to the address of the first matching
content and press F3 to continue finding the next one until the buffer is completely searched.
Goto address
Function: Move the cursor to the address specified in the current buffer.
Operation: Press shortcut key "CTRL+G", or press the right mouse button to bring up the menu and select [Goto], then the
following dialog box pops up:
Type in the address, click OK button and the cursor will move to the address.
4.8 Options
Options of programming setting are shown below. You can set the options
Use default setting for mass production , don't need to modify.
19
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Pin Detect
Before operating, the software automatically checks if the chip pins are in good contact. It can avoid programming or reading errors
caused by poor pin contact in most cases.
For very few chips, the pin detect may fail. You can temporarily uncheck this option "Pin Detect" while ensuring that the pin contact
is good. In that case, no pin detection will be performed before reading or writing.
Skip Blank
The write operation will be skipped for FF data blocks, that can greatly improve the programming efficiency. When this option is
checked, the verify operation will also be skipped.
Check ID
Many chips have an internal identification mark, the content of which is generally composed of two or more bytes: generally, the
first byte is the Manufacture ID, followed by the chip type or chip capacity. Different chips have different IDs, this option can prevent
incorrect chips put on. This option is to check the chip ID before reading or writing. If it is correct, continue; if incorrect, stop. This
function is optional. The option is enabled by default.
For chips of the same type, they have different manufacturers, but may be programmed in the same way. Therefore, for chips
that are not in the support list, you can select other manufacturers of similar model chips with the same capacity for
programming. Because the ID is different, before programming, just uncheck this option [Check ID]).
Address range
You can set the address range of the programming chip, that can improve the efficiency when mass production.
Blank Check (before programming)
Except for the 27 series UVROM, generally it is not necessary to check this option.
Auto SN_N
Refer to section 4.10.7 Setting the Serials number
4.9 Select IC
20
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Click <Select IC> button in the upper left corner of the software interface
When selecting, the package of chip must be right. Sometimes, different packages of chips have different pin definitions. For the
same type of IC, (none Package is DIP package chips.)
if the specific package is not listed, just check the IC data sheet and directly connect the corresponding pins to program.
First of all, set the [Read Range], which includes [FLASH] [EEPROM] [Config.] [LOCK Bit]. do reading operation on the entire
chip. Click [Read] button to start reading the data of chip, note: if the chip is encrypted, the read data is invalid.
21
Xgpro Software User Guide –T56/TL866II www.XGECU.com
(for ATMEGA, [LOCK Bit bytes] in config, the datas are readable whether be encrypted or not.) After reading, the reading time
of the individual buffers is displayed in the information list box.
Note: generally, the read operation will not report an error. If you want to verify whether the read data is correct, you can use the
[Verify] function. Please see the verification instruction for more details. The chip ID value will be checked by default before
operation.
Program
Load the data file to program chip
Click [PROG.] button in the toolbar, the chip program dialog box pops up as below:
Take W29C020 as an example,
Normal programming is shown below:
For most of the chips, the programmer will automatically verify during the programming process. Will stop immediately if
an error is found.
If the option [Auto SN_N] is checked, the chip number in the buffer will be automatically incremented according to the
setting after programming.
To ensure the correctness of programming data, it is advisable to check the option [Verify after].
Erase
For the electrically erasable chip, click [Erase] button in the toolbar to bring up the following dialog box:
22
Xgpro Software User Guide –T56/TL866II www.XGECU.com
The option [Check ID] is checked by default. For few parts of microcontrollers, some chips while it be encrypted and the ID cannot
be read out. In that case, please uncheck the option [Check ID], otherwise ID Error will be displayed. Click [Erase] button in the
dialog box, after the erase succeeded, the erasing time is displayed.
Blank Check
Click [Check Blank] button in the dialog box to start the check blank operation. When it is finished, the elapsed time is displayed.
You can select the region of the chip before checking, all region is by default. If the chip is found to be non-empty during the blank
check, will stop operation and the address and stored value of the non-empty area will be displayed.
Verify
You can select the region of the chip before verifying, all region is by default. Click [Verify] button in the dialog box to start the
operation. If all the data are the same, the elapsed time is displayed when verify finished.
If the chip datas are found to be different during verifying, the following dialog box will pop up:
Click [Continue]: The same dialog box will pop up again if there are still differences.
Click [Verify to all]: It will compare all the contents of the chip, and prompt will pop up if differences are found during the comparison
process, until it is finished. It will prompt how many differences and show the different cells in red font in the buffer (except NAND) ,
as shown below:
Click [BACK]: It will exit directly without the later verifying.
23
Xgpro Software User Guide –T56/TL866II www.XGECU.com
IC Config.
The value of the config information in the red circle corresponds to the config interface: click on the config interface, the value in
the config information will change automatically. The config information varies from chip to chip, so please check the chip's data
sheet at first, and configure IC correctly according to your specific needs.IC config, need to understand the role of each bit in the
configuration bits
24
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Serials number
The chip number setting function is to automatically add a number to a certain memory area of the chip during programming, that
can easily program the chip at the factory. You can add time or unique serial numbers and so on, also can use a variety of
numbering algorithms. Click <Device>--<Serials Number> in main menu to bring up the following dialog box:
Firstly, select the automatic numbering algorithm, there are four modes in the dialog box. And then introduce the every mode
separately as below:
25
Xgpro Software User Guide –T56/TL866II www.XGECU.com
There are four types of time encoding formats, which are as below:
(1) Date + time Total length of number: 16bytes
The date and time are added at the specified location during programming, the total length is 16bytes.
(2) Date + 5 bytes increment Total length of number: 16 bytes
The increment part can set the initial value and step length.
(3) Date + time + 8 bytes increment Total number length: 24 bytes
The increment part can set the initial value and step length.
(4) Date + time + 16 bytes of random numbering Total length of numbering: 32 bytes
16 bytes are randomly generated bytes, which can generate a unique serial number of product. In this way, the record file must be
set so that the generated code is recorded in the file. Otherwise, you don't know what the product number is.
The next steps are the same as above <Default Incremental Algorithm>
26
Xgpro Software User Guide –T56/TL866II www.XGECU.com
The RC correction byte encryption method for AVR microcontrollers is implemented entirely by calling the DLL dynamic library here.
... \\TAMEGA_LED directory contains all the source programs and test methods. After making the DLL file, you just need to copy it
to the application directory of ... \\Serialnumber subdirectory. When setting, choose the algorithm file you made in the user algorithm
file list. The following steps are the same as the other algorithms.
Important Notes:
1) After setting the above content, the programmer will not automatically add the number you set to the chip when
programming. If need to automatically add the number, you must check the option [Auto SN_N] in the main interface.
2) In the main interface, the condition that you can check the option [Auto SN_N] is that you must firstly set the numbering
algorithm and check the option [Enable Auto.SN] in the set auto serials dialog box.
3) After checking the option [Auto SN_N] in the main interface, if you reset the numbering algorithm, the option [Auto SN_N]
must be re-checked in the main interface.
4) If IC model is changed, you must reset the numbering algorithm.
5) In the engineering mode, the algorithm is saved in the project file. You can directly open the project file and automatically
transfer to the automatic numbering algorithm. Therefore, it is generally used in the project mode for mass production, it is simple
and convenient.
27
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Next, Read, Erase, Verify, and Program operations will work through the ICSP port. For TL866II, please don't put the chip on the
40PIN universal ZIF socket during operation. The universal ZIF socket of T56 is independent of the ISP port.
Click [Read] button in the toolbar, the following dialog box pops up as below (Please note: the dialog box for read, erase, verify and
other operations is the same as write operation):
On the right side, the ICSP port wiring schematic is displayed. For more details, you can click [View ICSP Connection] button.
28
Xgpro Software User Guide –T56/TL866II www.XGECU.com
The software support simultaneously working with 4 Programmers on each computer. For USB expansion, please use a high-
quality USB hub with power supply. Multi programming interface is as below. The automatic numbering function can be used
normally when multi programming.
You can use the shortcut keys [Z] [X] [C] [V] to start the corresponding programmer when multi programming.
There are four methods of RAM testing. Through these four methods, you can basically test whether the RAM cell function is
normal. General programmer can only read and write the RAM cell and cannot test whether the RAM is good or bad.
29
Xgpro Software User Guide –T56/TL866II www.XGECU.com
For example, if two adjacent address lines are short-circuited, it is impossible to check out the problem by simply reading and
writing data from the RAM cell. So only one way to test is not a complete test. Plug chip and click [Testing] button to test RAM.
5. EMMC/EMCP programming
Only T56 can support EMMC EMCP, TL866II cannot support this function.
eMMC (Embedded Multi Media Card) is a standard specification for embedded memory developed by the MMC Association,
primarily for products such as cell phones or tablet computers. By integrating a controller into the package, providing a standard
interface and managing flash memory, eMMC allows handset manufacturers to focus on other parts of product development and
shorten the time to market.
EMCP is a higher-level memory device than EMMC, which combines EMMC and LPDDR into one package, reducing the volume
and design for circuit connection.
EMMC/EMCP are available in various BGA packages, general: BGA153/BGA169/BGA162/BGA221/BGA100/BGA254/BGA529
T56 programmer can support them all well.
30
Xgpro Software User Guide –T56/TL866II www.XGECU.com
area, otherwise it cannot access.
ECSD and CSD are configuration registers. The various configurable parameters of EMMC are set in [Device config ].
Great part of the registers in ECSD and CSD are read-only registers.
CID is identification mark of the chip at the factory, which can only be read and cannot be modified.
Read/Program function
All functions can be done with one key
Read CID/CSD/ECSD.
Clear temporary write protection before programming
Clear temporary write protection group before programming
Erase chip before programming
Blank check before programming
Program 32-bit authentication key
Check the chip password
New partitioning of the chip (partition Config)
Read and write to BOOT1
Read and write to BOOT2
Read and write to RPMB
Read and write to GPP1
Read and write to GPP2
Read and write to GPP3
Read and write to GPP4
Read and write on user data (User)
Setting temporary write protection group
Setting permanent write protection group
Setting chip password (or reset password)
Program ECSD
Program CSD
Automatic verification of all the above operations after programming
31
Xgpro Software User Guide –T56/TL866II www.XGECU.com
ISP can also use 4-bit wide mode, operation speed increased to 4X faster
See details on Section 5.9 ISP in-circuit programming example.
EMMC ONE-KEY-GHOST
When reading EMMC, the one-key-ghost project can be automatically generated to realize the one-key copying of the
original chip content to the new chip. See details on section 5.8 one-key-ghost example.
The working frequency and working voltage of EMMC can be adjusted manually.
Data in the user area can be read and written in blocks and multiple files
If there is a password protection when deleting, perform forced erase
Password can use ordinary password or SHA1 encrypted password
The value of ECSD/CSD can be imported from the ECSD_CSD file or manually set by the user
Data CRC error can be ignored during read operation
Optional automatic verification after the reading operation is completed.
There are high-definition pin diagrams and ISP wiring diagrams in the device information. The pin check and locate the
BGA pin.
EMMC has real-time accurate rate display during read and write operations, and the final total time
32
Xgpro Software User Guide –T56/TL866II www.XGECU.com
ISP_1Bit: 1bit of data bus width is used when programming through ISP.
Select AUTO_EMMC
When IC model cannot be found in the list, you can type in "AUTO EMMC" to select the corresponding package as below:
If you program with adapter, select IC of the corresponding package, such as BGA153:
There are 6 options under BGA153, usually choose the first 8B_1.8V, which represents 8-bit of data bus width is used, IO
voltage is 1.8V.
If you in-circuit program via ISP, usually choose ISP_1B_1.8V (in general, the motherboard IO voltage is 1.8V). If the
motherboard IO voltage is 3.3V, choose ISP_1B_3.3V.
If choose 1.8V, cannot be programmed normally on motherboard, you can try to change to 3.3V for testing.
33
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Select the IC power voltage, a great part of the chip works at VCC=3.3V/VCCQ=1.8V, with extremely high stability.
EMMC fine adjust voltage
If the reading is unstable, can fine-tuning the voltage. It is possible to get a better stable effect. Users can do various
tastings of voltage fine-tuning.
Ignore data bus CRC errors when reading
CRC verify error will be ignored when reading, this option is not recommended.
Skip of blank data when programming
during the verifying or programming, the blank data is skipped in order to increase the programming speed.
Read, Program, Erase options
Select the chip area to read or programmiing. If an item is not selected, no operation will be performed for this item.
The key option RPMB: when programming RPMB, the option [RPMB Authentication Key Operation] must be checked and the
correct 32 bytes authentication key must be loaded in the file menu before programming. After the authentication key is written, the
chip will use this authentication key permanently and cannot be rewritten with a new authentication key.
The erase and blank check operations performed before programming, generally do not need to be changed, just use the default
settings. If the chip is new while mass production, the erase can also be unchecked.
34
Xgpro Software User Guide –T56/TL866II www.XGECU.com
35
Xgpro Software User Guide –T56/TL866II www.XGECU.com
EMMC can use password protection, that only protects the USER Area, BOOTx/GPPx/RPMB partition, cannot be protected by
password.
T56 can set normal password and SHA1 password, please refer to EMMC standard document for details.
ECSD Setting
[ECSD CSD values are loaded from the file when programming] button
When checked, all fields of ECSD and CSD are loaded from the file and the set values in the interface are invalid.
set fields by user while unchecked.
36
Xgpro Software User Guide –T56/TL866II www.XGECU.com
All ECSD register fields options, only when checked, the chip will be programmed and verified. Unchecked registers will not
be programmed and verified.
The first major option [PARTITION SETTING COMPELTED 155], when checked, the value must be 01, and it’s subparts must
be all checked, and the subparts must meet the EMMC standard, otherwise they cannot be written. This major option is to set
the EMMC partition and partition attributes, the chip is not allowed to repeatedly set the partition size and attributes.
All registers marked with OTP are written at once, so please set them carefully
When [USE_NATIVE_SECTOR 62] button is checked, the value must be 01, otherwise it is the error.
All other registers can be checked, or only the non-00 registers be checked
Note: The above options will be checked automatically when the original chip is read with the one- key-ghost project is
generated automatically.
CSD Setting
If any option in CSD is non-zero, check the option [CSD programming] in EMMC Operation Options (2.Reading/
Erasing/ Programming Options)
When auto-generating one-key-ghost project, the software will check the all ECSD/CSD options automatically.
Write Protect Groups ( WPG)
Write Protect is for the part of chip data, the protection type and protection group are set according to the user's requirements.
While Analysis of the original chip function: you can check which groups of the original chip was protection set. If you need to
set the same write protection group as the original chip, please type in manually.
When the ECSD file has been loaded, you can check the specific address corresponding to the write protection group.
37
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Analysis of the original chip is carried out at a lower clock frequency of 8MHZ. You can test whether the connection is
normal: If not, try to change the working voltage, or fine-tune the working voltage or select a different bus width for
several tests. In that way, for the chips with unstable performance, may be you can get the correct result.
Connect the adapter or ISP, click button【Analysis IC】
Click button [SAVE LOG] to save the analysis result
From the result, you can get the use condition of the chip
Display information about the IC's manufacturing
Visually display IC use condition of up to 8 partitions
On each partition display whether it is write-protected, readable, rewritable or erasable
Display whether the entire chip is temporarily write-protected or permanently write-protected
Display if the IC is password protected
Display whether the IC uses 32-bit authentication key to write for RPMB.
Display other important parameters of ECSD CSD CID
38
Xgpro Software User Guide –T56/TL866II www.XGECU.com
39
Xgpro Software User Guide –T56/TL866II www.XGECU.com
4GB IC, the total time to "Read + Verify" is 4 minutes 28 seconds, this is a more typical time for actual operation for your
reference. Generally, the IC of more larger capacity will get the faster reading and writting speed.
After reading is finished, an EMMC_GHOST.mpj project file is automatically generated as shown above, just open this
project when programming.
After reading, the contents of the folder are as below: at least 5 files will be generated, one of which is a one-key-ghost project
file. If IC uses RPMB or GPPx, there will be more files.
Note: Before reading, it will check the remaining capacity of the disk, if the capacity is not enough, select the data folder
in the operation options and save it to another disk
40
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Just open the project file [EMMC_GHOST.mpj] previously read and copy it with one key.
41
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Programming process as shown above, "Program + Verify" total time of 0 minutes and 48 seconds, it is faster than reading,
because the blank data was skipped when programming.
The new chip copy is completed.
When programming the project, the capacity of the BOOT, RPMB, and USER partitions of the original chip will be compared
with that of the programmed chip. If the capacity of the new chip in any one partition is smaller than the original chip, will stop
programming.
When programming the project, the EMMC version of the original chip and the new chip will be compared. If the version of the
new chip is lower than that of the original chip, the programming will be stopped.
For projects that need to program RPMB partitions, the correct 32-byte authentication key is required. The user can load the
authentication key in the File menu after opening the project, and save the project after loading. This authentication key will be
used as the new authentication key when programming the RPMB. (Authentication key can also be loaded before reading.
Save to project file when saving a project automatically with key.)
If the authentication key is not loaded, when programming, the all-blank data 0xFF will be used as the authentication key.
Important Note: authentication key, one chip is only allowed to be programmed once, it cannot be read and cannot be erased.
If the authentication key is lost, the RPMB data will be permanently immutable. For specific devices, incorrect authentication
key will not pass.
If new chip’s RPMB has been used when programming, but there is no authentication key, it will prompt key error. At this time,
42
Xgpro Software User Guide –T56/TL866II www.XGECU.com
the RPMB data cannot be programmed. If you have correct authentication key , the RPMB can be programmed normally.
EMMC in-circuit programming is an important and convenient application in the home appliance repair industry. T56 programmer
through ISP programming, the rate reached to 40Mb / S (single line transmission measured: 4.7M bytes / second), ISP cable length
up to 40CM, that is extremely high stability and high speed. For common TV motherboard 4GB IC, the read time is only about 800
seconds.
Note: working frequency setting is 36MHZ by default. Via ISP, it can be set to 40MHZ in most of cases.
In general, 1bits only need to connect GND / CLK / CMD / D0 to the motherboard, then power the motherboard.
Notes:
ISP has two grounds, both grounds need to be connected, and the ground point should be as close to the CLK line as
possible.
CLK line and the two GND lines do not separate, and CLK line should not cross with other lines, CLK line generally has a
series of resistors R, you had better remove it.
Both ends of the crystal of the MCU in PCB, connected to ground, stop the MCU from working.
Connect the lines, power up the motherboard and check if the RST_n pin of the EMMC is high. If the RST_n voltage is 0, you
need to pull up the pin, otherwise EMMC will not work. You had better connect 1K resistor to VCCQ (1.8V or 3.3V). This pin is
the reset pin of EMMC.
When power is supplied through external power supply, the computer and the external power supply's casing are must be
reliably connected to the earth (anti-static interference)
Note: When the ISP is powered by programmer and ISP_3.3V is checked, the VCC and VCCQ pins of programmer will be
powered at 3.3V. When ISP_1.8V is checked, the programmer is only for VCC 3.3V, VCCQ high resistance state, VCCQ 1.8V
needs external power supply.
43
Xgpro Software User Guide –T56/TL866II www.XGECU.com
EMMC BGA153/169 IC PINS:
The following photo shows the wiring example of the MSD6A638-T8F1 TV board:
44
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Select IC and Analysis IC
45
Xgpro Software User Guide –T56/TL866II www.XGECU.com
The reading process is shown in the figure above, the stable reading speed is 4.7MB/s at 40MHZ operating frequency. Reading
speed is 4.1MB/s at 36MHZ, if there is the error, frequency can be properly reduced.
The total time for "Read + Verify" the 4G IC is less than 900 seconds. The verification time is particularly short because the
IC takes up very little space.
Also saved one-key ghost project file, only need to open the project file when copying, the specific method is the same as in
section 5.8.
ISP program IC
*Select IC AUTO_EMMC(ISP)_1B_1.8V
*Open the one-key clone project file read
Under normal condition, open the project file and program all the data read from EMMC to finish the copy with one key.
If you don't need to program all the data, please uncheck the option that you don't need to write.
Another method: After selecting IC, do not use the project file, just select the data folder. Check the area to be
programmed in the operation options, that is completely set by user
Click [PROG.] button in the toolbar to start programming IC
Open Project
46
Xgpro Software User Guide –T56/TL866II www.XGECU.com
[END of EMMC]
47
Xgpro Software User Guide –T56/TL866II www.XGECU.com
6. NAND/SPI_NAND Programming
T56 supports up to 256G bits NAND flash, supports BGA and TSOP packages and SPI NAND
TL866II only supports TSOP48 chips with less than 8G bits (1G bytes) capacity
48
Xgpro Software User Guide –T56/TL866II www.XGECU.com
49
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Prog. Speed: if an error occurs during reading or programming, please try to select "Low Speed".
50
Xgpro Software User Guide –T56/TL866II www.XGECU.com
File name/ Path/ Partition Assigned
51
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Due to the special nature of NAND FLASH, the data file is whether it includes the spare data.
If not included: the file will not include the spare area data
52
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Bad Block
Bad Block
53
Xgpro Software User Guide –T56/TL866II www.XGECU.com
After the above settings, you can start programming. The results of the operation are shown in Table 1-2.
If the length of the buffer file is not enough, the programming is terminated.
If the buffer file length exceeds the length of the BLOCK (Total 15 blocks) data to be written, the programming is terminated.
The configuration interface is shown as below:
File Start
2112x64 bytes 0# Block
2112 x64 bytes 1#…..6# block
*6 blocks Partition 1
Skipped
2112 x64 bytes 7# Bad Block skipped
2112 x64 bytes 8# block
2112 x64 bytes 9#
2112 x64 bytes 10# 10 blocks end
2112 x64 bytes …….
Partition 2
2112 x64 bytes
2112 x64 bytes 1000# Block 2th Partition start
2112 x64 bytes 1001#
1002#
1003#
1004# Bab Block Skipped
1005#
Notes:
In this configuration example, when reading or verifying, it is also done by partition
1. Read 10 Blocks of partition 1 and save it to the file
2. Read 5 Blocks of partition 2 and save them to the file
3. Read finish.
By setting partitions flexibly, you can individually read or write data of one or more blocks.
54
Xgpro Software User Guide –T56/TL866II www.XGECU.com
55
Xgpro Software User Guide –T56/TL866II www.XGECU.com
File (512+16)x32bytes NAND Flash
56
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Default settings: hard copy, single file mode all data, Includes Spare Area (OOB)
57
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Read the original chip and save
Click [Read] button in the toolbar to start reading the chip, as follows:
Exit the Read dialog box, Click [Save] button in the toolbar to save flash to a new file
58
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Notes:
1. It is possible that the speed of programming the chip is faster than reading, because the software automatically skips the
content of the empty data during programming.
2. In the process of reading, erasing, or programming, if chip has bad blocks, the tip will appear, but it does not affect the
programming of the chip.
3. It is not necessary to check the bad block before copying. As long as the verifying is correct and there is no error when
programming, the new copied chip will be available. If there is a bad block in the new chip, the software will skip writing if the
bad block is empty data when copying. If the new chip has a bad block, and the original chip has data to be written to the
location of this bad block, the data can’t be written into this bad block, the programming error will occur. Please replace with
another new chip, (the location of the new chip bad block is generally random).
4. Repairers usually do not know how to deal with bad blocks, so only copy directly with hard copy mode.
59
Xgpro Software User Guide –T56/TL866II www.XGECU.com
60
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Connection photo via ISP:
GND -->VGA 10# or VGA shell / SDA -->VGA 12# / CLK -->VGA 15#
Auto-identify Chip
Click [AUTO] button, the dialog box will pop up, select VGA _HDMI_ISP port.
Click [Detect] button to automatically find the chip model and select the chip
61
Xgpro Software User Guide –T56/TL866II www.XGECU.com
In-circuit Read chip data
Click [Read] button, the read dialog box pops up, click [Read]
When reading, it will automatically find the motherboard communication port and protocol to enter SPI mode.
Read time 137 seconds, click [Back], please [Save] the data
62
Xgpro Software User Guide –T56/TL866II www.XGECU.com
After loading the file, click [PROG.] in the toolbar to bring up the programming dialog box. Click [Program] to start programming, as
shown in the following figure:
After selecting, you can read, modify, program and verify the EDID.
The operation method is exactly the same as ordinary FLASH chips, so not describe here.
63
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Connect the TV board, click the icon in the upper right corner
Click the [Serial Print] button and T56 will get started to receive power-on diagnostic information from the TV board.
Turn on the TV power switch. The power-on information will be displayed on the screen, you can click [Save Log] to save.
The line sequence is auto found by default, do not need to select it manually.
Baud rate is 115200bps by default, please switch the baud rate if there is a messy code, as follows:
Show as follow:
64
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Click the icon in the upper right corner of the window, click [Video Signal Start] button, various kinds of VGA or HDMI
signal will be out.
65
Xgpro Software User Guide –T56/TL866II www.XGECU.com
8. Automatic Identification
The automatic-identificatiom is for the SPI 25 series flash. Realize fast selection of 25 norflash chips.
Identification interface: 8-pin and 16-pin chip on the ZIF socket, T56 supports VGA_HDMI ISP interface
Click [AUTO] icon button in the toolbar to check "the VGA_HDMI ISP" interface.
For details, see: Chapter 7 VGA_HDMI ISP in-circuit programming.
66
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Click [Logic Test] icon in the toolbar to bring up the test dialog box, as below:
After selecting IC model, directly click [TEST] button to see the test results of the chip vector
VCC voltage is variable
Click the [NEW] or [COPY] button to add a new customized chip
The customized chips can be imported or exported for sharing. You can also delete or modify.
67
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Modify and add the test vector table. then type in the new chip model and save the new.
68
Xgpro Software User Guide –T56/TL866II www.XGECU.com
As the above, the test is completed, that means the chip is programmed correctly by selecting W25Q32B.
69
Xgpro Software User Guide –T56/TL866II www.XGECU.com
STEP:
1) Select IC W25Q32BV
2) Load a data file
3) Uncheck the option [check ID]
4) program for testing
5) Erase, write and verify completed, if testing is correct, you can go to the next step. If it failed, you can select another
similar chips for testing.
As shown below:
STEP:
1) Click [Check ID] to read the current chip ID
2) Display the current ID value
3) Click [ADD] in the toolbar
4) Type in the chip model, manufactory, the chip ID read, and other information
5) Click [Add New], a new model will be added in the user list
6) Just double click the chip model in the custom list to use it.
70
Xgpro Software User Guide –T56/TL866II www.XGECU.com
1. Select IC: Type in “27C128” to find, select AM27C128 @DIP28 Note: the chip package and chip capacity must be the same.
2. Download the M27C128A IC data set from the Internet
From the data sheet, you can find:
Chip ID: 20 0A, VCC=6.25V when programming, VCC=5V when verifying and reading, VPP=12.50V for programming, pulse
time is 100us
71
Xgpro Software User Guide –T56/TL866II www.XGECU.com
3. According to the parameters in data sheet, modify the chip parameters as shown below:
72
Xgpro Software User Guide –T56/TL866II www.XGECU.com
73
Xgpro Software User Guide –T56/TL866II www.XGECU.com
From the above figure you can see,
K9GAG08U0E Parameter:
Page Size 8K (8192) Spare Size=436 Number of pages per block: 128 pages, total number of blocks 2076 blocks
In addition, from data sheet you can find, the operating voltage is 3.3V 1CE pin, 1 RB pin, 8-bit data width
ID: EC D5 84 72 (only read the first 4 bytes)
10.3.3 Set NAND parameters
Click [Options] to set as below (3. Customize NAND parameters):
After the parameters are set, add new list in the same way as before, click the [ADD] button in the toolbar to enter the
ADD NEW IC dialog box, as below:
74
Xgpro Software User Guide –T56/TL866II www.XGECU.com
Respectively type in the IC name, manufacturer and device ID. And click [Add New] to add to the list.
Double click the added model, you can program the IC. If the read/write is normal, it means the addition is correct.
75
Xgpro Software User Guide –T56/TL866II www.XGECU.com
76
Xgpro Software User Guide –T56/TL866II www.XGECU.com
11. Appendix
11.1 Disclaimer
(1) Products that have been repaired, modified by any organization or individual not officially authorized by us are not
covered by the warranty.
(2) The ZIF socket of the product and other man-made damages are not covered by the warranty.
(3) Joint and several extended liability caused by hardware failure or software defects.
Special Declare
Due to the variety of chips supported by the programmer and the complexity of the software system, errors or defects are
inevitable. In mass production, especially for OTP one-time programming chips, you must make sure that the programming is
correct before mass production. We are not responsible for collateral expansion losses due to hardware failure or software defects.
If you find any problems or have valuable opinions about our products, please contact us.
11.2 Warranty
Within one year from the date of purchase, if there is a failure during normal operations, can repair for free.
11.3 Contact Us
As the software is constantly updated, the manual content is for reference only and is subject to the product application.
The latest version software can be downloaded from http://www.xgecu.com/en.
It is usually because the USB driver is not installed, or the driver is prohibited by antivirus software, at this time the RUN light on the
USB programmer flashes rapidly.
Solution: Refer to section 2.1 and re-install the application software.
77
Xgpro Software User Guide –T56/TL866II www.XGECU.com
2) Error when updating firmware, unable to refresh
It is usually caused by using a USB hub. Please do not use an external HUB when refreshing. Please directly connect the
programmer to the USB port of your computer to refresh. Restart the computer to test. If it still cannot solve the problem, please try
to do the refresh operation on another computer.
Situation 1: Old chips, often there are some tips of poor pin contact, need to handle with pins carefully.
Situation 2: If using an adapter, please use a multimeter to measure whether the adapter pins are normal.
Situation 3: Individual pins of individual chips may not support pin contact check. In this case, you can temporarily uncheck the
option <Pin Detect> in the lower left corner of the main interface.
Note: Pin detect can only check if the pin is on, cannot check the contact resistance.
If the contact resistance is too large, especially for NAND high-speed chips, it will also cause working errors. So be sure to clean
the adapter, please do not easily trust any clip-type connection.
Note: Pin detect can only check if the pin is on, but cannot detect the contact resistance. If the contact resistance is too large,
especially for NAND high-speed chips, it will also cause working errors. So make sure to clean the adapter and please do not easily
trust any clip-type connection. After clamping, hard twist the adapter so that there is a small amount of frictional sliding between
cooper sheets of the ZIF socket and pin headers or between the pins of integrated circuit, to make a good contact.
4) Check ID error
Many chips have an internal chip identification mark (Identification). The content generally has two or more bytes, generally the first
byte is the Manufacturer ID, followed by the chip type or chip capacity. Different chip has the different ID and the function of this
option is to prevent incorrect chips put in. This option is to check the chip ID before reading or writing. If it is correct, continue. If ID
incorrect, abort. This function is optional. The option is checked by default.
For the same type of chip, different manufactory may program in the same way. For chips not supported in the list, you can
select same capacity same type ICs of other manufactories to program. Because ID is different, before programming, uncheck
the option <Check ID>.
For few parts of microcontrollers, the chip ID cannot be read after chip is encrypted. At this time, the option <Check ID> should be
unchecked in the main interface, otherwise check ID error will appear.
78