Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
OA47 Guru Joined: 11/04/2012 Location: AustraliaPosts: 982
Posted: 10:35am 10 Oct 2016
Copy link to clipboard
Print this post
I am using a 150 chip with MMBasic version 4.5E and the program (which was working for some time) now crashes with ERROR: I2C is busy when it tries to update the clock from a DS3231 using Jman's RTC code. Could anyone throw some light on the possible causes?
Thanks Graeme
Zonker Guru Joined: 18/08/2012 Location: United StatesPosts: 767
Posted: 11:21am 10 Oct 2016
Copy link to clipboard
Print this post
Humm... Maybe it's time to move up to a 170 core with the fresh firmware... I once had a MM board go Jessy on me after a few days, as it was new hardware, I re did a visual on the PCB, seemed to be OK, so I re-flashed the PIC and problem went away...Not sure why... But, sometimes, weird crap happens...
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9588
Posted: 11:43pm 10 Oct 2016
Copy link to clipboard
Print this post
I would have to agree with Zonker - the 150 is quite an old version now, and there could indeed be some kind of obscure bug in there somewhere, which has never been found and squished due to MMBASIC moving up to the 170 chips.
If you want a free 170 DIL chip, flick me a PM - you only have to pay postage. We can't have you struggling along with the old 150 core nowadays..... Smoke makes things work. When the smoke gets out, it stops!
OA47 Guru Joined: 11/04/2012 Location: AustraliaPosts: 982
Posted: 11:10am 11 Oct 2016
Copy link to clipboard
Print this post
The news is that the 150 has a reprieve The issue was a hardware fault, not a firmware/software issue. The donut had disconnected from the track on the I2C data line. This could have happened any time in the past and was still making contact intermittently.
Thanks Zonker for your comments and thanks Grogster for your offer. I still have a tube of 150's to use so I would like to find jobs for them. I would hate to see them live the rest of their life living in the tube and not the outside world exercising the great work that Geoffg has done in making these little fellas fun to use.