Sorry for the late reply. I just confirmed both functions are necessary to fix. The page load is used in the avrdude verify, and can confirm that this fails without your change.
> Without modification to paged_load: > > Reading | ################################################## | 100% 2.12s > > avrdude: verifying ... > avrdude: verification error, first mismatch at byte 0x7000 > 0xff != 0x0c > > With modification: > > Reading | ################################################## | 100% 2.20s > > avrdude: verifying ... > avrdude: 32228 bytes of flash verified No actions necessary. Avrdude is working as it should, this was a question as whether both functions needed to be modified (paged_load and paged_write). I only wanted to verify the fix for both as I said I would. Thanks J"org. Sincerely, Jason On Jan 3, 2012, at 2:43 PM, Joerg Wunsch wrote: > As Jason Kotzin wrote: > >> I fried my usbasp programmer last night by hooking it up backwards, >> however, I'll try and fix it tonight and try again. > > Oops. > >> I can check this by doing a verify after I program, correct? > > This is normally implied by the -U option; the -V option would turn it > off. > >> Firing up avrdude in terminal mode and dumping the address at a >> given offset worked find, but I don't imagine this is the same. > > You're right, this uses single-byte read operations, rather than > block/page reads. > > It would also be interesting whether the TPI counterparts of these > functions are also affected. Maybe Thomas Fischl is listening here, > too? (Perhaps I have to create an USBasp myself, by wiring it on > an STK500.) > > Thanks for your help so far, Jason, I just fixed these two functions > in SVN. > -- > cheers, J"org .-.-. --... ...-- -.. . DL8DTL > > http://www.sax.de/~joerg/ NIC: JW11-RIPE > Never trust an operating system you don't have sources for. ;-) > > _______________________________________________ > avrdude-dev mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/avrdude-dev _______________________________________________ avrdude-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/avrdude-dev
