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.
Can someone direct me to a way to create a .bin file in CCSV6? This is for a Tiva TM4C129. LM Flash Programmer requires a .bin file. I've looked through the posts and nothing seems to answer this question for my specific environment. A possible exception is one post saying to use tiobj2bin. When I try this, I see the following output:
C:\ti\ccsv6\utils\tiobj2bin>tiobj2bin a.out a.bin
-------------- Error message mentioning wiki here ---------------
-------------- Error message mentioning wiki here ---------------
'armofd' is not recognized as an internal or external command,
operable program or batch file.
File does not exist: at XML_TI_OFD.pm line 877
'armhex' is not recognized as an internal or external command,
operable program or batch file.
Hello Don,
Can you attach the CCS project, so that we can check? Also if you are already using CCS then you can use the CCS debug option to load the out file to TM4C129 device with the Stellaris ICDI
Regards
Amit
Following these steps for post build results in the same errors I put in the original post, where I was doing it manually:
"c:/ti/ccsv6/utils/tiobj2bin/tiobj2bin" "switcher-V9.out" "switcher-V9.bin"
PC\workspace_v6_0\switcher-V9\Debug\==c:\ti\ccsv6\utils\tiobj2bin\ was unexpected at this time.
gmake[1]: [post-build] Error 255 (ignored)
"c:/ti/ccsv6/tools/compiler/arm_5.1.6/bin/armofd" "c:/ti/ccsv6/tools/compiler/arm_5.1.6/bin/armhex" "c:/ti/ccsv6/utils/tiobj2bin/mkhex4bin"
error: failed to read "c:/ti/ccsv6/tools/compiler/arm_5.1.6/bin/armhex"
error: failed to read "c:/ti/ccsv6/utils/tiobj2bin/mkhex4bin"
gmake[1]: [post-build] Error 1 (ignored)
' '
Hello Don,
I have CCSv6 but the arm path that comes is arm_5.1.5 and not arm_5.1.6
Can you check the path for the applications?
Regards
Amit
Hello Don
Can you send a zip of the CCS project. I hope you are using TIVAWare 2.0.1 or higher and does not use RTOS?
Regards
Amit
Amit, it does use RTOS. It's version is tirtos_tivac_2_00_01_23. Here is my project:
Don
Hello Don,
I am facing an error during compilation. The com.ti.rtsc.TIRTOStivac is not getting recognized.
Can you let me know from where the original Product-type was picked?
I have TI RTOS 2.0.2.36
Regards
Amit
Amit,
I got it from the download page: http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/mcusdk/index.html. My RTOS version of 2.00.01.23 is the one prior to 2.0.2.36. Only minor differences.
Don
Hello Don,
OK. Thanks for the info. I would need to figure that part out.
Regards
Amit
Amit,
I question whether this is a compile/linker issue, since I can invoke tiobj2bin manually outside the scope of CCS and it fails. It seems like it's more of an environment issue. If you give me a known good .out file, I can try that manually and remove compile/linker as an issue.
Don
Hello Don,
If it were a compiler/linker issue then the .out file in your case will not be generated.
Regards
Amit
Hello Don,
Got it working now. Also figured out why the bin file is not getting generated. The Post Build Steps have to be a single line.
I have attached the original snapshot of the project settings (which was giving error and no bin file)
I have attached the new snapshot of the project settings (which is not giving error and generating the bin file)
Regards
Amit
oh! Thank you so much. I have the same problem. But now I've have a .bin file and can go on for next lab.