URL: <http://savannah.nongnu.org/bugs/?38659>
Summary: AVRFTDI not working anymore since svn1098 and destroys flash-contents Project: AVR Downloader/UploaDEr Submitted by: hrbn2 Submitted on: Do 04 Apr 2013 11:54:58 GMT Category: None Severity: 3 - Normal Priority: 5 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Originator Name: Tom Originator Email: Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: I tried to get avrdude working with a FT2232D, Atmega M324P and used the default FTDI pin configuration as described in "avrdude.conf". I first started with an precompilated Windows-Binary (http://download.savannah.gnu.org/releases/avrdude/avrdude-5.11-Patch7610-win32.zip). This version looks like "it's just working". But all tries to save the flash-content in a raw-binary file ends with an empty file. My hope, the latest svn version will fix it. Now i tried the last svn version 1139 from 12.03.2013 - first compiled with windows (mingw), second time compiled with linux. Both version not working anymore - i just got a Connection timeout and the flash contents was erased. Started searching the last svn version 'running' with linux and next buggy svn version ends with the result svn1068 working, svn1098 ist not working anymore. To my regret, it's to much changed between this 2 version to find the bug as outsider. >./avrdude -C ./avrdude.conf -c avrftdi -p m324p > >avrdude: AVR device initialized and ready to accept instructions > >Reading | ################################################## | >100% 0.04s > >avrdude: Device signature = 0x1e9508 > >avrdude: safemode: Fuses OK > >avrdude done. Thank you. --> looks like it's working > ./avrdude -C >./avrdude.conf -c avrftdi -p m324p -U flash:r:test.bin:r > >avrdude: AVR device initialized and ready to accept instructions > >Reading | ################################################## | >100% 0.04s > >avrdude: Device signature = 0x1e9508 >avrdude: reading flash memory: > >Reading | | 0% 0.00savrftdi.c:536 avrftdi_transmit() ftdi_write_data(pdata->ftdic, buf, buf_size + 4) != buf_size + 4: Connection timed out (110) > usb bulk write failed >avrftdi.c:536 avrftdi_transmit() ftdi_write_data(pdata->ftdic, buf, buf_size + 4) != buf_size + 4: Connection timed out (110) > usb bulk write failed >avrftdi.c:536 avrftdi_transmit() ftdi_write_data(pdata->ftdic, buf, buf_size + 4) != buf_size + 4: Connection timed out (110) > usb bulk write failed >avrftdi.c:536 avrftdi_transmit() ftdi_write_data(pdata->ftdic, buf, buf_size + 4) != buf_size + 4: Connection timed out (110) > usb bulk write failed >Reading | # | 1% 20.05s^C --> flash content destroyed! _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?38659> _______________________________________________ Nachricht gesendet von/durch Savannah http://savannah.nongnu.org/ _______________________________________________ avrdude-dev mailing list avrdude-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avrdude-dev