Hello, when I build a kiel sample like Memory (USB MSD) for MCB2400, and I enabled the external bus controller (EMC) and I also use the following directive to absolutely place a variable
const unsigned crp __attribute__((section(".ARM.__at_0x1FC"))) = CRP;
my RESET vector is no longer placed at address 0 !
the problem is that the above address cannot be set during program exection. can you help?
But you already discussed this in this thread: http://www.keil.com/forum/docs/thread13963.asp
If you want Keil to take a closer look at this, you should contact Keil support instead. Use the Suppport menu at the top of the web page.
Here is what Keil have suggested - and it seems to work:
DAbt_Handler B DAbt_Handler IRQ_Handler B IRQ_Handler FIQ_Handler B FIQ_Handler AREA |.ARM.__at_0x01FC|, CODE, READONLY CRP_Key DCD 0x11223344 AREA |.text|, CODE, READONLY