Hi louyo,
What configuration settings are you using for your SerialPort object? The SAM7X did support a few more combinations of data bits and parity.
Most Netduino gen1 projects using SerialPort should function the same on Netduino gen2.
Chris
Parity:None, 8 bits, one stop bit, various baud rates, both ports (com1 and 2).
It is failing in the ReadResponse function, with an Unsuported length exception. It reads the framelength and then goes through about 2 more readresponse operations and then throws an exception on this line of code:
var bytesRead = _comPort.Read(_response, _responseIndex, expectedResponseLength);
Debugging is slow because:
1. I copied the code from AdaFruit (I think) and am figuring it out as I go.
2. Putting debug stuff in there sometimes causes timeouts.
3. I am in the slow group.
It seems to me that the error is from calling the _comport.Read routine with different values for the responseIndex and expectedResponseLength, but am still pursuing.
It seems like it is not a configuration problem but I am unsure of anything at the moment.
I was hoping someone was using this camera on a +2.
Thanks again,
Lou