Dear fellow OMAP35x users,
I made a small ANSI-C based demo application in order to run on the OMAP3530 EVM. And for very specific purposes I need to add a small piece of Assembly code in a separate ASM file to this project. This works fine, but now I need to put this ASM source after linking into a specific code segment different from the C source. In order to do so I added the following line in my ASM source code:
.sect "cpmem"
And in addition I added the following line in my Linker Command File in the Sections part:
.cpmem > CP_MEM
And my Linker Command File also contains the proper Memory assignment like this:
CP_MEM: origin = 4020F000h, length = 00001000h
But I can compile until my fingers bleed. The map file keeps on rubbing it in that this CP_MEM section does not contain any used bytes.
In other words, my assembled ASM source does not end up where I want it to go according to my Linker COmmand File settings.
Even worse, my assembled ASM source seems to be discarded completely without trace because of these settings.
Can you give me some hints (or a smack in the face) what I am doing wrong here? Where do I mess up? Or does the Code Composer Studio CGTools version for the ARM Cortex A8 (version 4.5.0) does not allow me to do what I want with Sections on ASM level????
Looking forward to hearing from you.
Best regards, Johan.