falsh erase

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

falsh erase

跳至解决方案
894 次查看
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 项奖励
回复
1 解答
882 次查看
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

 

在原帖中查看解决方案

2 回复数
883 次查看
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

 

855 次查看
Jackson_Ping
Contributor II

Hi,@danielmartynek

I have understood.

Thank you very much for your answer!

 

Best Regards,

 Jackson

 

0 项奖励
回复