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

uV2 Locks when exiting debug if set to accept data via COM port

uVision2 v2.10

When I include the following in my debug.ini file, everything works OK
(properly receives data via COM1) until I attempt to exit debug mode,
at which time it locks up . . . have to ctrl-alt-del to shut down uV2.

MODE COM1 9600, 0, 8, 1 /*9600 bps, no parity, 8 data & 1 stop bit*/
ASSIGN COM1 <SIN >SOUT /*ASC output & input is done with COM1:*/
STIME = 0 /*ignore timing of simulated ASC interface*/

  • If you're running Windows NT or 2000 you can just use task manager to kill the hung uVision and restart it. Much faster than rebooting. If you're running Win9x, well...

    I remember something similar one time when I fiddled with the UART but I forget the solution (oh and I did solve by gum). For kicks, make sure uVision is the only program running and see if that makes a difference. I've noticed that uVision hangs sometimes if MS Outlook '97 is running.

    - Mark

  • I have also noticed that uVision will hang the system if it is simulating when the screensaver cuts in; it stops the system from recognising keystrokes or mouse movement to escape from the screensaver.
    On NT, the only way out is Ctrl+Alt+Del to get the Task Manager up - then everything's fine.
    On Win9x, it might well need a hard reboot. :-(