(Probably solved) Probs programming ATMega16 via ICSP
2004-02-10 by Marcus Klein
Hi all! After pulling the device out of the circuit (no, not brute force - desoldering was the task *g*) I put it in an external programmer, flashed the same hex-file and fuses as with the ICSP interface - put it back in circuit - and it worked and still works (also with ICSP). Ok, I was calling Atmel these days to find the key to this prob (it's not nice to pre-flash ks of devices if the application goes into production...) - they suppose the transfer rate on the ICSP to be to high. Low enough to flash the program and the E2PROM but a litle bit to high for the fuses. Not knowing why there might be some difficulty in timing during fuse-programming - I should check this. I can't tell anything about that, but it seems a litle bit strange to me. All goes but the fuses don't ?!? There must be a way using ICSP from the very first programming on all devices. I don't want to buy an STK 500 for high voltage p/s programming as the Atmel guy suggested - I use SMD-devices and so it might not be the best choice in my case. Is there anybody out there to bring a little bit of light into my darkness ?? Thanks a lot Marcus