On Aug 8, 2004, at 10:10 PM, Brian Dean wrote: > > This is very strange. Normally, if the programmer is not responding > at all, you'll see the error message: > > avrdude: serial_recv(): programmer is not responding > > This happens if a timeout occurs while waiting for a response from the > programmer (butterfly in this case). However, if results are > received, each "avrdude: Recv:" line above would display each byte > that was received. But there are none. And I don't see a code-path > such that it would not print out the received bytes, nor display an > error message. I noticed that, but wondered why it seemed to keep going as well... > > Whoa - wait a minute. A different serial port module is used on the > Windows platform and uses the native Windows calls, there there might > be something funny going on. I was looking at the Mac/Unix posix > serial port code when I made my statement above. > > Looking at the Windows-specific code, it appears that a call to the > native Windows routine to read the data from the COM port is returning > without producing an error message, but not returning the data either. > I'm not at all familiar with native Windows APIs so I'm going to have > to defer you to the AVRDUDE mailing list on this one > (avrdude-dev@nongnu.org). Several of the AVRDUDE contributers support > the Windows version and they should be able to help figure this out. Ok, I can try that. > > If you have a Unix box (MacOS X, FreeBSD, or Linux) that you can try > it out on, that would be most useful, as that would narrow the problem > down to either Window's-only, or something that affects all our > platforms. If you have a FreeBSD box, you should be able to build the > port easily (cd /usr/ports/devel/avrdude && make install). Building > on Linux is not quite as easy, but just download the tar file from the > project area on Savannah, extract it, type 'configure && make > install'. If you have a MacOS X box, it builds similar to that on > Linux, but if you need a MacOS X binary, I can send you one pre-built > if that helps (I use a MacOS X). I don't have FreeBSD at the moment, I gave up that partition to backup my iTunes (15GB) library while I was switching to the PowerBook. I do have Linux on the same computer as Windows is loaded and of course, Mac OS X on the PowerBook, so I can give that a try. Mac OS X satisfies most of my FreeBSD needs (except for a single uniform ports system) these days. Thanks, Mike
Message
Re: [AVR-Chat] Re: avrdude and the butterfly... [LONG]
2004-08-09 by Mike Murphree
Attachments
- No local attachments were found for this message.