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?
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