2004-01-28 10:01 AM
2004-01-28 06:00 AM
Dear Anyone,
I have an application running beatifully on an ST62E01 (A?). When I blow it on an ST6200C the system fails. It appears that the A/D is returning a high value. I initialte the A/D conversion with the command ''LDI ADCR,00110000b'' which looks good from the Rev C manual. Any ideas?2004-01-28 10:01 AM
Thanks anyone for thinking of this problem, but it is not the A/D.
It is the 1k memory of the ST6200, it does not start on a 64 byte boundary. I normally place look-up tables at the start of the software as it is on a boundary. The 1k Rom starts at 0BA0 which is half way into a 64 byte window, that caused horrible problems. The answer is to 'org' the code from 0BC0 and all is well. 8 hours & a headake later, all well.