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

Reserve Space for functions in PSRAM

Hi.

For an application i have to copy some modules to the PSRAM of a XC2287. Copying the functions works well.
In the debug-module, there is a function which prints some text via an USIC. If this function is executed without copying, it works. When executing it from PSRAM, the controller stalls.

In the .m66-file there is an error/warning which may be a reason for that:

*** '?PR?BOOTLOAD' no space reserved for execution at: E04000H
C012E2H C013A7H 0000C6H CODE REL WORD --- --- PUBL SROM ?PR?BOOTLOAD
*** '?PR?DEBUG' no space reserved for execution at: E05000H
C013A8H C017A9H 000402H CODE REL WORD --- --- PUBL SROM ?PR?DEBUG

So, how do i reserve space for those functions?

The user sections are given in this way:
?PR?BOOTLOAD%FCODE_BOOTLOAD (0xE04000)[!],
?PR?DEBUG%FCODE_DEBUG (0xE05000)[!]