IMXRT1064CVJ5B jumps to different locations and gives random faults, runs well on MIMXRT1064EVK

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

IMXRT1064CVJ5B jumps to different locations and gives random faults, runs well on MIMXRT1064EVK

249 Views
sidharth-458
Contributor I

Running LVGL-FREERTOS demo example on the MIMXRT1064EVK runs well, but the CVJ5B is randomly jumping midway, faults are usually seen definitely before 30 seconds. Checking disassembly for binary file and debug context disassembly at an Memory manager fault, wrong address was observed at BL instruction one time.

PXP is being used, default RAM is onboard SDRAM, code uploading in CVJ5B is through MCU-link. Newlibnano is being used on MCUXpresso IDE v11.7.1.  ""SCB->SHCSR |= SCB_SHCSR_USGFAULTENA_Msk | SCB_SHCSR_BUSFAULTENA_Msk | SCB_SHCSR_MEMFAULTENA_Msk; // enable Usage-/Bus-/MPU Fault"" has been put in main. have tried default RAM as OCRAM also , but same behavior is seen. Have tried disabling cache and running, but code runs slow and still gives the same random faults appear, mostly fails before loading( under 30 seconds). 

also sometimes on the LCD screen, rather than getting white washed it displays random vertical lines on screen on startup. Not sure if this point brings any conclusion.
Thanks in advance for any suggestions.

iMXRT1064 

0 Kudos
0 Replies