FLASH erase fall

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

FLASH erase fall

Jump to solution
1,495 Views
DouDou1
Contributor III

Hi, everyone

I am using the first core of the S32K358 chip programming, when I want to erase the C40_CODE_ARRAY_0_BLOCK_0 area of the program will report an error,but I can erase other areas such as C40_CODE_ARRAY_0_BLOCK_1, what is the reason?

DouDou1_0-1734080109364.png

DouDou1_1-1734080354557.png

 

 

0 Kudos
Reply
1 Solution
1,470 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @DouDou1,

The flash block that is being programmed must not be read.

The code of the flash driver must be either in SRAM or in another flash block.

danielmartynek_0-1734336571217.png

It has been discussed a few time here on the community.

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

 

Regards,

Daniel

View solution in original post

0 Kudos
Reply
2 Replies
1,471 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @DouDou1,

The flash block that is being programmed must not be read.

The code of the flash driver must be either in SRAM or in another flash block.

danielmartynek_0-1734336571217.png

It has been discussed a few time here on the community.

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

 

Regards,

Daniel

0 Kudos
Reply
1,455 Views
DouDou1
Contributor III
Hi, @danielmartynek,
Thank you for your reply.
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2013479%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFLASH%20erase%20fall%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2013479%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%20everyone%3C%2FP%3E%3CP%3EI%20am%20using%20the%20first%20core%20of%20the%20S32K358%20chip%20programming%2C%20when%20I%20want%20to%20erase%20the%20C40_CODE_ARRAY_0_BLOCK_0%20area%20of%20the%20program%20will%20report%20an%20error%2Cbut%20I%20can%20erase%20other%20areas%20such%20as%26nbsp%3BC40_CODE_ARRAY_0_BLOCK_1%2C%20what%20is%20the%20reason%3F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DouDou1_0-1734080109364.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22DouDou1_0-1734080109364.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315779i1075E946117797E6%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22DouDou1_0-1734080109364.png%22%20alt%3D%22DouDou1_0-1734080109364.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DouDou1_1-1734080354557.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22DouDou1_1-1734080354557.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315781iD2316BB96974FF57%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22DouDou1_1-1734080354557.png%22%20alt%3D%22DouDou1_1-1734080354557.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2015740%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20FLASH%20erase%20fall%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2015740%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHi%2C%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F160001%22%20target%3D%22_blank%22%3E%40danielmartynek%3C%2FA%3E%2C%3CBR%20%2F%3EThank%20you%20for%20your%20reply.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2014271%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20FLASH%20erase%20fall%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2014271%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F230579%22%20target%3D%22_blank%22%3E%40DouDou1%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThe%20flash%20block%20that%20is%20being%20programmed%20must%20not%20be%20read.%3C%2FP%3E%0A%3CP%3EThe%20code%20of%20the%20flash%20driver%20must%20be%20either%20in%20SRAM%20or%20in%20another%20flash%20block.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22danielmartynek_0-1734336571217.png%22%20style%3D%22width%3A%20535px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22danielmartynek_0-1734336571217.png%22%20style%3D%22width%3A%20535px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315998iFF698FE4647F98E1%2Fimage-dimensions%2F535x197%3Fv%3Dv2%22%20width%3D%22535%22%20height%3D%22197%22%20role%3D%22button%22%20title%3D%22danielmartynek_0-1734336571217.png%22%20alt%3D%22danielmartynek_0-1734336571217.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EIt%20has%20been%20discussed%20a%20few%20time%20here%20on%20the%20community.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K344-C40-IP-Hardware-Fault-Problem%2Fm-p%2F1697432%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K344-C40-IP-Hardware-Fault-Problem%2Fm-p%2F1697432%3C%2FA%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3EDaniel%3C%2FP%3E%3C%2FLINGO-BODY%3E