Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

Using the Keil Debugger with a program that uses the other serial port

Using the Keil Debugger with a program that uses the other serial port

Anonymous
Not applicable
Question: Is it possible to use the Keil Debugger with a firmware that uses the other serial port? Does the serial interrupt that halts the debugger affect the serial transmissions of the other UART?

 

Answer:

The limitation in this method of debugging any interrupt based firmware is that the debug environment is not real-time. Whereas the firmware will be running in real-time. So the interrupt may not get serviced or reach completion in time since the firmware is being stepped through or held at a particular line (to analyze the variables). Hence the process based on the interrupt may fail though it would have succeeded if the firmware was running in real-time. The debugger is a good tool for debugging code flow but may not be as useful when working with interrupts.

0 Likes
145 Views
Contributors