Part Number: TMS320F2800137
Tool/software:
Hi team
Customer want to debug the boot28.asm file to combine the boot project and app project into one project, is there any debug guidance to realize the function.
Thanks
Joe
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.
Part Number: TMS320F2800137
Tool/software:
Hi team
Customer want to debug the boot28.asm file to combine the boot project and app project into one project, is there any debug guidance to realize the function.
Thanks
Joe
Hi Joe,
When you say "boot project", do you mean the OTP/DCSM settings? Does the customer have the source files for both projects or just the final .out?
Where does the boot28.asm file come from?
Thank you,
Luke
Hi Luke
When you say "boot project", do you mean the OTP/DCSM settings?
Let me clarify the boot project, after the code start from 0x80000, customer only do the necessary MCU initialization, and decide whether the firmware should be updated, finally let the code jump to the APP code, that's what I call boot project.
Does the customer have the source files for both projects or just the final .out?
Yes they have all the project source file.
Where does the boot28.asm file come from?
The boot file is from our compiler, direction is ccs1281/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/src/boot28.asm.
Thanks
Joe
Hi Joe,
Since the customer wishes to combine both their bootloader and application project, is it possible to do this through an implementation similar to a single-bank LFU solution? I am not aware of the boot28.asm modification requirements currently.
Thanks and regards,
Charles
Hi Charles
I checked the F28002x_lfu_singlebank demo and serial_flash_programmer to understand the single-bank LFU solution. It seems that boot and APP are two separate projects, firstly I load the boot in MCU then I use serial_flash_programmer to load the APP into MCU. How can I combine the boot project and APP project into one .out or .hex file and program the whole firmware at one time.
Thanks
Joe
Hi Joe,
Related thread on merging two hex files into one. Also, as mentioned in Section 6.4.1 of CAN Flash Programming of C2000 Microcontrollers, you can combine two .txt files by splicing the addresses, where one image is represented as Image A and the other Image B.
Thanks and regards,
Charles