Bit mask does not work with 64bit variable

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

Bit mask does not work with 64bit variable

994 次查看
martinrieser
Contributor I

If we configure in Freemaster 3.0.3.6 a bitmask to a 8byte (64bit) variable, it doesen't work. The bitmask has no effect to the value.

pastedImage_1.png

Best Regards,

Martin

0 项奖励
回复
1 回复

939 次查看
MichalH
NXP Apps Support
NXP Apps Support

Dear Martin,

thank you for reporting this. I confirm two issues - will address it in the next release:

  • the mask value is limited to 32 bits only
  • masked-write of 64bit variable is rejected

Reading a 64bit variable, shifting it and masking with a mask value limited to 32bits should work without issues. 

As a workaround, you can define two helper 4-byte variables with an addresses "symbol" and "symbol+4" - and access them separately.

Regards,

Michal

0 项奖励
回复