FreeMaster can not modify variables

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

FreeMaster can not modify variables

跳至解决方案
804 次查看
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 项奖励
回复
1 解答
781 次查看
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 项奖励
回复
2 回复数
782 次查看
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 项奖励
回复
779 次查看
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 项奖励
回复