URL:
<http://savannah.nongnu.org/bugs/?44848>
Summary: OS X and avrmkII, again
Project: AVR Downloader/UploaDEr
Submitted by: jesid
Submitted on: Wed 15 Apr 2015 03:18:01 PM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: jesid
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Hi
this bug is related to my previous bugfix #41357.
I recently started to reuse my old avrmkII to flash ATXmegas.
Every second flashing attempt reports exactly 2 errors:
avrdude: stk500v2_recv_mk2: error in USB receive
avrdude: stk500v2_recv_mk2: error in USB receive
After that one execution works fine before everything starts over again...
Everything works fine. It just takes a lot of time to complete the task.
I recommend to undo my bugfix #41357. usb_reset() removes this errors and
speeds up the deployment. Since my last bugfix everything got updated. Now OS
X does not seem to be sensible to usb_reset() anymore. Well, at least on my
system... Honestly, I have no clue what has changed.
BTW: I am using: avrdude 6.1, latest OS X, and latest avrmkII firmware.
A quick note about the avrmkII->atxmega programming performance:
In the error-less case it takes about 6 sec for the devices to get in sync.
After that it works fast as hell. I don't know whether the processor, the
avrmkII, or avrdude is to blame for. Just wanted to mention this. Here is a
log including some timing notes:
avrdude -px128a1 -cavrispmkII
-Uflash:w:../00_EclipseWorkspaces/AVR/ATxmegaTest/Release/ATxmegaTest.hex:a
-vvvv
avrdude: Version 6.1, compiled on Apr 15 2015 at 01:36:32
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/usr/local/etc/avrdude.conf"
User configuration file is "/Users/sid/.avrduderc"
User configuration file does not exist or is not a regular file,
skipping
Using Port : usb
Using Programmer : avrispmkII
avrdude: usbdev_open(): Found AVRISP mkII, serno: 000200100981
{{{{{{{{ waits for about 1sec }}}}}}}}}}
avrdude: Sent: . [01]
avrdude: Recv: . [01] . [00] . [0a] A [41] V [56] R [52] I [49] S [53] P [50]
_ [5f] M [4d] K [4b] 2 [32]
avrdude: stk500v2_getsync(): found AVRISP mkII programmer
{{{{{{{{ waits for about 5sec }}}}}}}}}}
AVR Part : ATxmega128A1
Chip Erase delay : 0 us
PAGEL : P00
BS2 : P00
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 0
StabDelay : 0
CmdexeDelay : 0
SyncLoops : 0
ByteDelay : 0
PollIndex : 0
PollValue : 0x00
Memory Detail :
{{{{{{{{ from here on everything is fast as usual }}}}}}}}}}
Thanks, awesome work!
Juergen
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?44848>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
avrdude-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev