hello,
I prepare share 12KB buffer between HC12X and XGATE, but nopaged RAM is 8KB .
How to do ?
afu
Solved! Go to Solution.
Global RAM 0xF_8000'G..0xF_FFFF'G maps in XGATE address space to 0x8000..0xFFFF. So you need to edit prm to create contiguous RAM segment there and just use it.
See demo attached. prm file defines contiguous 12k RAM segment at 0xF0000'G and suppresses corresponding 3x4k R-page segments. GLO_RAM placement points to this 12k segment.
See buf12k[] declared in xgate.h, defined in main.c. Function in main.c fills buf12k[], function in xgate.cxgate inverts all bits in buf12k[].
Global RAM 0xF_8000'G..0xF_FFFF'G maps in XGATE address space to 0x8000..0xFFFF. So you need to edit prm to create contiguous RAM segment there and just use it.
See demo attached. prm file defines contiguous 12k RAM segment at 0xF0000'G and suppresses corresponding 3x4k R-page segments. GLO_RAM placement points to this 12k segment.
See buf12k[] declared in xgate.h, defined in main.c. Function in main.c fills buf12k[], function in xgate.cxgate inverts all bits in buf12k[].
Thank you very much !
I have found the solution. In the course of creating the project selects the option " Map in RAM ", I will get 16k contiguous RAM segment.