Hi, I am using uvision 5 in windows 7 64 bit os. My device is FRDM KL46Z. In my device, i can debug any code. However, in simulation i can not debug. There is not any errors but in assembly line when i proceed with F11, i am trapping to some loop even when i did not reach the main yet. Is there someone who can use debugger with simulation?
In assembly line, i am trapping to a loop at the end of "System Init". I could not exit System Init.
As I said - some lines of code in the original startup code may not work. So you need to deactivate these lines by conditional compilation or by commenting them away. The virtual processor doesn't have any physical PLL or clock oscillator or whatever it is the code waits for so you don't need the code lines while running in the simulator - only when running on live hardware.