Comments (8)
Joerg Wunsch <joerg_wunsch>
Sat 17 Sep 2005 07:47:19 PM UTC
Do you have a chance to test the latest CVS version?
The initialization has been modified for the butterfly/AVR109,
so your case might have been fixed as a side-effect.
from avrdude.
Sun 16 Oct 2005 04:16:07 AM UTC
I am having the exact same problem. I have tried 5.0BETA as well as 5.0 with no luck. In 5.0 I tried changing timeout.tv_usec as mentioned above but saw no difference after recompiling.
A few important differences, I am using Darwin 10.4.2 and a keyspan USB <-> Serial adapter.
After typing in a standard avrdude command such as:
avrdude -p m163 -P /dev/tty.USA19H1b1P1.1 -c stk500
the terminal simply hangs. One interesting note, when I unplug the usb cable for the adapter, instantly I recieve the following error:
avrdude: ser_open(): can't open device "/dev/tty.USA19H1b1P1.1": Device not configured
from avrdude.
Nick Lott
Tue 24 Jan 2006 12:53:12 AM UTC
I have tested on Mac OS X 10.4.4 with a PL2303 device and have no problems. This may be a driver issue??
from avrdude.
Max Egger
Thu 09 Mar 2006 05:14:41 PM UTC
I had the same problem with a Keyspan USA-19HS connected to the SP Duo 2.1, and also with the STK500 board (old protocol), using AVRDUDE 5.1 and Darwin 8.5.0 (OS X 10.4.5). After calling AVRDUDE, the terminal hung until I unplugged the serial adapter, returning the error mentioned above.
I solved it by adding the O_NDELAY flag to the open() call in ser_open(), so it ignores the state of the DCD line. Now it works just fine.
Here's the diff of ser_posix.c:
--- ser_posix_orig.c 2006-03-07 18:17:53.000000000 +0100
+++ ser_posix.c 2006-03-07 18:17:26.000000000 +0100
@@ -137,7 +137,7 @@
/*
- open the serial port
/
- fd = open(port, O_RDWR | O_NOCTTY /| O_NONBLOCK*/);
+ fd = open(port, O_RDWR | O_NOCTTY | O_NDELAY /| O_NONBLOCK/);
if (fd < 0) {
fprintf(stderr, "%s: ser_open(): can't open device "%s": %s\n",
progname, port, strerror(errno));
from avrdude.
Joerg Wunsch <joerg_wunsch>
Thu 09 Mar 2006 08:02:15 PM UTC
Curious, does OSX offer dual /dev/ttyXXX vs. /dev/cuaXXX
devices? AVRDUDE is meant to use the latter ones (which
will ignore absense of DCD when opening).
from avrdude.
Nick Lott
Fri 10 Mar 2006 12:02:15 AM UTC
Osx has both TTY.XXXXX and cu.XXXX
I use avrdude with /dev/cu.usbserial/ and it works great.
Is it mentioned in the documentation to use these devices rather than the TTY versions?
from avrdude.
Joerg Wunsch <joerg_wunsch>
Mon 21 Aug 2006 12:09:33 PM UTC
Pilot error: use cuXXX rather than ttyXXX.
Only documentation update is needed.
from avrdude.
Joerg Wunsch <joerg_wunsch>
Mon 21 Aug 2006 12:11:30 PM UTC
Oops, "analyzed" is not a good state: it prevents the bug
report from being displayed in the default search.
from avrdude.
Related Issues (20)
- Parallel port silently not working HOT 9
- No way to set fuses for ATTiny 1626 / UPDI ? HOT 1
- Bootrow r/w does not work for `-c serialupdi` HOT 7
- Terminal erase command HOT 8
- JTAGICE3 EDBG communication mode relies on hardcoded USBVID HOT 7
- Unable to flash using Avrdude on a 14'' M1 Macbook Pro HOT 2
- JTAG2UPDI: avrdude error: cannot find programmer id jtag2updi HOT 3
- Auto-build avrdude.pdf from texinfo sources HOT 4
- Correct part is not necessarily listed first when establishing connection HOT 7
- avr_opcodes.c: conflicting types for ‘op16_is_mnemo’ due to enum/integer mismatch HOT 1
- avrdude documentation typo(s) attemps HOT 1
- Unable to write LOCK bit byte to JTAG3_TPI HOT 3
- Does avrdude *have to* run as root in Linux for `-c xplainedmini_updi` (jtag3)? HOT 3
- Unexpected auto-erase consequences HOT 7
- `-E reset` and `-E noreset` support for the USBasp programmer
- Writing BOOTROW for Curiosity Nano HOT 3
- No programmers available
- winbond 25q64fv HOT 2
- AVR32 support HOT 5
- [MacOS] Avrdude built using autotools doesn't work HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avrdude.