Using JTAG with the UCD3138 Overview of programming options_transcript
Using JTAG with the UCD3138 Overview of programming options_transcript
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.
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.