S32K146 SRAM boot and flash boot

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

S32K146 SRAM boot and flash boot

775 Views
814420552
Contributor III

hello,

Why S32K146 without changing hardware can switch SRAM boot and eflash boot?  and how can i config SRAM boot and eflash boot?

wish your help, thanks!

0 Kudos
Reply
3 Replies

700 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello Kui Wu,

Do you mean the internal flash and RAM? If this is the case you can change to this moving the VTOR register to the starting point in flash or RAM. Also, the S32DS always configures two debug sessions, one for RAM and the other for flash.

pastedImage_1.png

Best Regards,

Alexis Andalon

0 Kudos
Reply

700 Views
814420552
Contributor III

hello Alexis,

   only select one of the configuration can run in SRAM or flash based on EVB S32K146 demo board?  how to config the following? 

Is there an option switch for SRAM boot and flash boot on the MCU hardware?

pastedImage_1.png

wish your help

 thanks

0 Kudos
Reply

700 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello 814420552@qq.com‌,

Only switching between debug session is enough to change between SRAM and flash, you don't need to change any hardware to do this. You can confirm this if you use the SRAM debug session and power-on the board.

Best Regards,

Alexis Andalon

0 Kudos
Reply