For my project I am using dot matrix displays for which I want to store the font data and some images which are pre defined, as code flash memory area,
All this display data takes up a lot of RAM, is there any specific library or method to use large arrays as part of program memory.
MCU: R5F100LGAFB
IDE: CS+ For CC (RL78)
Code-flash would have to be addressed as "far" data memory, I might recommend using the IAR compiler as it handles the "huge" memory qualifier that allows "far" array accesses across 64KB boundaries. Or you could use CC-RL with a simple assembly routine to handle the "huge" memory references.
Code-flash would have to be addressed as “far” data memory, I might recommend using the IAR compiler as it handles the “huge” memory qualifier that allows “far” array accesses across 64KB boundaries. Or you could use CC-RL with a simple assembly routine to handle the “huge” memory references.
See less