Issue with Array Viewer

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Issue with Array Viewer

跳至解决方案
2,206 次查看
lucabarbiero
Contributor IV

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:

lucabarbiero_0-1661341578274.png

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

 

 

 

0 项奖励
回复
1 解答
1,561 次查看
MichalH
NXP Apps Support
NXP Apps Support

Hello Luca,

this issue is now fixed in version 3.2.1.

Regards,
Michal

在原帖中查看解决方案

4 回复数
2,075 次查看
lucabarbiero
Contributor IV

Hi Michal, were you able to fix this, and do you know when you will release the next freemaster version?

Regards,

Luca

0 项奖励
回复
1,562 次查看
MichalH
NXP Apps Support
NXP Apps Support

Hello Luca,

this issue is now fixed in version 3.2.1.

Regards,
Michal

2,060 次查看
MichalH
NXP Apps Support
NXP Apps Support

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

2,192 次查看
MichalH
NXP Apps Support
NXP Apps Support

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