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

Simulation trouble

Hi,

I have just started using the Keil Development tools. I build a loader example based on ST IAP UART demo that work fine on a real board. Then I try to convert the target in order to test modifications with the simulator (I just set use simulator instead of use ULINK Arm debugger). The code hang on UndefinedHandler just after reset. I assume that this is a misconfiguration on simulator target, however after lots of tests I cannot find a solution. Of course I have a worse problem with application code : the code work fine on a real chip, after downloaded the bin image via ST UART demo, but I have no possibility to debug it because both development environments do not allow me to try the code. What I have to look in order to debug this kind of code on simulator?

Thanks,
Lucio