Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

What do you need to program and use Hercules LaunchXL-TMS57004 #18

@jfm92

Description

@jfm92

Upload and debug:

For this board we have two different way of use:
First using the micro USB connection and the TI Uniflash Tool
The second option is J-Link programmer.
J-Link
You can buy an adapter to 14 pins or do the next wiring:

Jtag-Pin JTag Signal J-Link Pin J-Link Signal
1 TMS 7 TMS
3 TDI 5 TDI
5 PD 1 VTref
7 TDO 13 TDO
9 RTCK 11 RTCK
11 TCK 9 TCK
13 EMU0* - N/C
2 TRTSN 3 nTRST
4 GND 2 GND
6 N/C - N/C
8 JTAG_SEL 4 GND
10 GND 6 GND
12 GND 8 GND
14 EMU1* - N/C

And for the supply of the board, I connect the USB of the board.

To upload the code, follow the next steps:

Execute in the termianl /usr/bin/JLinkExe (It's by default in Ubuntu)
When the program is executing you must type the next commands:

  • connect
    (A this moment will ask for some options, you must write the next to have a successful connection)
    -TMS570LS0432
    -J
    -default
    -default

The console will return this:
imagen
About the final error, I'm still figuring out what it means. But anyways it connect correctly.

Now type "r" to reset the device.

Then it's necessary to erase the flash, so type "erase" and wait.
imagen

Then upload the code to the board.
Type: loadfile nuttx.bin,0x0
(Note you must working in your nuttx folder)
And if everythings goes fine it should return this:
imagen

Serial console:

TTL-232R-3V3
But it's still not working.

If you want to see the pin use by default go here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions