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.
|
Forum Index : Microcontroller and PC projects : Altronics Colour Maximite - Mystery Cap
Page 2 of 2 | |||||
Author | Message | ||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
This is exactly correct. When the firmware access the chip it can tell if it is there or not, then it can tell if it has been set with a valid time (there are registers in the chip that provide this information). A program running in MMBasic cannot access this chip because the Colour Maximite uses a second I2C interface to access the chip. This interface was available because of the 100 pin PIC32 and is different from the I2C interface that you can access from within MMBasic. It does sounds like the crystal is faulty in Nick's CMM. Fortunately they are cheap enough and you can buy them from Altronics or Jaycar. Geoff Geoff Graham - http://geoffg.net |
||||
CircuitGizmos Guru Joined: 08/09/2011 Location: United StatesPosts: 1425 |
The CGCOLORMAX1 has the 'system' RTC wired to the same pins that the Colour Maximite. The firmware has access to this RTC. A program written in MMBasic does not - it has a different I2C port. Micromites and Maximites! - Beginning Maximite |
||||
ajkw Senior Member Joined: 29/06/2011 Location: AustraliaPosts: 290 |
So the last 5 posts confirm that the I2C commands cannot communicate directly with the RTC from Basic as I originally pointed out. Perhaps for curiosities sake Bill can point out how his does (You see I would actually like to be able to do this) My original post to Nick was intended to be a heads up about the use of i2ctime.bas to try fix his problem and that I didn't think it would work. |
||||
Nick Guru Joined: 09/06/2011 Location: AustraliaPosts: 512 |
I found the problem regarding my clock not working!! Went to Jaycar and bought another crystal for the clock and replaced the one that came with the kit. Clock now works. It was a dud crystal all along. Nick |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
Good news. I will add that one to the FAQ. Geoff Graham - http://geoffg.net |
||||
jebz Regular Member Joined: 13/06/2011 Location: AustraliaPosts: 79 |
I've found a potential smoke producing error. The ISCP overlay on the Altronics board has the key on the wrong side resulting in the reversal of the pins. If a programmer is connected smoke may be released. D2 is also missing from the circuit and D3 is drawn as a zener diode. A reason for this may be because D2 has been moved over close to IC2 on the Altronics PCB. C10, this was a challenge. I'd pay $1 more for the IC machine to put it on the board when the PIC micro was attached. I assembled my Maximite V1 and soldered the PIC on successfully but the C10 capacitor on the colour Maximite is too small to hang onto. My new colour Maximite is going, now I need to update the firmware. My appreciation to Geoff and his skill in designing this compact computer. |
||||
crez Senior Member Joined: 24/10/2012 Location: AustraliaPosts: 152 |
Just a note on what appears to be an error in the Altronics color maximite kit instructions. The diagram Fig 9 on page 11 shows the 5v on the bottom side of the 26 pin connector. It is actually on the top side. The 5v and 3.3v labels on Fig 9 should be swapped. I got caught with this when I was feeding 5v into inputs that should not go over 3.3v. David |
||||
Page 2 of 2 |
Print this page |