Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

AM263P4-Q1: How to create a flashable hex file from a system mcelf

Part Number: AM263P4-Q1

Tool/software:

Hi

In our application we will need to provide a hex file as a flashable image for the SW.

The SW will run on multicore therefore the hex file need to be generated from the .mcelf from the system project.

What is the process to get the hex file generated as the system project does offer the option to generate a file from the build ?

I tried to call the tiobj2bin script as a post build step but I'm getting the following error:

Tool invocation:

C:/ti/ccstheia151/ccs//utils/tiobj2bin/tiobj2bin.bat ./Debug/Multicore_LedBlinkingApp_am263px-lp_system_nortos.mcelf ./Debug/Multicore_LedBlinkingApp_am263px-lp_system_nortos.mcelf.hex C:/ti/ccstheia151/ccs//tools/compiler/ti-cgt-armllvm_4.0.0.LTS/bin/tiarmofd.exe C:/ti/ccstheia151/ccs//tools/compiler/ti-cgt-armllvm_4.0.0.LTS/bin/tiarmhex.exe C:/ti/ccstheia151/ccs//utils/tiobj2bin/mkhex4bin.exe

Result:

[1010]Use of uninitialized value $str in pattern match (m//) at XML_TI_OFD.pm line 2146.
[1011]Use of uninitialized value in multiplication (*) at script/mkhex4bin.pl lin

I can't really really find an answer online about what cause this error. 

Also it seems the .mcelf can be opened using a hexview tool. Doing so, the hex address mapping does not correspond to what is specified in the projects linker scripts.

Your help in understanding what the process is highly appreciated.

Looking forward to reading from you.

Regards

Seb

Note: I'm using mcu_plus_sdk_am263px_10_00_00_35