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.

LAUNCHXL-F2800137: Generated binary has readable ASCII characters

Part Number: LAUNCHXL-F2800137
Other Parts Discussed in Thread: C2000WARE

Hi all,

For our production plant we need to generate a binary. Why not use hex? Our test engineers are stubborn.

After compiling and generating a hex file using the C2000 Hex Utility in Code Composer 12.2, some readable ASCII text is present which is unwanted.

After the application, the following is present:

This converts to the following:

/home/ubnuser/ti/repos/c2000ware_release/driverlib/f280013x/driverlib/flash.h/

home/ubnuser/ti/repos/c2000ware_release/driverlib/f280013x/driverlib/flash.c/

home/ubnuser/ti/repos/c2000ware_release/driverlib/f280013x/driverlib/xbar.h/

home/ubnuser/ti/repos/c2000ware_release/driverlib/f280013x/driverlib/gpio.c/

home/ubnuser/ti/repos/c2000ware_release/driverlib/f280013x/driverlib/dcc.h/

home/ubnuser/ti/repos/c2000ware_release/driverlib/f280013x/driverlib/sysctl

Why is this? How can i prevent this?

Using:

Code composer 12.3.0.00005

Compiler: TI v22.6.0.LTS

C2000 Hex Utility set at format --binary

Compiler optimizations: -O 2 - Global Optimizations, -mf 3

Thanks in advance.

  • Please rebuild the entire project.  One way to do that is to right-click on the name of the project and select Rebuild Project.  Then save the contents of the Console (not Problems) view to a text file.  Use the icon named Copy Build Log (older versions of CCS) or Save build log to file (newer versions of CCS).  When you name the log file, be sure to use the file extension .txt.  Please attach that text file to your next post.

    Thanks and regards,

    -George

  • Hi George, the following output is the console log of a Rebuild action. The same settings as above are used.

    buildLogExport.txt
    **** Build of configuration Debug for project Betronic_Motorcontroller_Gen5_Bootloader ****
    
    "C:\\ti\\ccs1230\\ccs\\utils\\bin\\gmake" -k -j 16 all -O 
     
    Building file: "C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Framework/FirmwareHeader/FirmwareHeader.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 -O2 --opt_for_speed=3 --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware/driverlib/f280013x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Bootloaders/Betronic_Motorcontroller_Gen5_Bootloader/Config" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Bootloaders/Betronic_Motorcontroller_Gen5_Bootloader/Include/System" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/HardwareAbstractionLayer" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/HardwareAbstractionLayer/DeviceSupport/F2800137/device" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Framework/include" --advice:performance=all --define=DEBUG --define=_LAUNCHXL_F2800137 --define=HW_PRODUCT_LAUNCHXL --define=_INLINE --define=_FLASH --define=_F280013x --define=_FULL_FAST_LIB --define=BSXL8323RS_REVA --define=MOTOR1_FAST --define=MOTOR1_ESMO_N --define=MOTOR1_ENC_N --define=MOTOR1_OVM_N --define=MOTOR1_FWC_N --define=MOTOR1_MTPA_N --define=MOTOR1_SSIPD_N --define=MOTOR1_VOLRECT_N --define=DATALOGF2_EN_N --define=DAC128S_ENABLE_N --define=DAC128S_SPIA_N --define=CPUTIME_ENABLE_N --define=TEST_ENABLE_N --define=SFRA_ENABLE_N --define=STEP_RP_EN_N --define=CMD_POT_EN_N --define=CMD_CAP_EN_N --define=CMD_SWITCH_EN_N --define=CMD_CAN_EN -g --diag_suppress=10063 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="Framework/FirmwareHeader/FirmwareHeader.d_raw" --obj_directory="Framework/FirmwareHeader"  "C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Framework/FirmwareHeader/FirmwareHeader.c"
    Finished building: "C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Framework/FirmwareHeader/FirmwareHeader.c"
     
    Building file: "../Linker/f280013x_codestartbranch.asm"
    Invoking: C2000 Compiler
    "C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 -O2 --opt_for_speed=3 --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware/driverlib/f280013x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Bootloaders/Betronic_Motorcontroller_Gen5_Bootloader/Config" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Bootloaders/Betronic_Motorcontroller_Gen5_Bootloader/Include/System" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/HardwareAbstractionLayer" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/HardwareAbstractionLayer/DeviceSupport/F2800137/device" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Framework/include" --advice:performance=all --define=DEBUG --define=_LAUNCHXL_F2800137 --define=HW_PRODUCT_LAUNCHXL --define=_INLINE --define=_FLASH --define=_F280013x --define=_FULL_FAST_LIB --define=BSXL8323RS_REVA --define=MOTOR1_FAST --define=MOTOR1_ESMO_N --define=MOTOR1_ENC_N --define=MOTOR1_OVM_N --define=MOTOR1_FWC_N --define=MOTOR1_MTPA_N --define=MOTOR1_SSIPD_N --define=MOTOR1_VOLRECT_N --define=DATALOGF2_EN_N --define=DAC128S_ENABLE_N --define=DAC128S_SPIA_N --define=CPUTIME_ENABLE_N --define=TEST_ENABLE_N --define=SFRA_ENABLE_N --define=STEP_RP_EN_N --define=CMD_POT_EN_N --define=CMD_CAP_EN_N --define=CMD_SWITCH_EN_N --define=CMD_CAN_EN -g --diag_suppress=10063 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="Linker/f280013x_codestartbranch.d_raw" --obj_directory="Linker"  "../Linker/f280013x_codestartbranch.asm"
    Finished building: "../Linker/f280013x_codestartbranch.asm"
     
    Building file: "C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/HardwareAbstractionLayer/DeviceSupport/F2800137/device/device.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 -O2 --opt_for_speed=3 --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware/driverlib/f280013x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Bootloaders/Betronic_Motorcontroller_Gen5_Bootloader/Config" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Bootloaders/Betronic_Motorcontroller_Gen5_Bootloader/Include/System" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/HardwareAbstractionLayer" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/HardwareAbstractionLayer/DeviceSupport/F2800137/device" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Framework/include" --advice:performance=all --define=DEBUG --define=_LAUNCHXL_F2800137 --define=HW_PRODUCT_LAUNCHXL --define=_INLINE --define=_FLASH --define=_F280013x --define=_FULL_FAST_LIB --define=BSXL8323RS_REVA --define=MOTOR1_FAST --define=MOTOR1_ESMO_N --define=MOTOR1_ENC_N --define=MOTOR1_OVM_N --define=MOTOR1_FWC_N --define=MOTOR1_MTPA_N --define=MOTOR1_SSIPD_N --define=MOTOR1_VOLRECT_N --define=DATALOGF2_EN_N --define=DAC128S_ENABLE_N --define=DAC128S_SPIA_N --define=CPUTIME_ENABLE_N --define=TEST_ENABLE_N --define=SFRA_ENABLE_N --define=STEP_RP_EN_N --define=CMD_POT_EN_N --define=CMD_CAP_EN_N --define=CMD_SWITCH_EN_N --define=CMD_CAN_EN -g --diag_suppress=10063 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="HardwareAbstractionLayer/DeviceSupport/F2800137/device/device.d_raw" --obj_directory="HardwareAbstractionLayer/DeviceSupport/F2800137/device"  "C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/HardwareAbstractionLayer/DeviceSupport/F2800137/device/device.c"
    Finished building: "C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/HardwareAbstractionLayer/DeviceSupport/F2800137/device/device.c"
     
    Building file: "../Source/System/System.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 -O2 --opt_for_speed=3 --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware/driverlib/f280013x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Bootloaders/Betronic_Motorcontroller_Gen5_Bootloader/Config" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Bootloaders/Betronic_Motorcontroller_Gen5_Bootloader/Include/System" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/HardwareAbstractionLayer" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/HardwareAbstractionLayer/DeviceSupport/F2800137/device" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Framework/include" --advice:performance=all --define=DEBUG --define=_LAUNCHXL_F2800137 --define=HW_PRODUCT_LAUNCHXL --define=_INLINE --define=_FLASH --define=_F280013x --define=_FULL_FAST_LIB --define=BSXL8323RS_REVA --define=MOTOR1_FAST --define=MOTOR1_ESMO_N --define=MOTOR1_ENC_N --define=MOTOR1_OVM_N --define=MOTOR1_FWC_N --define=MOTOR1_MTPA_N --define=MOTOR1_SSIPD_N --define=MOTOR1_VOLRECT_N --define=DATALOGF2_EN_N --define=DAC128S_ENABLE_N --define=DAC128S_SPIA_N --define=CPUTIME_ENABLE_N --define=TEST_ENABLE_N --define=SFRA_ENABLE_N --define=STEP_RP_EN_N --define=CMD_POT_EN_N --define=CMD_CAP_EN_N --define=CMD_SWITCH_EN_N --define=CMD_CAN_EN -g --diag_suppress=10063 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="Source/System/System.d_raw" --obj_directory="Source/System"  "../Source/System/System.c"
    "../Source/System/System.c", line 44: warning #48-D: incompatible redefinition of macro "StartApp" (declared at line 43)
    Finished building: "../Source/System/System.c"
     
    Building file: "../Source/main.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 -O2 --opt_for_speed=3 --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware/driverlib/f280013x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Bootloaders/Betronic_Motorcontroller_Gen5_Bootloader/Config" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Bootloaders/Betronic_Motorcontroller_Gen5_Bootloader/Include/System" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/HardwareAbstractionLayer" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/HardwareAbstractionLayer/DeviceSupport/F2800137/device" --include_path="C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Framework/include" --advice:performance=all --define=DEBUG --define=_LAUNCHXL_F2800137 --define=HW_PRODUCT_LAUNCHXL --define=_INLINE --define=_FLASH --define=_F280013x --define=_FULL_FAST_LIB --define=BSXL8323RS_REVA --define=MOTOR1_FAST --define=MOTOR1_ESMO_N --define=MOTOR1_ENC_N --define=MOTOR1_OVM_N --define=MOTOR1_FWC_N --define=MOTOR1_MTPA_N --define=MOTOR1_SSIPD_N --define=MOTOR1_VOLRECT_N --define=DATALOGF2_EN_N --define=DAC128S_ENABLE_N --define=DAC128S_SPIA_N --define=CPUTIME_ENABLE_N --define=TEST_ENABLE_N --define=SFRA_ENABLE_N --define=STEP_RP_EN_N --define=CMD_POT_EN_N --define=CMD_CAP_EN_N --define=CMD_SWITCH_EN_N --define=CMD_CAN_EN -g --diag_suppress=10063 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="Source/main.d_raw" --obj_directory="Source"  "../Source/main.c"
    Finished building: "../Source/main.c"
     
    Building target: "Betronic_Motorcontroller_Gen5_Bootloader.out"
    Invoking: C2000 Linker
    "C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 -O2 --opt_for_speed=3 --advice:performance=all --define=DEBUG --define=_LAUNCHXL_F2800137 --define=HW_PRODUCT_LAUNCHXL --define=_INLINE --define=_FLASH --define=_F280013x --define=_FULL_FAST_LIB --define=BSXL8323RS_REVA --define=MOTOR1_FAST --define=MOTOR1_ESMO_N --define=MOTOR1_ENC_N --define=MOTOR1_OVM_N --define=MOTOR1_FWC_N --define=MOTOR1_MTPA_N --define=MOTOR1_SSIPD_N --define=MOTOR1_VOLRECT_N --define=DATALOGF2_EN_N --define=DAC128S_ENABLE_N --define=DAC128S_SPIA_N --define=CPUTIME_ENABLE_N --define=TEST_ENABLE_N --define=SFRA_ENABLE_N --define=STEP_RP_EN_N --define=CMD_POT_EN_N --define=CMD_CAP_EN_N --define=CMD_SWITCH_EN_N --define=CMD_CAN_EN -g --diag_suppress=10063 --diag_wrap=off --display_error_number --abi=eabi -z -m"Betronic_Motorcontroller_Gen5_Bootloader.map" --stack_size=0x200 --warn_sections -i"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/lib" -i"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --priority --reread_libs --diag_wrap=off --display_error_number --verbose_diagnostics --xml_link_info="Betronic_Motorcontroller_Gen5_Bootloader_linkInfo.xml" --entry_point=code_start --rom_model -o "Betronic_Motorcontroller_Gen5_Bootloader.out" "./Framework/FirmwareHeader/FirmwareHeader.obj" "./HardwareAbstractionLayer/DeviceSupport/F2800137/device/device.obj" "./Linker/f280013x_codestartbranch.obj" "./Source/System/System.obj" "./Source/main.obj" "C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware/driverlib/f280013x/driverlib/ccs/Debug/driverlib.lib" "../Linker/F2800137_flash_linker_bootloader.cmd" "../Linker/f280013x_headers_nonbios.cmd"  -llibc.a 
    <Linking>
    Finished building target: "Betronic_Motorcontroller_Gen5_Bootloader.out"
     
    Building secondary target: "Betronic_Motorcontroller_Gen5_Bootloader.hex"
    Invoking: C2000 Hex Utility
    "C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/hex2000" --entrypoint=code_start --memwidth=16 --order=MS --romwidth=16 --buffer_diagnostics --diag_wrap=on --intel -o "Betronic_Motorcontroller_Gen5_Bootloader.hex"  "Betronic_Motorcontroller_Gen5_Bootloader.out" 
    Translating to Intel format...
       "Betronic_Motorcontroller_Gen5_Bootloader.out" codestart ==> codestart
       "Betronic_Motorcontroller_Gen5_Bootloader.out" bootloaderHeader ==> bootloaderHeader
       "Betronic_Motorcontroller_Gen5_Bootloader.out" .TI.ramfunc ==> .TI.ramfunc
       "Betronic_Motorcontroller_Gen5_Bootloader.out" .text ==> .text
       "Betronic_Motorcontroller_Gen5_Bootloader.out" .const ==> .const
       "Betronic_Motorcontroller_Gen5_Bootloader.out" .cinit ==> .cinit
    Finished building secondary target: "Betronic_Motorcontroller_Gen5_Bootloader.hex"
     
    ApplicationBuilder generate bin and hex
    "C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Bootloaders/Betronic_Motorcontroller_Gen5_Bootloader/../../../Tools/tiobj2bin/tiobj2bin.bat" Betronic_Motorcontroller_Gen5_Bootloader.out Betronic_Motorcontroller_Gen5_Bootloader.bin "C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/ofd2000.exe" "C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/hex2000.exe" "C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Bootloaders/Betronic_Motorcontroller_Gen5_Bootloader/../../../Tools/tiobj2bin/mkhex4bin.exe" & "C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Bootloaders/Betronic_Motorcontroller_Gen5_Bootloader/../../../Tools/ApplicationBuilder/ApplicationBuilder.exe" --INPUT-BIN=BOOT,0x0000,"Betronic_Motorcontroller_Gen5_Bootloader.bin" --ADD-BFH=0x0004,BOOT --EXPORT-FILE=BIN,BOOT,"C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Bootloaders/Betronic_Motorcontroller_Gen5_Bootloader/Debug/Betronic_Motorcontroller_Gen5_Bootloader_withHeader.bin" --EXPORT-FILE=TIHEX,BOOT,"C:/Users/christiaanvanarum.BETRONIC/Code/betronic_motorcontrollergen5/Sources/Bootloaders/Betronic_Motorcontroller_Gen5_Bootloader/Debug/Betronic_Motorcontroller_Gen5_Bootloader_withHeader.hex",0x00080000
     
    
    **** Build Finished ****
    

  • Thank you for the build log.

    It ends with 3 commands.  hex2000 is used to create an Intel format hexadecimal file.  tiobj2bin.bat is used to create a binary file.  I'm not familiar with the last command named ApplicationBuilder.exe.  It appears to create two output files.  

    After compiling and generating a hex file using the C2000 Hex Utility in Code Composer 12.2, some readable ASCII text is present which is unwanted.

    Exactly which of those 3 commands created this file?

    Thanks and regards,

    -George

  • Thanks for taking a look into the build log.

    The tiobj2bin.bat tool made the human readable ASCII text visible. The compiler creates a .out file, which is, correct me if im wrong, not readable. The tiobj2bin.bat is invoked first. This converts the .out file to a binary. If i open this binary in HxD (a binary/hex reader), the text is visible.

    The ApplicationBuilder.exe is a tool from my company. This tool creates an application/bootloader header with various parameters (version numbering, build, git SHA, etcetera.) and puts it at a specified address in the binary. It then combines the two binaries into a single binary which can be flashed to the device.

    However, before the application builder, the text is already in the binary file. Im not sure if i can open the .out file, but im guessing that the text is already visible in there. My guess is, is that its some kind of wrongly set setting in the project properties. Im not sure though. I couldn't fix it myself, so that's why i asked it here.

  • tiobj2bin has a bug that may occur when the application is built for EABI, as yours is.  For details, and a workaround, please see this forum post.  

    Thanks and regards,

    -George

  • This workaround you mention is for holes in the binary right? This has, as far is i can see, nothing to do with readable characters in the binary.

    I will try the workaround anyway and report back later.

  • Please note that responses will be delayed for the rest of the week due to the local holiday.

    Thanks

    ki

  • Hi Christiaan -- the bug is that the binary file will end up being incorrect due to incorrect calculation of the load address in the case where a load and run address differ.  The workaround involves everything starting from "Use the hex utility hex2000 to create the binary file. ..." in the thread George links to above.