Hi All,
Sorry I missed that the used chip is a PIC18. It does have a linear addressing for the RAM location.
Define your array to a specific bank such that it spills over to the next bank.Arrays must fit entirely within one RAM bank on most PICmicro MCUs.
They may not span RAM banks on 12-bit, 14-bit or 17Cxxx devices.
(Arrays may span banks on 18Xxxx devices. Byte- and word-sized
arrays are only limited in length by the amount of memory.) The
compiler will assure that arrays will fit in memory before successfully
compiling.




Bookmarks