AnsweredAssumed Answered

S12X: Possible to put large heap in __GPAGE_SEG RAM?

Question asked by David Poinsett on May 3, 2007
Latest reply on May 4, 2007 by CrasyCat
CodeWarrior HCS12X 4.5
S12XDP512
Banked memory model
Minimal start-up

Is it possible to put the heap in a __GPAGE_SEG at 0xF8000'G? I need a heap size of 28000. I came close to making it work by altering heap.c, the prm, and libdefs.h but malloc() choked when it ran in simulation (HeaderPtr p = 0x5A5A5A on the first iteration).

Outcomes