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.
Greetings:
I am attempting to use µVision3 V3.90 to load external flash on an NXP LCP2292 project. After reviewing available documentation, I have created a flash descriptor project which I have linked into my project->options->utilies->flash menu command->settings. All well and good to that point.
In my code, I've defined some test data as follows:
unsigned char data [] __attribute__((at(0x82000000))) = { 0x21,0x46,... };
When I build the test project, however, I get the following error message:
L6985E: Unable to automatically place AT section .ARM.__AT_0x82000000 from memtestmain.o with required base address 0x82000000. Please manually place in the scatter file using the --no_autoat option.
There are two obvious questions.
1) What is the format to add the no_autoat option to the scatter file (I've carefully avoided dealing with them to this point and find the available instructions somewhat cryptic)?
2) Second (and for fundamentally) am I even applying the proper technique here to load external flash directly from the Ulink?
Thanks for any comments.
Good news! I was able to get this functional. The devil, of course, in the details.