We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am having difficulty with the RealView linker crashing when trying to link variables to absolute addresses above ~ 0x70000000. For example, here is three different methods I've tried (trying to achieve the same thing) that cause the linker to crash:
#include <absacc.h> // Crash Method 1 //#pragma arm section rwdata = ".ARM.__AT_0xE01FC040" //volatile unsigned long memmap; //#pragma arm section rwdata // Crash Method 2 //volatile __attribute__((section(".ARM.__AT_0xE01FC040"))) unsigned long memmap; // Crash Method 3 volatile unsigned long memmap __at (0xE01FC040); int main(void) { while(1); }
-thanks, Kevin
Hi Kevin, I tried your snippet and it compiles and links fine. Are you using RV-MDK 3.10?
Ahh!?
No, I'm using version 3.0.0.951. I'll see about getting the latest version and giving that a try.
Thanks. Kevin
That did the trick! Thanks.