This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error Msg L6985E

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.