When I try to use M55 FVP and set the debug control with an M55 model, The debugger stays at Reset_Handler.
However, If I use the M33 debug control model It works and does not stay at Reset_hanlder.
Can anyone help me to deal with this problem?
Thank you
The exact stuck point is
__NO_RETURN void Reset_Handler(void){ __set_PSP((uint32_t)(&__INITIAL_SP)); <<-- here in startup_ARMCM55.c
__set_MSPLIM((uint32_t)(&__STACK_LIMIT)); __set_PSPLIM((uint32_t)(&__STACK_LIMIT));
#if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U) __TZ_set_STACKSEAL_S((uint32_t *)(&__STACK_SEAL));#endif
SystemInit(); /* CMSIS System Initialization */ __PROGRAM_START(); /* Enter PreMain (C library entry point) */}
The exact model connections I used are MPS2_Cortex_M55 and MPS2_Cortex_M33 and I used same configuration such as including axf, -C fvp_mps2.DISABLE_GATING=1 parameter.
The models named "FVP" in older MDK installs are a bit outdated. Please try with the models that get installed with the recent MDK versions like 5.39 into the ...\ARM\VHT\ folder. For Cortex-M55 use the VHT_Corstone_SSE-300.exe.
I just tried my little example with it and it runs as expected.
If possible, try with one of the preconfigured examples that are made for the particular models.