Step by step procedure to execute UART Bootloader on TMS570LC4357
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.
Hi,
Here are my bootloader and application codes I tested:
UART_Bootloader_LC4357_New (2).zip
LED_Blinky_Project_at0x20020_Launchpad_LC4357.zip
I did this test in TMS570LC4357 Launchpad.
1. First flash the UART bootloader code to the controller from CCS.
2. Now open hyper terminal and select user UART.
3. Give serial port settings as below
4. And now do the POR RESET and should get below message on the COM port
5. Now Select option -1 by typing "1" on the screen
Once we click on "1" then we should get below message on the screen:
"Waiting for the file to be sent ...
Use Transfer->Send File and Ymodem Protocol from HyperTerminal"
6. Now click on
File->Transfer->YMODEM->Send
7. Now choose the binary file of the application you want to send.
Note:
This binary file will not generate by default from CCS, to generate this binary we should need to do the following thing.
We should paste below data in Post-build steps of CCS:
"${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/armofd" "${CG_TOOL_ROOT}/bin/armhex" "${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin"
Once we paste above steps and do clean build of the project then we will get binary file for corresponding project.
8. Once we gave binary then we can see the programming of the corresponding binary project.
Once binary programmed to the flash then the device will automatically get reset and provide Main Menu options again. Now we should select the option-3 (Execute The Application Code). Once we select this option then our bootloader should execute the application code.
--
Thanks & regards,
Jagadish.