Please login or register.

Login with username, password and session length
Pages: 1 [2]

Author Topic: CM11A locked up sending spurious commands  (Read 9764 times)

-Bill- (of wgjohns.com)

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 81
  • Posts: 1340
  • He's just this guy. You know?
    • wgjohns.com
Re: CM11A locked up sending spurious commands
« Reply #15 on: January 07, 2007, 09:48:53 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.
Logged
-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

  • Hero Member
  • *****
  • Helpful Post Rating: 94
  • Posts: 1565
    • HEYU - X10 Automation for Linux, Unix, and Mac OSX
Re: CM11A locked up sending spurious commands
« Reply #16 on: January 07, 2007, 10:30:03 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.

Logged
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
Pages: 1 [2]
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.