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 in Scatter loading

Hi,
I'm using AT91SAM7SE256 for developing a printer. The board contains SDRAM and NOR Flash as external memories(including the internal memory in the chip).
Using Keil's Project Option -Target I've have placed different functions and data into different memory areas as per requirement( most recently called functions are placed in internal memories and rarely called function and big chunk of data into external one).

The system is working fine, but when I'm using some more functions or variables, the initialized global variables are loaded wrong during scatter loading and variables intialization(between __main and main).

what may be the probable cause for that?
Please help me urgently.

0