Hi all,
I'm working with CCS V8.3.0 and DSP/BIOS 5.42.02.10
I'm facing issues while generating bin file along with the .out and hex file.
1. I have tried using the CCS built in utility tool by configuring the post build to : "${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/ofd2000" "${CG_TOOL_ROOT}/bin/hex2000" "${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin" . This command generate the bin file with following warnings
warning :
warning: section E:\WORKSPACE\XYZ\Debug/XYZ.out(.trace) at
0ff0h falls in unconfigured memory (skipped)
warning: section E:\WORKSPACE\XYZ\Debug/XYZ..out(.args) at
01caf4h falls in unconfigured memory (skipped)
After the build I have checked the bin file size it is 6.49 MB. The bin file size should be nearly 360KB.
2. I have followed the steps mentioned in this post : e2e.ti.com/.../188550
After following the above steps my linker command file looks like this :
post build command : "${CG_TOOL_ROOT}/bin/hex2000" "../XYZ.cmd"
./XYZ.cmd
..\Debug\XYZ.out
-b
-image
-memwidth 8
-map XYZ.map
ROMS
{
FLASH: org = 0x600000, len = 0x60000, romwidth = 8, files = {..\Debug\XYZ.bin}
}
After using the above mentioned second method my bin file size is fine ,but this command returns the following warnings :
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/hex2000" "../XYZ.cmd"
Translating to Binary format...
"..\Debug\XYZ.out" codestart1 ==> codestart1
"..\Debug\XYZ.out" .hwi_vec ==> .hwi_vec
"..\Debug\XYZ.out" ramfuncs ==> ramfuncs
"..\Debug\XYZ.out" Flash28_API ==> Flash28_API
"..\Debug\XYZ.out" .econst ==> .econst
"..\Debug\XYZ.out" .text ==> .text
"..\Debug\XYZ.out" .cinit ==> .cinit
"..\Debug\XYZ.out" .bios ==> .bios
"..\Debug\XYZ.out" .switch ==> .switch
"..\Debug\XYZ.out" .sysinit ==> .sysinit
"..\Debug\XYZ.out" .trcdata ==> .trcdata
"..\Debug\XYZ.out" .gblinit ==> .gblinit
"..\Debug\XYZ.out" csm_rsvd ==> csm_rsvd
"..\Debug\XYZ.out" codestart ==> codestart
"..\Debug\XYZ.out" passwords ==> passwords
"..\Debug\XYZ.out" .trace ==> .trace
"..\Debug\XYZ.out" .args ==> .args
warning: section ..\Debug\XYZ.out(csm_rsvd) at 067ff00h falls in
unconfigured memory (skipped)
warning: section ..\Debug\XYZ.out(codestart) at 067ffech falls in
unconfigured memory (skipped)
warning: section ..\Debug\XYZ.out(passwords) at 067fff0h falls in
unconfigured memory (skipped)
warning: section ..\Debug\XYZ.out(.trace) at 0ff0h falls in
unconfigured memory (skipped)
warning: section ..\Debug\XYZ.out(.args) at 01caf4h falls in
unconfigured memory (skipped)
Please let me know how to solve this warning.
Regards,
Harsha