Hi, I am trying to use the Array Viewer feature, to read a 2MB of external RAM interpreted as follows:
__attribute__ ((section (".ram_ext"))) FMSTR_U8 fmstrapp_arrayview_buffer[2000000];
So I created an Array Viewer with fmstrapp_arrayview_buffer[0] as a variable, and then I set the length of the array to 2000000.
But something is going wrong. In the code I set all array elements to 255 (and I can confirm they are set from the debugger, as well as from the freemaster watch window). But the Array Viewer will only catch the first 2% of the values. The rest is just zeros:
Same issue if I try with a 200 KB array in internal RAM, and regardless of the communication channel (tested with TCP and PDBDM)
Any idea?
Luca
已解决! 转到解答。
Dear Luca,
yes the issue is now fixed and will be part of the November release. If you are willing to test the patch, please reach out to me directly at michal.hanak@nxp.com.
Regards,
Michal
Hello Luca,
issue confirmed. The ArrayViewer will only read up to 64kB. Larger sizes will cause premature stop and zero-fill of the rest of the buffer.
We will focus to get it fixed asap.
Thanks for a good catch (as usual),
Michal