s32k344: how to write to internal flash? what is the algorithm/steps/code example/explanation?

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

s32k344: how to write to internal flash? what is the algorithm/steps/code example/explanation?

Jump to solution
353 Views
paulffffff
Contributor III

s32k344: how to write to internal flash?

what is the algorithm/steps/code example/explanation?

can you provide code example without autosar?

0 Kudos
Reply
1 Solution
313 Views
paulffffff
Contributor III

before compilation - I open *.mex file and "Update code". Fix absent PIN SDK files.

I found "Siul2_Port_Ip_Defines.h" - is missed.

After copy this file from another project - It can run.

View solution in original post

0 Kudos
Reply
3 Replies
314 Views
paulffffff
Contributor III

when I import this project (exactly from same repository version you point on your picture) to S32 Design Studio - it cannot be compiled.

paulffffff_0-1715093282532.png

 

0 Kudos
Reply
314 Views
paulffffff
Contributor III

before compilation - I open *.mex file and "Update code". Fix absent PIN SDK files.

I found "Siul2_Port_Ip_Defines.h" - is missed.

After copy this file from another project - It can run.

0 Kudos
Reply
326 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@paulffff

you can find C40_Ip_Example_S32K344 in your S32 DS if you already installed the RTD package.

Senlent_0-1715049782823.png

 

for you better understand the s32k3 memory, you can take a look at the application AN13388 also.

https://www.nxp.com/webapp/Download?colCode=AN13388&location=null

0 Kudos
Reply