falsh erase

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

falsh erase

Jump to solution
896 Views
Jackson_Ping
Contributor II

Hello,
Recently I was working on a project using the S32K344 chip, and while using flash I found a problem that the area between 0x0040 0000 and 0x0050 0000 could not be erased. However, erasing after 0x0050 0000 is no problem.

0 Kudos
Reply
1 Solution
884 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Jackson_Ping,

The memory in the range of 0x400000 - 0x500000 is Block 0.

S32K3xx_Memory_Map.xlsx

danielmartynek_0-1701437173913.png

While the flash controller is performing a flash operation at Block 0, the cores and other masters must not access the block.

Refer to AN13388 S32K3 Memories Guide

Here is a discussion on how to place the C40_Ip driver into SRAM:

https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/1697432

 

Regadrs,

Daniel

 

View solution in original post

2 Replies
885 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Jackson_Ping,

The memory in the range of 0x400000 - 0x500000 is Block 0.

S32K3xx_Memory_Map.xlsx

danielmartynek_0-1701437173913.png

While the flash controller is performing a flash operation at Block 0, the cores and other masters must not access the block.

Refer to AN13388 S32K3 Memories Guide

Here is a discussion on how to place the C40_Ip driver into SRAM:

https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/1697432

 

Regadrs,

Daniel

 

857 Views
Jackson_Ping
Contributor II

Hi,@danielmartynek

I have understood.

Thank you very much for your answer!

 

Best Regards,

 Jackson

 

0 Kudos
Reply