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

 
 

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

bug #40086: FT245R - correct reset code

Submitted by:  Daniel Rozsnyo <rozsnyo>
Submitted on:  Sun 22 Sep 2013 07:38:21 PM UTC  
Votes:  100  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: DuplicatePrivacy: Public
Assigned to: Rene Liebscher <rliebscher>Originator Name: Daniel Rozsnyo
Open/Closed: Closed

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>
Project MemberIn charge of this item.
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>

 

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 100 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 12 Sep 2014 06:39:15 AM UTCrliebscherStatusNone=>Duplicate
      Assigned toNone=>rliebscher
      Open/ClosedOpen=>Closed
    Thu 11 Sep 2014 01:23:17 PM UTCosamuAttached File-=>Added .avrduderc, #32061
    Thu 11 Sep 2014 01:20:04 PM UTCosamuAttached File-=>Added avrdude-patch.log.gz, #32060
    Tue 08 Apr 2014 12:56:59 AM UTCdacbCarbon-Copy-=>Added dacb
    Sun 22 Sep 2013 07:38:21 PM UTCrozsnyoAttached File-=>Added avrdude-ft245r-reset.patch, #29196

    Back to the top


    Powered by Savane 3.1-cleanup