AnsweredAssumed Answered

__RODATA array data missing (filled with zeros)

Question asked by Matthias Nagl on Oct 24, 2018
Latest reply on Oct 26, 2018 by LPCX presso support

We are testing a modified emwin_touch_and_draw example.

There we would like to offload bitmap data to the SPIFI flash. The bitmap was converted using "Bitmap converter". Then we modified the array definition like this:

 

static __RODATA(Flash2) const unsigned char _aclogo[] = {

  /* RLE: 004 Pixels @ 000,000 */ 4, 0xE3, 0x18,

...

}

 

Compiling and uploading works. However, the variable _aclogo is filled with zeros rather then pixel data in the debugger and instead of the image, there is a black box appearing on the display.

 

What could be the reason for this problem? The memory in the project properties configuration looks reasonable.

Outcomes