This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LC4357: TMS570LC4357

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN, UNIFLASH

I have the TMS570LC437 Development Board with my and I want to start programming it.

I have Hercules and CCS setup in my laptop and having many errors while programming.

I would like some help here and want to clarify few things to see where I am going wrong.

First doubt: Is the above connection the right way to program the TMS570 MCU, and not the TM4C129 transceiver

I am using the XDS110 port

Second doubt: Is this setup correct or did I miss anything here

  • Doubt Three:

    For the board type in Halcogen, which one is to be chosen??

    Thanks,

  • Also, I could not find the link online to run the Code Composer Studio file on Hardware. After setting up the CCS workspace, CCS and HAL Projects, Should I just replace the main.c file with example file?? How exactly to do that? And Do I need Uniflash software or can I run it without that?? 

    In the new version, I have all the generated files from HAL as HL_Sys_ and not Sys_

    Also I get this error always about F021:

    "../source/Fapi_UserDefinedFunctions.c", line 55: fatal error #1965: cannot open source file "F021.h"

    Not sure what it means...

    Looking forward to your replies,

    Thank you,

    Aadithya

  • Is the above connection the right way to program the TMS570 MCU, and not the TM4C129 transceiver

    Your connection is correct. The Launchpad is powered up through this USB cable. The board has built-in xds110 emulator using TM4C129, so you don't need an external emulator.

    Is this setup correct or did I miss anything here

    The setup is correct.  Please select BE32 as the device endianess:

  • Should I just replace the main.c file with example file??

    Yes. To use the HAL example for example blinky LED, you need to configure the device through the HAL GUI. The configuration steps are listed in the HAL example help. After generating the HAL driver, please porting HAL driver to your CCS project, and copy the example code your main() of sys_main.c.

    How exactly to do that?

    https://www.ti.com/lit/an/spna121b/spna121b.pdf?ts=1654263815818&ref_url=https%253A%252F%252Fwww.google.com%252F

    And Do I need Uniflash software or can I run it without that?? 

    No, you don't have to use Uniflash. The CCS includes the same functionality to program the flash. 

    "../source/Fapi_UserDefinedFunctions.c", line 55: fatal error #1965: cannot open source file "F021.h"

    Not sure what it means...

    If the FEE is enabled, the FEE driver is generated. The FEE driver uses the F021 Library. So you need to include the F021 Library folder in your project.

    The F021 Flash Library is installed at: 

    C:\ti\Hercules\F021 Flash API\02.01.01\include

    If you don't have F021 Flash Library installed, please download it from this link:

    https://www.ti.com/tool/F021FLASHAPI

  • thanks a lot for your quick reply, I do not have any build errors right now with BlinkLED file. I am trying to understand how this code works cause I see one LED on the board that lights up when the code is running but how do I blink it? Is there a pdf with some help to code it. Like if I want to light a different LED or different pin, and blink it for longer time. Would really like to try different examples now.

    Looking forward to your reply,

    Warm Regards,

    Aadithya Iyer

  • Hi Adadithya,

    There are several LEDs on the launchpad. Two user LEDs: LED2 and LED3 which are driven by 2 GIO pins, and one error LED: LED 1, Red which is connected nERROR pin.

    Whenever there is an ESM error (channels of ESM group2 and 3), the nERROR is asserted.

    Please check ESM status registers to see which channel is set: