cancel
Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

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

Anonymous
Not applicable

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

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
Version history
Revision #:
1 of 1
Last update:
‎Dec 19, 2008 12:00 AM
Updated by:
Anonymous
 
Contributors