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…
Sorry, you need to tell us the BEFORE version and the AFTER version. What version were you running when it worked, and what version are you now running (now broken). Are the versions above the before or after?
The cerberus on the other side is empty (I removed all modules to do the test) and I tried on every “U” socket.
I also remark some other problem with the serial line :
On G400/USB Host is connected an external GPS antenna, sometimes I get an exception meaning that the device is not recognized, sometimes I get bad infos from the GPS (message aren’t complete) and sometimes it works