FreeMaster can not modify variables

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

FreeMaster can not modify variables

Jump to solution
500 Views
Dong_Luo
NXP Employee
NXP Employee

Hello,

My current project's variables, which are put at the TSA table, can be updated runtime via Freemaster UART communication, however, when changing these variables, it reported "Error 0x80000089 (Access to target resource is denied)."

Snipaste_2024-04-01_10-45-27.png

The modifying mode for the variable is "Any value within proper limits".

Dong_Luo_0-1711947083787.png

 

0 Kudos
1 Solution
477 Views
MichalH
NXP Apps Support
NXP Apps Support

Hello Dong Luo,

there are two macros to declare a variable in TSA table, please check which one you are using:

  • FMSTR_TSA_RO_VAR - for READ-ONLY variables (possibly your case?)
  • FMSTR_TSA_RW_VAR - for READ-WRITE variables

In case this does not help, you can also disable the all access checking by setting FMSTR_USE_TSA_SAFETY to 0.

Regards,
Michal

View solution in original post

0 Kudos
2 Replies
478 Views
MichalH
NXP Apps Support
NXP Apps Support

Hello Dong Luo,

there are two macros to declare a variable in TSA table, please check which one you are using:

  • FMSTR_TSA_RO_VAR - for READ-ONLY variables (possibly your case?)
  • FMSTR_TSA_RW_VAR - for READ-WRITE variables

In case this does not help, you can also disable the all access checking by setting FMSTR_USE_TSA_SAFETY to 0.

Regards,
Michal

0 Kudos
475 Views
Dong_Luo
NXP Employee
NXP Employee

Hello Michal,

Thanks for your reply. My case is using FMSTR_TSA_RO_VAR so these variables can not be modified by FreeMaster. It works after changing to FMSTR_TSA_RW_VAR.

BR, 

Dong

 

0 Kudos