In my project I have a G400 as “core” processing, and a cerberus connected on the G400 by a null modem module.
Until the last firmware, the communication was working normally. but since the last update, the serial communication between the 2 mainboards is crashing the G400.
I disabled line by line to identify the source, and the read operation on the serial port caused this.
I changed all my cables, I replace de G400 vith another one, I replaced the power module, I change the socket on the G400 (initially it was the 12, I switch on 11), I tried with GT.Interfaces.Serial.SerialStopBits.One and GT.Interfaces.Serial.SerialStopBits.Two and here is the code I use to instantiate the connection :
Gadgeteer.Interfaces.Serial sr = new GT.Interfaces.Serial(GT.Socket.GetSocket(11, true, null, null), 9600, GT.Interfaces.Serial.SerialParity.None, GT.Interfaces.Serial.SerialStopBits.Two, 8, GT.Interfaces.Serial.HardwareFlowControl.NotRequired, null);
In my project I also have a network connection, through an ENC28, which works well, but there is no way to make it works if a read operation is executing on the serial line.
- Communication between mainboards is working if I disable the network
- Network is working if I don’t call Read operation on the serial line
- Before last firmware update, both were working well…
Usually it crashes after 5 sec.
Anyone has an idea ?