Had to build a production test jig that (amongst other things) in circuit programs am AVR Mega8 MCU. Now the first thing you need to send these things to sit up and obey orders is $AC 53 xx yy (programming enable) and you should get $zz AC 53 xx pinged back - except I don't. I get $xx FE 53 xx. However, the instruction has worked - I can subsequently ident the chip and program it and it works fine. Only the ping is wrong.If i send the prog enab command twice, i get the correct ping second time around. I don't think its a timing issue (peppering the code with delays doesn't make any difference), nor does sending other strings prior to prog enab (though then the chip studiously ignores me, as would be expected) Any idea what might be happening here. cheers M
- posted
19 years ago