Bit mask does not work with 64bit variable

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bit mask does not work with 64bit variable

992 Views
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 Kudos
Reply
1 Reply

937 Views
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 Kudos
Reply