This commit is contained in:
kudzu_cp 2010-08-02 13:39:35 +00:00
parent ed2abdb9a2
commit 1456bd05cf
2 changed files with 20 additions and 19 deletions

View file

@ -6,20 +6,20 @@ using System.IO.Ports;
namespace Cosmos.Debug.Common.CDebugger
{
public class DebugConnectorSerial : DebugConnectorStream {
private SerialPort mPort;
//public class DebugConnectorSerial : DebugConnectorStream {
// private SerialPort mPort;
public DebugConnectorSerial(byte aPort) {
// TODO: MtW - Make COM port configurable
mPort = new SerialPort("COM" + aPort, 9600, Parity.None, 8, StopBits.One);
mPort.Handshake = Handshake.None;
mPort.Open();
Start(mPort.BaseStream);
}
// public DebugConnectorSerial(byte aPort) {
// // TODO: MtW - Make COM port configurable
// mPort = new SerialPort("COM" + aPort, 9600, Parity.None, 8, StopBits.One);
// mPort.Handshake = Handshake.None;
// mPort.Open();
// Start(mPort.BaseStream);
// }
public override void WaitConnect() {
//TODO: Serial we cant detect connection, but we can wait for first byte...
throw new NotImplementedException();
}
}
// public override void WaitConnect() {
// //TODO: Serial we cant detect connection, but we can wait for first byte...
// throw new NotImplementedException();
// }
//}
}

View file

@ -12,13 +12,14 @@
Matthijs</h3>
<ul>
<li>Ask on forums: How to debug the vsdebug pkg?</li>
<li>From debug pkg - how to get the current .cosmos project being debugged?</li>
<li>Pipe reuse wo restarting vs</li>
</ul>
<p>
Post MS5</p>
<h3>
Post MS5</h3>
<ul>
<li>Launch GDB client</li>
<li>Launch GDB client<br />
From debug pkg - how to get the current .cosmos project being debugged?<br />
&nbsp;&nbsp;&nbsp; AD7Porcess.ctor<br />
&nbsp;&nbsp;&nbsp; NameValuePair - ProjectFile</li>
<li>Build: ISOs etc get rebuilt even when Im running a non Cosmos project (such as
GDB)</li>
<li>express</li>