0% found this document useful (0 votes)
3 views1 page

Using JTAG with the UCD3138 Overview of programming options_transcript

The document provides a step-by-step guide for downloading firmware to a UCD device using the CCS JTAG GUI, emphasizing the need for proper connections and settings. It highlights the requirement to enable JTAG pins on the UCD3138 and outlines the process for programming options, including erasing flash and performing checks. Finally, it details how to load the program and execute the downloaded code using specific commands and shortcuts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Using JTAG with the UCD3138 Overview of programming options_transcript

The document provides a step-by-step guide for downloading firmware to a UCD device using the CCS JTAG GUI, emphasizing the need for proper connections and settings. It highlights the requirement to enable JTAG pins on the UCD3138 and outlines the process for programming options, including erasing flash and performing checks. Finally, it details how to load the program and execute the downloaded code using specific commands and shortcuts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Now we are going to download a firmware program to a UCD device via the CCS JTAG

GUI. Ensure that the open loop board is powered and that there is a device in the
socket. Also ensure that the JTAG emulator is connected to the open loop board.

Please note that extra steps are required to enable JTAG columns on the UCD3138.
The JTAG pins are not enabled by default on the UCD3138, so you need to enable them
via the UCD PMBus device GUI. For all of the other UCD3138 variants such as the
UCD3138064, A64, and 128, and all of the A versions, this is not the case.

In this example, we are downloading code to a UCD3138A device. Start a debug


session with the current configuration. Here I use one I previously created for the
UCD3138A and XDS100V2 JTAG emulator.

Connect to the target via JTAG. If the On-Chip Flash menu is not displayed, click
on Tools, On-Chip Flash. First, scroll to the very bottom of the pane and check
Enable verbose output. So as we can see, additional information displayed in the
console.

Scroll back to the top of the pane, select your programming options. Here we choose
to write an application program with no boot. We choose to perform a blank check
before programming, and we choose to perform checksum-based verification after
programming. We are choosing not to write the checksum. We choose to write to data
flash and to perform a blank check on data flash before programming.

Before programming, we would erase all of the program and data flash. Click Erase
Flash Now. Now we will check that the entire flash contents of the device are empty
by clicking Blank Check Now. If you would like to keep these settings for future
use for this particular configuration, click Remember My Settings.

Now to perform the write to flash. Select Run, Load, Load Program. Alternatively,
use the short keys, Control plus Alt plus L together. Now select the data out file
you wish to load. You can click Browse to select the data out file via Windows
Explorer. Or if the project is active in CCS, select Browse Project to select from
your active projects.

Once the data out file has been selected, click OK to execute the flash write.
Observe the console window. To execute the code that has just been downloaded,
select Run, Reset, CPU Reset, or use the short key combination Control plus Shift
plus R together. Then press the Play button in the toolbar to start executing the
code. Alternatively, press to short key F8.

You might also like