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.