Part Number: PROCESSOR-SDK-AM335X
Tool/software: Code Composer Studio
Hello,
I have two projects... On the BeagleBoneBlack, using CCS 7.2
Both projects work when loaded via the XDSv2 JTAG. But when I place the "app" on an SD card, one works, one doesn't.
The one that works is a small, example, "GPIO_LedBlink_bbbAM335x_armTestProject" straight out of the "pdk_am335x_1_0_7" folder.
The one that doesn't work via the SD card is one I created, and doesn't use the PDK. The script is chapping a phenomenal amount off of the OUT file. I think its way too much. But without any resources or doc, I have no idea.
The one that works:
02/05/2018 08:07 PM 98,312 app
02/05/2018 08:07 PM 98,304 GPIO_LedBlink_bbbAM335x_armTestProject.bin
02/05/2018 08:07 PM 751,583 GPIO_LedBlink_bbbAM335x_armTestProject.map
02/05/2018 08:07 PM 671,393 GPIO_LedBlink_bbbAM335x_armTestProject.out
You can easily see that the "pdkAppImageCreate.bat" script created the bin file, then created the "app" file (8 bytes larger as expected).
It reduces the BIN file to a fraction of the original OUT file, but I can't find anything that describes what it's actually doing. The "app" files works, so I can't complain...
As for the one that doesn't work...
02/05/2018 08:13 PM 98,292 app
02/05/2018 08:13 PM 98,284 RNDIS.bin
02/05/2018 08:13 PM 599,894 RNDIS.map
02/05/2018 08:13 PM 1,419,500 RNDIS.out
The script again created a BIN which is a fraction of the OUT file. In-fact, it actually smaller! Except my program is, quite understandably, larger.
Again, since I have no idea what it's doing in that step, I have no way of figuring out what is broken.
Both build reports show nothing in error in the pdkAppImageCreate.bat output:
'Invoking: GNU Linker' "C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a8 ........... -lnosys -lc -lc -Wl,--end-group 'Finished building target: GPIO_LedBlink_bbbAM335x_armTestProject.out' ' ' C:/ti/pdk_am335x_1_0_7/packages/pdkAppImageCreate.bat C:/ti/pdk_am335x_1_0_7/packages C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update C:/Users/scott/workspace_v7/GPIO_LedBlink_bbbAM335x_armTestProject/Debug GPIO_LedBlink_bbbAM335x_armTestProject AM335x arm
and
'Invoking: GNU Linker' "C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" ........... -lnosys -lc -Wl,--end-group 'Finished building target: RNDIS.out' ' ' C:/ti/pdk_am335x_1_0_7/packages/pdkAppImageCreate.bat C:/ti/pdk_am335x_1_0_7/packages C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update C:/Users/scott/workspace_v7/RNDIS/Debug RNDIS AM335x arm
Is there any clue someone can provide so I can start digging? Because CCS is just hiding everything from me that would allow me to troubleshoot.
-CSW