The i.MX RT1010 Evaluation Kit cannot erase flash memory contents

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

The i.MX RT1010 Evaluation Kit cannot erase flash memory contents

Jump to solution
1,120 Views
Omar_hong
Contributor IV

Hi NXP,

    I used the flexspi_nor_enable_quad_mode function from the NXP MCU SDK to modify the flash register, but after execution, the flash can no longer be erased. Relevant information is as follows.

I tried using flexspi_nor_enable_quad_mode to modify the flash SR2 value to 0x00, and then changed it to 0x02. However, after execution, the flash could no longer be erased.

By the way, I have enabled both OTFAD and HAB. Given the current situation, is it possible to resolve this using the SPT tool?

note: Currently, the flash editor in SPT can only read, but cannot write or erase

Omar_hong_1-1756719549492.png

Omar_hong_0-1756720048086.png

 

 

 

0 Kudos
Reply
1 Solution
1,010 Views
Omar_hong
Contributor IV

Hi @liborukropec 

    Understood. I’ll follow up with the supplier’s FAE for confirmation.

View solution in original post

0 Kudos
Reply
4 Replies
1,103 Views
liborukropec
NXP Employee
NXP Employee

Hello Omar,

 

Currently, the flash editor in SPT can only read, but cannot write or erase

could you please provide information if you used custom FCB or if you used the simplified configuration to erase the Flash? The custom FCB (where did you get it from?) might be read-only (not having RW/Erase configuration in LUT).

The simplified Flash configuration should allow you to erase the flash. Unless you configured the Flash itself somehow.

 

Regards,

Libor

0 Kudos
Reply
1,096 Views
Omar_hong
Contributor IV

Hi @liborukropec 

  I think I was use the simplified configuration

Omar_hong_0-1756742114936.png

Before I use this function" flexspi_nor_enable_quad_mode" can still read, write and erase normally. 

I only wrote 0x00 to status register 2.

 Unless you configured the Flash itself somehow.

=>If so, do you have any suggested solutions?

0 Kudos
Reply
1,078 Views
liborukropec
NXP Employee
NXP Employee
>>=>If so, do you have any suggested solutions?

Unfortunately no, I'm not expert in this topic. I'd recommend to consult with the documentation of the memory vendor.
0 Kudos
Reply
1,011 Views
Omar_hong
Contributor IV

Hi @liborukropec 

    Understood. I’ll follow up with the supplier’s FAE for confirmation.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2161372%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThe%20i.MX%20RT1010%20Evaluation%20Kit%20cannot%20erase%20flash%20memory%20contents%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2161372%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20NXP%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3BI%20used%20the%20flexspi_nor_enable_quad_mode%20function%20from%20the%20NXP%20MCU%20SDK%20to%20modify%20the%20flash%20register%2C%20but%20after%20execution%2C%20the%20flash%20can%20no%20longer%20be%20erased.%20Relevant%20information%20is%20as%20follows.%3C%2FP%3E%3CP%3EI%20tried%20using%20flexspi_nor_enable_quad_mode%20to%20modify%20the%20flash%20SR2%20value%20to%200x00%2C%20and%20then%20changed%20it%20to%200x02.%20However%2C%20after%20execution%2C%20the%20flash%20could%20no%20longer%20be%20erased.%3C%2FP%3E%3CP%3EBy%20the%20way%2C%20I%20have%20enabled%20both%20OTFAD%20and%20HAB.%20Given%20the%20current%20situation%2C%20is%20it%20possible%20to%20resolve%20this%20using%20the%20SPT%20tool%3F%3C%2FP%3E%3CP%3Enote%3A%20Currently%2C%20the%20flash%20editor%20in%20SPT%20can%20only%20read%2C%20but%20cannot%20write%20or%20erase%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Omar_hong_1-1756719549492.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Omar_hong_1-1756719549492.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F354984i444C43BD75792D0D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Omar_hong_1-1756719549492.png%22%20alt%3D%22Omar_hong_1-1756719549492.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%22Omar_hong_0-1756720048086.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Omar_hong_0-1756720048086.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F354988i08E937515AD37A36%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Omar_hong_0-1756720048086.png%22%20alt%3D%22Omar_hong_0-1756720048086.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2165804%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20The%20i.MX%20RT1010%20Evaluation%20Kit%20cannot%20erase%20flash%20memory%20contents%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2165804%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F22782%22%20target%3D%22_blank%22%3E%40liborukropec%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20Understood.%20I%E2%80%99ll%20follow%20up%20with%20the%20supplier%E2%80%99s%20FAE%20for%20confirmation.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2162212%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20The%20i.MX%20RT1010%20Evaluation%20Kit%20cannot%20erase%20flash%20memory%20contents%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2162212%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%26gt%3B%26gt%3B%3D%26gt%3BIf%20so%2C%20do%20you%20have%20any%20suggested%20solutions%3F%3CBR%20%2F%3E%3CBR%20%2F%3EUnfortunately%20no%2C%20I'm%20not%20expert%20in%20this%20topic.%20I'd%20recommend%20to%20consult%20with%20the%20documentation%20of%20the%20memory%20vendor.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2161529%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20The%20i.MX%20RT1010%20Evaluation%20Kit%20cannot%20erase%20flash%20memory%20contents%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2161529%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F22782%22%20target%3D%22_blank%22%3E%40liborukropec%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20I%20think%20I%20was%20use%20the%26nbsp%3B%3CSPAN%3Esimplified%20configuration%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Omar_hong_0-1756742114936.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Omar_hong_0-1756742114936.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F355024i86E8A7793B2F4025%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Omar_hong_0-1756742114936.png%22%20alt%3D%22Omar_hong_0-1756742114936.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EBefore%20I%20use%20this%20function%22%20flexspi_nor_enable_quad_mode%22%20can%20still%20read%2C%20write%20and%20erase%20normally.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20only%20wrote%200x00%20to%20status%20register%202.%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23999999%22%3E%3CSPAN%3E%26nbsp%3BUnless%20you%20configured%20the%20Flash%20itself%20somehow.%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3D%26gt%3BIf%20so%2C%20do%20you%20have%20any%20suggested%20solutions%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2161412%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20The%20i.MX%20RT1010%20Evaluation%20Kit%20cannot%20erase%20flash%20memory%20contents%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2161412%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20Omar%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3ECurrently%2C%20the%20flash%20editor%20in%20SPT%20can%20only%20read%2C%20but%20cannot%20write%20or%20erase%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3Ecould%20you%20please%20provide%20information%20if%20you%20used%20custom%20FCB%20or%20if%20you%20used%20the%20simplified%20configuration%20to%20erase%20the%20Flash%3F%20The%20custom%20FCB%20(where%20did%20you%20get%20it%20from%3F)%20might%20be%20read-only%20(not%20having%20RW%2FErase%20configuration%20in%20LUT).%3C%2FP%3E%0A%3CP%3EThe%20simplified%20Flash%20configuration%20should%20allow%20you%20to%20erase%20the%20flash.%20Unless%20you%20configured%20the%20Flash%20itself%20somehow.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3ELibor%3C%2FP%3E%3C%2FLINGO-BODY%3E