Hello, my problems started since I updated firmware with version 1.7.1. I have Cobra EMX device, and I2C simply stopped working after firmware was updated.
I have Relay16 board and IO40 which are tested, but I2CDevice.Execute return only 0.
I have checked all that. My hw is affected with commands I expected, but don’t respond.
…
xaction[0].Buffer[0] = 0x02;
xaction[0].Buffer[1] = (byte)channels;
if (I2C.Execute(this.config, xaction, 100) == 0)
{
new Exception(“Failed to send I2C data”);
}
I2C.Execute method return 0, but there is no any exception about this. This is making me crazy. Is there any way to check is that channel still ok, but I don’t expect being burn it. I tried to change addresses of I2C hardware, but this didn’t help.
Before that update, I had IO40 and Relay16 on same pins, with different addresses, of course, and everything worked fine.
I tried to make new application, add driver for relay16, but nothing… No answers, no exceptions.
After installing firmware, and putting Cobra into it’s place, I noticed that green LED on Relay16 board was turned on, even switch was turned to off. I didn’t notice that Relay16 was getting power from Cobra for last few weeks, while I was experimenting.
I had few situations that Relay16 board was disabled, but Cobra worked good. Then, somethings happen. All became bad after firmware update, but maybe I made some stupid mistake, I still don’t now.
yes you can replace the currently installed GHI SDK with an older version, all you need to do is get the older version. But to me you have an electrical problem in what you’ve wired up or had wired up, and you’ve done something totally unrelated to the SDK and firmware update - maybe a shorted wire or something.