Bit mask does not work with 64bit variable

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Bit mask does not work with 64bit variable

838件の閲覧回数
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 返信

783件の閲覧回数
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 件の賞賛