This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM FVP M55 debug control setting problem

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) */
}

Parents Reply Children
  • 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.