FreeMaster can not modify variables

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

FreeMaster can not modify variables

ソリューションへジャンプ
517件の閲覧回数
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 解決策
494件の閲覧回数
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 返答(返信)
495件の閲覧回数
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 件の賞賛
492件の閲覧回数
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 件の賞賛