CM11A locked up sending spurious commands

Started by luiz, January 04, 2007, 09:10:14 AM

Previous topic - Next topic

-Bill- (of wgjohns.com)

Quote from: luiz on January 07, 2007, 07:41:11 PM
Thanks again, Charles. Since I don't use macros at all, the reset is part of the driver startup now. Will see how it behave during the next few days.

Assuming that the lock up problem is macro related, I'm still wondering what is triggering the macro in the first place. It happened Tuesday and Wednesday last week, at about 06:30am, normal on Thursday, happened again on Friday (about the same time), and worked as expected over the weekend. Could it be power fluctuations? My UPS didn't report any power problems during this period.

If Charles command actually writes to a section of the EEPROM as I assume it does, I would suggest adding a "Clear Interface" option to your software to send that command only when necessary.  If you send it every time the driver starts up, you will eventually burn out those EEPROM memory locations as they only allow for about 10,000 writes.

I recently ran into a similar problem with a commercial alarm product that was frequently writing battery status to EEPROM... It worked fine for about a year and then started showing low battery all of the time because it had burned those memory locations permanently.
-Bill- (of wgjohns.com)
bill@wgjohns.com

In the real world, the only constant is change.

When I'm online you can find me in the Home Automation Chat Room!

Charles Sullivan

Quote from: luiz on January 07, 2007, 07:41:11 PM
Thanks again, Charles. Since I don't use macros at all, the reset is part of the driver startup now. Will see how it behave during the next few days.

Assuming that the lock up problem is macro related, I'm still wondering what is triggering the macro in the first place. It happened Tuesday and Wednesday last week, at about 06:30am, normal on Thursday, happened again on Friday (about the same time), and worked as expected over the weekend. Could it be power fluctuations? My UPS didn't report any power problems during this period.

It's acting like there's effectively a timer in the CM11A EEPROM  which goes off at 6:30AM on those days of the week (and executes a garbage macro).  Nothing is required to trigger it beyond the clock reaching that time.

Bill's advice is sound regarding the not-unlimited number of times you can write to an EEPROM location.

You should only have to send that string of bytes once - there's no need to do it more than that unless the EEPROM gets corrupted again at some time in the future, and it shouldn't.  As far as I know, the only way to change anything in the EEPROM is by sending a similar 19-byte string beginning with 0xFB, then following with the 0x00.

Yesterday it worked.
Today it doesn't work.
X10 on Windows is like that.

HEYU - X10 Automation for Linux, Unix, and Mac OS X     http://www.heyu.org

SMF spam blocked by CleanTalk