Need help on hang issue

Related to the development libraries, released by Curt Binder
Post Reply
rygh
Posts: 21
Joined: Wed Jun 08, 2011 5:07 pm

Need help on hang issue

Post by rygh »

As mentioned in a different thread, I have a problem where the RA hangs.
It can vary from a few hours to a few days.
It recovers when I power cycle. I have not tried recovering through USB.

It was very reliable until about a week ago.

Changes since then:
1) I changed my special communication port code.
I talk to an external micro-controller using the ATO pin.
The old way was a short function that burst a set of pulses.
I now have a slower set of pulses, based on state.
2) I upgraded to the latest development library. From 2 versions back.
And I did it using winmerge, not starting over from scratch.
But there really were not many differences.
3) I wrote a small routine to control doser relays directly.
Relay.on()
It had a bug where it wrote non-stop, but that has been fixed.

Overall changes between standard library and my code are fairly small.
1) The special comm.
2) The special relay.
3) I tweaked the GUI, to eliminate T3
4) I tweaked the GUI to change range on temp+ph (in #define)

The only hardware like change is that I have a 2 wire cable connecting
the micro-controllers.
And there is a slight concern there on ground bounce issues, since they are on
completely different power supplies.
But that cable is the same since it was reliable.

Questions:
1) Are there any signs of flakiness or new bugs in the new libraries?
2) Any concerns with writing Relay.on / Relay.off directly, from main loop?
3) *Do I need to update the other Arduino libraries with the new dev lib?
I only touched the reef-angel libs, and worry about some dependency.

Thanks.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Need help on hang issue

Post by rimai »

Are you using wavemaker function?
I've heard of koralias cause uC to hang.
1. Not that I know of.
2. No
3. No
Roberto.
Post Reply