Linker file for relocating binary to PSRAM (instead of internal flash)

Thread Starter


Joined Dec 10, 2011
We are using infineon XE167FM-72F, 16bit controller
We need to execute the BSL (Bootstrap Loader) from PSRAM.
PSRAM address starts from 0x00E00000 and the size is 32K
How to relocate the program to PSRAM instead of internal flash?

We are using Keil compiler. And tried editing linker file to get the mapping. the resulted hex file seems to be relocated (mapped to 0x00E00000), but it is not working from PSRAM when the controller is in the appropriate boot loading mode. The same code (mapped to internal flash)works from internal flash correctly. We are suspecting the relocation is not complete.

How can we debug PSRAM execution?