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.
Using the "led_softblink_pca10040 (nRF52 PCA10040)" example project from the Pack Installer of uVision, when i set the simulation parameters like these
The core simulation works fine for me as shown here
The peripheral simulation for this device is not support.
Oh, but the problem is that it is tricky to debug the original C source code in Keil MDK. So I can only get the elf file and set up the initialization file for debugging. The initialization file is shown in the following graph.