Tool/software: Code Composer Studio
Hi,
I'm using Code Composer Studio(CCS) 9.3.0.00012, And I want to create a binary(.bin) file for UART Bootloader.
The hardware I use is TMS570LS3137 HDK board, so I refer to a TI forum about this MCU,
Here's the URL: e2e.ti.com/.../402100
I downloaded a Bootloader file "Data.zip" provided by Jean-Marc Mifsud from this forum.
The "Data.zip" file contains two projects about UART Bootloader.
The project "boot_uart_TMS570LS3137" is a Bootloader program project,
Another project "TMS570LS3137_Blinky_Bootloader" is a project of blink an LED on TMS570LS3137 HDK.
There is a binary file called "TMS570LS3137_Blinky_Bootloader.bin" from the project "TMS570LS3137_Blinky_Bootloader" release directory.
I know that I can download this application Image(binary file) to the internal flash by Hyperterminal.
But I don't know how to generate a binary file for Bootloader with Code Composer Studio.
And I've seen a lot of teaching about generating binary files for "LM Flash Programmer" by CCS, not for Bootloader.
So my question is, how to generate a binary file for Bootloader?
Also I found that the "TMS570LS3137_Blinky_Bootloader.bin" binary file does not seem to be usable by other Bootloaders.
In order to the compiler problem caused by the Flash API library version, I use the Bootloader project provided by QJ Wang.
Here's the URL: e2e.ti.com/.../869521 (Special thanks to QJ Wang's help!)
Then I tried using YMODEM protocol to download binary code to the device:
In Tera Term: File->Transfer->YMODEM->Send and select "TMS570LS3137_Blinky_Bootloader.bin" binary file to download.
After I download the binary(.bin) file to TMS570LS3137 HDK by using Bootloader, I click option 3 in the Hyperterminal.
At this point the system should perform an LED blinking on the TMS570LS3137 HDK, But I didn't see the LED on the HDK is blinking.
Is this problem caused by the incompatibility between the Bootloader project and the binary file?
And how to generate a binary file for the Bootloader project provided by QJ Wang?
In addition, Mr. Jean-Marc Mifsud mentioned that:
This code has 2 build configuration:(TMS570LS3137_Blinky_Bootloader project)
a] Debug. This is to debug the code. It will be flashed to 0x0000_0000 and does not need the bootloader.
b] Release. This is the configuration to use when you want to download the code using the bootloader. In this configuration, the code is moved to address 0x0002_0000 instead of 0x0000_0000.
Does this mean that I have any settings to check before generating the binary file?
Thanks for your help!
Best Regards, Chen Yan-Li