CODECOMPOSER: Hex file generation

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: TMS570LS0914

Hello,

I am using Code Composer Studio (CCS) Version 12.2.0.00009 for software development on both TMS570 and TMS320 series microcontrollers.

When I flash the hex file generated from CCS onto the device using the bootloader, the flashing process completes successfully. However, the application does not run as expected afterward.

In contrast, when I flash or debug the same code directly through CCS, it executes correctly without any issues. 

The hex utility settings are as below :

image.png

Kindly help me to get it resolved.

Thanks,

Prajakta

 

  • In contrast, when I flash or debug the same code directly through CCS, it executes correctly without any issues. 

    Are you flashing the same hex file or are you flashing the out file?

    Which devices are you using?

    Thanks

    ki

  • 1. In contrast, when I flash or debug the same code directly through CCS, it executes correctly without any issues. : this means without bootloader and start address 0x000000000, if I flash the code in debug TI mode it executes smoothly and behaves as expected. 

    2. Are you flashing the same hex file or are you flashing the out file? ==> out file (flashing using debugger XDS100V3 )

    3. Which devices are you using? ==> TMS570LS0914 and TMS320f4900C (for both devices the issue is same . TMS570LS0914 is on priority)

    In addition to this, I am generating the hex file using bin file with help of another tool in extended linear format and that externally generated hex file is working as expected with boot loader. The boot loader address is 0x00000000 and hex file starts with 0x00020000 in release TI mode.

    Thanks,

    Prajakta.

  • If the *.out file works fine but the *.hex file does not, then it can be an issue with how the hex file is generated.

    I will bring this thread to the attention of the device experts so that they can confirm your hex generation procedure.