Hi folks. I'm new with ARM microprocessors and after some internet research couldn't find anything about that, so I came here. I'm using a LPC2148 and I would like to know how the debug works in Keil uVision. I want to debug a ADC code, but I don't know how to change the input value to see it working. I've already debugged a toggle led code on uVision, but couldn't work with anything using input values, so I would really appreciate if anyone could help me. And that's it, thanks in advance.
Regards, Rodrigo
This page contains the documentation for simulation: http://www.keil.com/dd/chip/3880.htm
I've already seen this page, thanks Per, but I didn't understand how the ADx VTREG registers works. Do you know anything about that?
Yes, the debugger allows you to assign values to them.
You can even write C-like scripts that changes the ADC values over time, or based on stimuli from the running program.
Keil has a number of examples how to make use of scripts when running the simulator.
But where are this examples? I've just found some code examples, and not about the simulator.