Hey,

Who's running this code, I wanted to ask some questions.

I just upgraded my avrisp to V2 and was having some problems. It may be 
because it's an avrisp and not STK500 (my STK500 doesn't work with the new 
code because it's got a Mega8535 on it and not AT90S8535).

First off - get_sync doesn't work for me:
        avrdude: stk500v2_getsync(): can't communicate with device: resp=0x01

After that it gets the signature bytes OK.

However programming/reading memory is unreliable. If safemode is enabled it 
seems to complain about an unreliable programmer. Output like this:

        avrdude: NOTE: FLASH memory has been specified, an erase cycle will be  
        performed         To disable this feature, specify the -D option.
        avrdude: erasing chip
        avrdude: reading input file 
"/home/colin/eagle/EagBoard/C/AVR/lub/main.hex"
        avrdude: writing flash (2276 bytes):

        Writing | ###                                                | 5% 
        0.03savrdude: stk500v2_paged_write: write command failed with 128
        Writing | ################################################## | 100% 
0.07s

        avrdude: failed to write flash memory, rc=-1

        avrdude: safemode: Verify error - unable to read hfuse properly. 
Programmer
         may not be reliable.
        avrdude: safemode: Fuses OK

        avrdude done.  Thank you.

Regards,

 -Colin


_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to