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.

CCS/TMS570LS3137: Flash API library of UART Bootloader for TMS570LS3137

Part Number: TMS570LS3137

Tool/software: Code Composer Studio

Hi,

I'm using Code Composer Studio(CCS) 7.4.0.00015, And I want to execute Bootloader for TMS570LS3137 HDK board by using RS232 Interface.
And I find a TI Application Report called "UART Bootloader for Hercules TMS570LS31x MCU".
(e2echina.ti.com/.../UART-Bootloader-for-Hercules-TMS570LS31x-MCU.pdf)
I downloaded a example sorce code called "SafetyMCU_Bootloader" form this report.(In the spna193 zip file)

I tried to run the code from UART Bootloader but it shows error.(Most of them are about .obj redefined)
Then I saw a TI forum called "UART BOOTLOADER FOR TMS570LS3137" that mentioned the same problem as me,
Here's the URL: e2e.ti.com/.../402100

Apparently, I am missing the Flash API library so that CCS show a lot error after compiled.
I need a F021 Flash API v02.01.00 to solve the compiler problems.
But, unfortunately I can only find F021 Flash API v02.01.01 on the TI website.(www.ti.com/.../HERCULES-F021FLASHAPI)
Is there any way to find F021 Flash API v02.01.00? I try to find one, but I can't find it.

It also seems that the forum's URAT is used by USB cable, And I don't know how to change into RS232 Interface.
I'm using RS232 to TTL converter to connect NHET113_SCI_TX and NHET106_SCI_RX pins of TMS570LS3137 HDK.
So, is there any way to change the default setting USB cable to RS232 interface?


Thanks for your help!

Best Regards, Chen Yan-Li

  • Hello Yan-Li,

    1. Please use F021 API 2.01.01 which is the latest version.

    2. Attached is the L3137 uart bootloader using Flash API 2.01.01

    3. Yes, you can use SCI module (W3, N2) + RS232 transceiver for bootloader

       1. configure the pinmux to use pin N2 and W3 as SCI 

       2. change the SCI module for bootloader in bl_config.h:  scilinREG --> sciREG

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/312/3884.TMS570LS3137HDK_5F00_UART_5F00_Bootloader.7z

  • Hello QJ Wang,

    I tried the method you provided and it really worked.
    Thank you! It's really help me a lot!
    But somehow, after execute the application code (.bin file), the bootloader windows becomes very strange.
    It doesn't work any more, and LED didn't blinking on the HDK. Maybe I need to try to find the reason...


    Thanks again for your help!

    Best Regards, Chen Yan-Li