I'm using ARM DS 2020, I have imported a Blinky Example Project for Cortex M4 STM32 Nucleo.
When I'm trying to build a model debug connection for it and run the project on FVP Fast Model, the debug process stuck at SystemCoreClockConfiguration part and I cannot step over this instruction as well.
If I try to disable this function, it will be stuck in "startup_stm32f401xe.s" instead.
How can I set to run the Blinky program on the FVP CLCD window successfully?
Thank you very much!
Hello, I can replicate this - the code is looping in the highlighted disassembly code, waiting for a peripheral that does not exist in the model:There is an already working Blinky example available for this FVP., which you should use as your reference.In the CMSIS Pack view, locate the Blinky - CMSDK_CM4_FP (V2M_MPS2) example: Click Import. and select the FastModels build when prompted (I had already imported before taking this screenshot):This then shows the LEDs etc in the FVP screen:Looking at the rteconfig files of each project, there is an LCD driver in the MPS2 project that is simply not present in the Nucleo project.For more information on the FVP, see:https://developer.arm.com/documentation/dui0837/k/programming-reference-for-mps2-fvps/mps2---memory-maps/mps2---memory-map-for-models-without-the-armv8-m-additions?lang=enRegardsRonan
Thank you so much for your reply. It works with that project!
I'm new to this Arm DS tools. Your clear demonstration really helps me to understand it. Thanks!
View all questions in Arm Development Studio forum