bugAVR Downloader/UploaDEr - Bugs: bug #40086, FT245R - correct reset code

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #40086: FT245R - correct reset code

Submitter:  Daniel Rozsnyo <rozsnyo>
Submitted:  Sun 22 Sep 2013 07:38:21 PM UTC
Votes: 100
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Duplicate Privacy:  Public
Assigned to:  rliebscher Originator Name:  Daniel Rozsnyo
Open/Closed:  Closed Release:  None
Programmer hardware:  Device type: 

Sat 13 Sep 2014 12:32:48 PM UTC, comment #3: 

Just a reminders.

I see an old bug report on FT232R.
 http://savannah.nongnu.org/bugs/?30559
 Ft232 bit-bang support

This is the same bug as this one since ft243r.c is the issue.

It seems this regression occurred when thread library changed if the discussion there is true.  At any rate, that #30559 bug needs to be closed when you close this bug.

Also. Debian maintainer applied patch with my bug report.  So this is tested there, too.
 https://tracker.debian.org/pkg/avrdude

Regards,

Osamu

Osamu Aoki <osamu>
Fri 12 Sep 2014 06:39:15 AM UTC, comment #2: 

The reset problem is fixed with patch #8511 in svn revision 1331.

The added FT232 configurations in file #32061 are also available as patch #8529.

Rene Liebscher <rliebscher>
Group Member
Thu 11 Sep 2014 01:20:04 PM UTC, comment #1: 

avrdude 6.1 fails with ftdi_syncbb (used by FT232R) with recent Arduino,
at least on my system wit 2 different FT232R setups.

The equivalent of the proposed 40086 patch was dropped into current
debian package and its problem was gone as reported to
  https://bugs.debian.org/760764 .
Please see the execution result as attached here (cleaner one than I reported to Debian).  It is clear, this patch fixes
the problem.

Here, ft232r is defined in as attached matching my pins.

Regards,

Osamu

I attach new cleaner fail-pass result.

6.1-1 debian package is without patch applied.
6.1-1.1 debian package is with patch applied.


(file #32060)

Osamu Aoki <osamu>
Sun 22 Sep 2013 07:38:21 PM UTC, original submission:  

ISSUE:

avrdude -c arduino-ft232r -p atmega88p -e

avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x1e930f
avrdude: erasing chip
avrdude: Device is not responding to program enable. Check connection.


FIXES in patch:

  - main issue: after some instruction (presumably chip erase) the SCK is H, so in that case, the consequent enter programming mode was of no success

  - the timing does not reflect the datasheet of the cpu (20ms!)

Daniel.

Daniel Rozsnyo <rozsnyo>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #32061:  .avrduderc added by osamu (1KiB - application/octet-stream - custom ft232r data used for testing)
file #32060:  avrdude-patch.log.gz added by osamu (1KiB - application/gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rliebscher (Posted a comment)
  • -email is unavailable- added by osamu (Updated the item)
  • -email is unavailable- added by dacb (Voted in favor of this item)
  • -email is unavailable- added by rozsnyo (Submitted the item)
  •  

    There are 100 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-09-12 rliebscher StatusNone Duplicate
        Assigned toNone rliebscher
        Open/ClosedOpen Closed
    2014-09-11 osamu Attached File- Added .avrduderc, #32061
    2014-09-11 osamu Attached File- Added avrdude-patch.log.gz, #32060
    2014-04-08 dacb Carbon-Copy- Added dacb
    2013-09-22 rozsnyo Attached File- Added avrdude-ft245r-reset.patch, #29196

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code