1
Messages
This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.
Messages - jannis
2
AVRDude / Re: AVRDude Bus Pirate v4 Support
The first time it worked (it tried Binary Mode, failed, fell back to ASCII and succeeded in reading the identification and fuse-bits). Since then, everything failed. I added some debugging-output to AVRdude's buspirate.c (function entry) and here's what I found out:
- ASCII mode:
AVRdude doesn't set a mode. So after power-cycling the BP (HiZ-mode), the PowerOn-conmmand fails (not supported in that mode). Could be fixed in AVRdude but might break compatibility with v3/oder firmware?
Switching to DIO manually before running AVRdude makes PowerOn possible but fails later, setting SPI-mode manually gets me further but fails somehow later. Don't ask me why it worked on first try.
- Binary mode:
Initialisation and PowerOn working, gets stuck later. Output from AVRdude (verbose + function entries marked):
Code: [Select]
kripton@miramis ~/raspberry/bitwizard $ avrdude -c buspirate -p t44 -v -P /dev/ttyACM0
avrdude: Version 5.11.1, compiled on Jul 10 2012 at 18:06:32
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/etc/avrdude.conf"
User configuration file is "/home/kripton/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyACM0
Using Programmer : buspirate
START: buspirate_open
AVR Part : ATtiny44
Chip Erase delay : 4500 us
PAGEL : P00
BS2 : P00
RESET disposition : possible i/o
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 6 4 0 no 256 4 0 4000 4500 0xff 0xff
flash 65 6 32 0 yes 4096 64 64 4500 4500 0xff 0xff
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
Programmer Type : BusPirate
Description : The Bus Pirate
START: buspirate_enable
Attempting to initiate BusPirate binary mode...
START: buspirate_send_bin:
START: buspirate_start_spi_mode_bin
START: buspirate_send_bin:
START: buspirate_recv_bin:
BusPirate binmode version: 1
START: buspirate_send_bin:
START: buspirate_recv_bin:
BusPirate SPI version: 1
START: buspirate_send_bin:
START: buspirate_recv_bin:
avrdude: Paged flash write enabled.
START: buspirate_send_bin:
START: buspirate_recv_bin:
START: buspirate_send_bin:
START: buspirate_recv_bin:
START: buspirate_send_bin:
START: buspirate_recv_bin:
START: buspirate_send_bin:
START: buspirate_recv_bin:
START: buspirate_send_bin:
START: buspirate_recv_bin:
AVR Extended Commands version 0
START: buspirate_initialize
START: buspirate_powerup
START: buspirate_program_enable
START: buspirate_send_bin:
START: buspirate_recv_bin:
START: buspirate_cmd
START: buspirate_send_bin:
START: buspirate_recv_bin:
avrdude: initialization failed, rc=-2
Double check connections and try again, or use -F to override
this check.
START: buspirate_powerdown
START: buspirate_send_bin:
START: buspirate_recv_bin:
^C
Any ideas?
3
Bus Pirate Development / Re: Current status of BusPirate v4
As the curcuits won't change, I'll go for it :) And the 10 bucks ain't that much difference.
4
Bus Pirate Development / Current status of BusPirate v4
Hi there,
I'm interested in purchasing a BusPirate. The information one can get about v4 of the device is a bit old:
dangerousprototypes . com / docs / Bus_Pirate_v4 says it is in "Test production" (as of 2011-09-17)
dangerousprototypes . com / docs / Dangerous_Prototypes_Projects_In_Development says it is "In initial production" (not changed since February)
dangerousprototypes . com / docs / Bus_Pirate_v4 says that "developer hardware is available for $50", but the price at the shop (www . seeedstudio . com / depot / bus-pirate-v4-for-developers-p-740.html ? cPath=174) is at $37.15
So my question is: What is the current status? Can I "safely" buy a v4 or might the hardware change in the future?