I tried to simulate the instruction execution on Arduino nano 33 ble sense. So using Keil MDK, I selected nrf52480 as a device for simulation and used the initialization file to debug from the main function. But when I started debug session, the simulation stayed at the first line assembly code at the address 0x00000000. I doubted that I haven't set up the right value of CPU DLL and Dialog DLL. The default value of CPU DLL is "SARMCM3.DLL -MPU" and that of Dialog DLL is "DCM.DLL -pCM4". Very appreciate it if someone can answer my question.
What was the previous instruction?
At the beginning of the debugging session, the first instruction is at "SetSysClock_PLL_MSI". Then the debugging session will invoke "UART_SetConfig" and "Set_GPIO_Clock". But when I run the debugging command "step over", it will execute "Reset_Handler" many times and I am not sure if the debugging session is stuck in this function. However, when I run the code and randomly stop code execution, I find these functions mentioned above from the "call stack window".