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

SImulted serial port for monitor & interrupt

Is it possible to modify the monitor code when using a 'simulated serial' port for the monitor connection to allow it to break the code using the Stop button? I have the simulated serial port running on the external interrupt pins on port 2 of a 167CS? Both the embedded serial ports are required in the target application.

I have used other monitors with simulated serial ports that could do this.

Thanks
Paul

Parents
  • Its was in an old Hitex monitor, it could used the external interrupt pins on port 2 set at the maximum prtiority so that when an edge was received on the comms the processor could decide what it was to do with the message it received. I think it basically just sent a byte down the wire, this told the internals of the monitor to halt the program.

    You can configure MON166 to halt when an NMI is detected. All you have to do is hook up a button. I know this is the STOP button in uVision2, but it will halt the program and uVision2 will sync-up.

    Jon

Reply
  • Its was in an old Hitex monitor, it could used the external interrupt pins on port 2 set at the maximum prtiority so that when an edge was received on the comms the processor could decide what it was to do with the message it received. I think it basically just sent a byte down the wire, this told the internals of the monitor to halt the program.

    You can configure MON166 to halt when an NMI is detected. All you have to do is hook up a button. I know this is the STOP button in uVision2, but it will halt the program and uVision2 will sync-up.

    Jon

Children
No data