This project is read-only.

Read on a disconnected I2C Bus takes forever


Repro steps:
Try a read operation on a disconnected I2C bus. All pullups on the I2C have to be removed as well.
The firmware version is 4.2 RC4. The Visual Studio solution used for the repro is attached.

The Netduino board will become unresponsive. The I2C transaction never times out nor returns nor throws an exception. Another deploy will fail. Also a ping by MFDEPLOY.EXE will fail. There will be no further communication with the board until you power cycle it.

Expected Result:
After 200ms the read should be aborted with an exception or an result of zero byte or something (_I2CDevice.Execute(transactions, 200)).

file attachments