arjav1528 commented on PR #18367: URL: https://github.com/apache/nuttx/pull/18367#issuecomment-4528906953
> > > HI @arjav1528, have you tested this fix on an mr-canhubk3 board? > > > Hi @PetervdPerk-NXP @jarivanewijk can you test it on an mr-canhubk3 board? > > > @PetervdPerk-NXP @jarivanewijk could you please have a look at the PR and test it physically > > It hardfaults > > ``` > PC = 00000000, CycleCnt = 0519BD7E > R0 = 00000000, R1 = 20450000, R2 = FFFFFFFF, R3 = 00000000 > R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000 > R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000 > R12= 20426268 > SP(R13)= 20426248, MSP= 20426248, PSP= 00000000, R14(LR) = FFFFFFF9 > XPSR = 41000003: APSR = nZcvq, EPSR = 01000000, IPSR = 003 (HardFault) > CFBP = 00000001, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 01 > > FPS0 = 00000000, FPS1 = 00000000, FPS2 = 00000000, FPS3 = 00000000 > FPS4 = 00000000, FPS5 = 00000000, FPS6 = 00000000, FPS7 = 00000000 > FPS8 = 00000000, FPS9 = 00000000, FPS10= 00000000, FPS11= 00000000 > FPS12= 00000000, FPS13= 00000000, FPS14= 00000000, FPS15= FFFFFFFF > FPS16= 00000000, FPS17= 00000000, FPS18= 00000000, FPS19= 00000000 > FPS20= 00000000, FPS21= 00000000, FPS22= 00000000, FPS23= 00000000 > FPS24= 00000000, FPS25= 00000000, FPS26= 00000000, FPS27= 00000000 > FPS28= 00000000, FPS29= 00000000, FPS30= 00000000, FPS31= FFFFFFFF > FPSCR= 00000000 > ``` > > Most probably because the init code zeroes the RAM due to ECC initialization where it's executing from. > > https://github.com/apache/nuttx/blob/7dc6be8f082d29f81835d79366c2c6010b732165/arch/arm/src/s32k3xx/startup.S#L39-L45 could you please check again -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
