I am having trouble establishing a connection between my Mac and my Bus Pirate V3. I believe I installed all of the necessary programs but when I try to test the connection with
avrdude –c buspirate –P /dev/buspirate –p atmega328P
I get an error of:
avrdude: ser_open(): can't open device "/dev/buspirate": No such file or directory
/dev/buspirate is the standard location for the bus pirate but maybe I need to assign a different location. Any ideas?
I also get this same error when I try connecting to the bus pirate with my linux virtual machine.
try "/dev/ttyUSBx" replace x with the correct number
you may have to use "dmesg | grep tty" to list the current devices connected
dmesg | grep tty is not returning anything. I went into /dev and listed everything in there. I tried going through some of the ports listed but couldn't get a connection with any of them.
dmesg needs root access, try using sudo
"sudo dmesg | grep tty"
you should se some output like this:
"usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB0"
this would be /dev/ttyUSB0
I was using sudo, but still was getting no result
you may need the VCP drivers from ftdi if not already installed.
http://www.ftdichip.com/Drivers/VCP.htm (http://www.ftdichip.com/Drivers/VCP.htm)
I just reinstalled those drivers and looked through my /dev directory. I found a tty called tty.usbserial-PirateV3. Using that I can connect to the bus pirate but it insists my connections to the atmega are wrong. I'll double check these but could there be a different problem causing the error:
avrdude: initialization failed, rc=-2
Double check connections and try again, or use -F to override
this check.
?
good to see it is working now, I forgot some of the ftdi chips have a DP pid, mine does not
i'm not too familiar with avrdude or avr in general, but make sure it is not held in reset, and make sure the vpu on buspirate is pulled to proper voltage.