TS8000x Programming Guide
www.semtech.com
12 of 16
Rev 0.9
Sep 2016
Semtech
Option 3: In-Circuit Test Hardware and C Source Code
When boards are produced in volume, the PCB is typically tested in a pogo-pin-based fixture, or any
other type of bed of nails (In-Circuit Test, ICT) device or flying probe system.
To program the TS8000x in this environment, the PCB will need test points for the following:
-
V
CC
To power the board
-
GND
System reference voltage
-
DEBUG
Must be grounded prior to power-up to initiate bootloader mode
-
SMB_SCL
I2C Clock line that paces the data transfer
-
SMB_SDA
I2C Data line that programming data travels over
The script that performs the normal device test and validation must be expanded to include the
programming of the firmware image to the target processor. To facilitate this process, Semtech provides
the C source code that performs this function. It is the source of the executable used in the Aardvark-
based programming solution described in the prior section. Please refer to the above section on how to
download and install the archive file
TS80002_Programming.zip
to your PC to obtain these files.
The I2C script is provided as a simple C source code file that needs to be integrated into the automation
equipment software. This method allows for fast programming of the firmware image. The source code is
located in the sub-folder
\TS8000x Flashing\TS80002_Programming\fw_flash_Semtech_v1.0\src
which was
extracted from the
TS80002_Programming.zip
file.
The test program will need to first ground the DEBUG pin and then apply power to the target board. Once
the bootloader has commenced, the test program can then launch their executable built from the provided
C source code.
Given that the C source code is used in the Aardvark adapter method above, it may be beneficial to
experiment with the Aardvark solution in preparation for adapting the C source to your production line test
equipment.