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

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

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

Jump to solution
315 Views
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 Kudos
Reply
1 Solution
296 Views
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...

 

View solution in original post

0 Kudos
Reply
2 Replies
198 Views
vegetarian1
Contributor III

Thank you very much!

0 Kudos
Reply
297 Views
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 Kudos
Reply