uPSD3300 Series Design Guide for DK3300-ELCD Using KEIL
7.9 JTAG Programming
Selection of The Programming Tool (either FlashLINK OR R-LINK) is done in the HW setup
window.
1. Click the "STMicroelectronics JTAG/ISP" box to program the Turbo uPSD. You will be
asked how many JTAG devices are on the target circuit board.
2. Choose "Only One" to see the screen shown in Figure 42
This window enables you to perform JTAG-ISP operations and also offers a loop back test for
your FlashLINK/R-LINK cable. If this is your first use, test your FlashLINK or R-LINK cable and
PC parallel or USB port by clicking the "HW Setup" button, then click "LoopTest" button and
follow the directions.
To define your JTAG-ISP environment:
1. Connect the JTAG ribbon cable to the target system
2. Power-up the target system
3. Click 'Execute' on the JTAG screen. The Log window at the bottom of the JTAG screen
shows the progress. Programming should just take a few seconds.
Note: For this example project, PSDsoft Express should have filled in the folder and
filename of the object file to program, the uPSD device, and the JTAG-ISP operation, as
shown in Figure 43.
There are optional choices available when the "Properties.." button is clicked. One choice
includes setting the state of all pins on port A, B, C, or D during JTAG-ISP operations
(make them inputs or outputs). The default state of these pins is "input", which is fine for
this design example. The other choice allows you to specify a USERCODE value to
compare before any JTAG-ISP operation starts. This is typically used in a manufacturing
environment (see on-screen description for details).
4. After JTAG-ISP operations are complete, click on the 'Save' button so that you can save
the JTAG setup for this programming session to a file for later use.
Note: You may restore the setup of a different previous session by clicking the 'Browse..'
button.
Figure 42. JTAG-ISP Operation Selection
54/68
1