RT1176 issue from errata ERR011377

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

RT1176 issue from errata ERR011377

852 Views
_And_
Contributor I

there is a problem with starting rt1176 with flash memory connected to flexSPI1. At a memory speed of 60 MHz the device starts up, if higher then due to incorrect memory reading the device does not start up.


-the question is how to make sure that this is because of the ERR011377 problem?

-is it possible to solve this problem if the main program code is on flash flexSPI1?

-were there any changes in the revisions of this MCU? If yes, can I order several samples?

0 Kudos
Reply
2 Replies

843 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

The ERR011377 is more like FlexSPI: FlexSPI DLL lock status bit not accurate due to timing
issue and has nothing to do with your problem.

While the flash is being written or deleted, it must not be accessed in any other way. In particular, this means no code execution. Executing the FlexSPI code from the RAM is a good idea, but don't forget the constants from the '.rodata' section, which is also located in the flash. However, no other code may be executed, especially interrupts can cause problems. please check it:

https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1176-Debugging-custom-FlexSPI-Configuration-Bl...

 

Regards

0 Kudos
Reply

819 Views
_And_
Contributor I

I'm not sure we understand each other correctly. I now have the following configuration:
- Boot Mode 10 - internal boot
- Boot config - FlashSPI1 - Serial NOR (QSPI Flash)

the device does not work because the program does not start from flash memory when the memory speed is higher than 60 MHZ, the data starts to be read incorrectly (technically the data is read, but when reading at a higher speed there is a shift of 4-12 bits and the device does not work).

what are the possible reasons for the incorrect reading? And would like to receive confirmation or denial regarding the impact of ERR011377 in this situation

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2145213%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERT1176%20issue%20from%20errata%20ERR011377%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2145213%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ethere%20is%20a%20problem%20with%20starting%20rt1176%20with%20flash%20memory%20connected%20to%20flexSPI1.%26nbsp%3BAt%20a%20memory%20speed%20of%2060%20MHz%20the%20device%20starts%20up%2C%20if%20higher%20then%20due%20to%20incorrect%20memory%20reading%20the%20device%20does%20not%20start%20up.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E-the%20question%20is%20how%20to%20make%20sure%20that%20this%20is%20because%20of%20the%20ERR011377%20problem%3F%3C%2FP%3E%3CP%3E-is%20it%20possible%20to%20solve%20this%20problem%20if%20the%20main%20program%20code%20is%20on%20flash%20flexSPI1%3F%3C%2FP%3E%3CP%3E-were%20there%20any%20changes%20in%20the%20revisions%20of%20this%20MCU%3F%26nbsp%3BIf%20yes%2C%20can%20I%20order%20several%20samples%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2146110%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RT1176%20issue%20from%20errata%20ERR011377%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2146110%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI'm%20not%20sure%20we%20understand%20each%20other%20correctly.%20I%20now%20have%20the%20following%20configuration%3A%3CBR%20%2F%3E-%20Boot%20Mode%2010%20-%20internal%20boot%3CBR%20%2F%3E-%20Boot%20config%20-%20FlashSPI1%20-%20Serial%20NOR%20(QSPI%20Flash)%3C%2FP%3E%3CP%3Ethe%20device%20does%20not%20work%20because%20the%20program%20does%20not%20start%20from%20flash%20memory%20when%20the%20memory%20speed%20is%20higher%20than%2060%20MHZ%2C%20the%20data%20starts%20to%20be%20read%20incorrectly%20(technically%20the%20data%20is%20read%2C%20but%20when%20reading%20at%20a%20higher%20speed%20there%20is%20a%20shift%20of%204-12%20bits%20and%20the%20device%20does%20not%20work).%3C%2FP%3E%3CP%3Ewhat%20are%20the%20possible%20reasons%20for%20the%20incorrect%20reading%3F%20And%20would%20like%20to%20receive%20confirmation%20or%20denial%20regarding%20the%20impact%20of%20ERR011377%20in%20this%20situation%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2145234%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RT1176%20issue%20from%20errata%20ERR011377%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2145234%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EThe%20ERR011377%20is%20more%20like%20FlexSPI%3A%20FlexSPI%20DLL%20lock%20status%20bit%20not%20accurate%20due%20to%20timing%3CBR%20%2F%3Eissue%20and%20has%20nothing%20to%20do%20with%20your%20problem.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22%22%3EWhile%20the%20flash%20is%20being%20written%20or%20deleted%2C%20it%20must%20not%20be%20accessed%20in%20any%20other%20way.%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3EIn%20particular%2C%20this%20means%20no%20code%20execution.%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3EExecuting%20the%20FlexSPI%20code%20from%20the%20RAM%20is%20a%20good%20idea%2C%20but%20don't%20forget%20the%20constants%20from%20the%20'.rodata'%20section%2C%20which%20is%20also%20located%20in%20the%20flash.%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3EHowever%2C%20no%20other%20code%20may%20be%20executed%2C%20especially%20interrupts%20can%20cause%20problems.%20please%20check%20it%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22%22%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-RT-Crossover-MCUs%2FRT1176-Debugging-custom-FlexSPI-Configuration-Block%2Ftd-p%2F1528009%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-RT-Crossover-MCUs%2FRT1176-Debugging-custom-FlexSPI-Configuration-Block%2Ftd-p%2F1528009%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%20class%3D%22%22%3ERegards%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E