How to place a variable on a specific address in flash?

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

How to place a variable on a specific address in flash?

ソリューションへジャンプ
396件の閲覧回数
vegetarian1
Contributor III

Hello,

I want to place a variable on a specific address in flash. Chip is S32K312 and I'm using S32DS.

Is '_at_' command effect in S32DS? How to do that?

Thanks for your attention!

0 件の賞賛
返信
1 解決策
377件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信
2 返答(返信)
279件の閲覧回数
vegetarian1
Contributor III

Thank you very much!

0 件の賞賛
返信
378件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@yangbo1

You can use key words "attribute" to place a variable or function on a specific address.

https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Run-a-routine-from-RAM-in-S32-De...

 

0 件の賞賛
返信