BP Firmware v5.9
AVRDude v5.10
Trying to upload bootloader to AVR, but can't get AVRDude to read the chip.
Hi Liyin,
Are you using GNU/Linux? If so, did you update your kernel recently? I've been experiencing connection issues with another FTDI-based device that are due to a bug that recently crept into the ftdi_sio library. The errant changes have been recently reverted (http://www.spinics.net/lists/linux-usb/msg37790.html (http://http://www.spinics.net/lists/linux-usb/msg37790.html)) and should hopefully make their way back into the kernel soon...
HTH,
Tim
Hi liyin,
What command line options did you use?
I'm on Windows.
avrdude -P COM7 -p m328p -c buspirate
Anyone using BP and AVRDude on Windows?
Hmm, odd. I've got the same issue here. Windows 7 64bit.
I tested the AVRDude support immediately when I flashed v5.9, but as I didn't have any avr's handy, I only waited to see if it was detected, and when that happend I figured that, as I thought nothing had changed since v4.x, it worked again. So I falsely reported it to work again, my bad.
Anyway, got the exact same problem, one thing I noticed though is that the power supplies don't seem to come on. Testing with or without a chip connected also yields the same result. Powering a chip from a different supply doesn't change anything either.
Could you please run portmon while and post a capture of the traffic. I'll try to see what commands are causing issues:
http://technet.microsoft.com/en-us/sysi ... 96644.aspx (http://technet.microsoft.com/en-us/sysinternals/bb896644.aspx)
Wish I could, Portmon doesn't seem to be compatible with 64 bit systems, tried finding an alternative but no luck so far.
Maybe you know another serial monitor that might be compatible?
I also tried poking my other FTDI chip at the TX and RX of the FTDI on the BP, but that didnt seem to give anything valueable.
did it once for TX once for RX, but this was still on v4.2, the last one that worked I believe.
TX:
#
K`ŠJ¬S000PPP | } ~ PPP@#
RX:
Bus Pirate v3
Firmware v4.2 Bootloader v4.2
DEVID:0x0447 REVID:0x3043 (B5)
http://dangerousprototypes.com
HiZ>BBIO1SPI1ÿÿS00‘0
PýPýPýßßßÿÿÿ ÿ ÿ ÿ ÿPýPýPýßßßÿÿÿBBIO1
Bus Pirate v3
Firmware v4.2 Bootloader v4.2
DEVID:0x0447 REVID:0x3043 (B5)
http://dangerousprototypes.com
HiZ>2ú
øð|ÿúñÿÿÈÃ
Should I do the same for v5.9? maybe a different baudrate?
Thanks for the output, but there's going to be a bunch of unprintable characters that I can't decode from a web posting.
Maybe Liyin can make a dump? I'll also try to setup to program the bootloader in an Arduino and capture it myself as soon as I work on the Bus Pirate next.
Yeah that's what thought, I might be able to give it a run on another system later today, though.
Looks like the problem has been identified. Here's an updated firmware with a (temporary) fix, I'm not sure if this will be in the next release or not.