[avrdude-dev] [patch] Typo fix in fuses report (for 6.1-svn-20130917)

2013-09-22 Thread Ing. Daniel Rozsnyó
Hi guys, I have tried out the latest avrdude: avrdude: Version 6.1-svn-20130917, compiled on Sep 22 2013 at 17:00:32 And without any -v I get this unexpected report (E-fuse is usually with low bit count): avrdude: safemode: Fuses OK (H:01, E:DC, L:E7) With -v the error is clear:

[avrdude-dev] ftdi_syncbb (FT232R): won't erase the (m88p) chip

2013-09-22 Thread Ing. Daniel Rozsnyó
Hello, is the fuse reading and programming too different from a chip erase ? I am having trouble flashing a ATmega88PA chip - lowering the bitrate does not help (anyway at 250400 it behaves realtime, at 9600 reading the fuses takes 10-15sec! And it still wont exit correctly): *$ avrdude -c

[avrdude-dev] [patch] FT245R correct reset (was Re: ftdi_syncbb (FT232R): won't erase the (m88p) chip)

2013-09-22 Thread Ing. Daniel Rozsnyó
I was quite impatient so I started debugging with adding printf() to the ft245 code... and found out that the reset is done wrong. So I fixed it: - main issue: after some instruction (presumably chip erase) the SCK is H, so in that case, the consequent enter programming mode was of no

Re: [avrdude-dev] [patch] FT245R correct reset (was Re: ftdi_syncbb (FT232R): won't erase the (m88p) chip)

2013-09-22 Thread Ing. Daniel Rozsnyó
Actually, the SCK has to be set before powerup, so the new line goes before power setting :) Sorry, D. On 09/22/2013 08:13 PM, Ing. Daniel Rozsnyó wrote: I was quite impatient so I started debugging with adding printf() to the ft245 code... and found out that the reset is done wrong. So I

Re: [avrdude-dev] avr109 reset for Leonardo/Micro

2013-09-22 Thread Joerg Wunsch
As Anton Smirnov wrote: Can anybody explain me why Leonardo/Micro that uses avr109 are reset using the next code (butterfly.c): char mk_reset_cmd[6] = {#aR@S\r}; unsigned char mk_timeout = 0; The respective log entry is: r991 | joerg_wunsch | 2011-08-26 22:50:32 +0200 (Fri, 26

Re: [avrdude-dev] [patch] FT245R correct reset (was Re: ftdi_syncbb (FT232R): won't erase the (m88p) chip)

2013-09-22 Thread Joerg Wunsch
As Ing. Daniel Rozsnyó wrote: I was quite impatient so I started debugging with adding printf() to the ft245 code... and found out that the reset is done wrong. So I fixed it: Please don't forget to submit this to the patch tracker. I've spent much time during the last weeks for AVRDUDE,

[avrdude-dev] [bug #40085] Typo fix in fuses report (for 6.1-svn-20130917)

2013-09-22 Thread Daniel Rozsnyo
URL: http://savannah.nongnu.org/bugs/?40085 Summary: Typo fix in fuses report (for 6.1-svn-20130917) Project: AVR Downloader/UploaDEr Submitted by: rozsnyo Submitted on: Sun 22 Sep 2013 07:29:44 PM GMT Category: None

[avrdude-dev] [bug #40086] FT245R - correct reset code

2013-09-22 Thread Daniel Rozsnyo
URL: http://savannah.nongnu.org/bugs/?40086 Summary: FT245R - correct reset code Project: AVR Downloader/UploaDEr Submitted by: rozsnyo Submitted on: Sun 22 Sep 2013 07:38:21 PM GMT Category: None