I can’t seem to connect the polulu board to my macbook using arduino, the greenlight flashes for the usb port on the polulu but whenever I try to upload a basic example code to the robot arduino returns error saying avrdude: ser_open(): can’t open device “/dev/cu.usbmodem101”: No such file or directory
Failed uploading: uploading error: exit status 1,
I tried using avr-gcc and AVRDUDe but I don’t really get how to compile an example program and run it.
Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not respondi sometimes gives me this
I think the issue is the port is not connecting because no new port pops up when the board is connected to my computer
Found programmer: Id = “”; type =
Software Version = .; Hardware Version = .
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: buffered memory access not supported. Maybe it isn’t
a butterfly/AVR109 but a AVR910 device?
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: leave prog mode
Hello.
Have you ever been able to connect and upload code to your 3pi+ as expected? If your computer is not connecting to the 3pi+ at all, then you might have a charging-only USB cable, or the cable or port might somehow be damaged. Can you try a USB cable you know to be able to transmit data?
Let’s focus on trying to upload code with the Arduino IDE since I expect that to be easier. First, please make sure you are following all the instructions in the “Programming using the Arduino IDE” section of the 3pi+ 32U4 user’s guide.
If that does not work, please try following the procedures in the “Reviving an unresponsive 3pi+ 32U4” section.
- Patrick
Hey Patrick, I have a data and charging usb cable but I’m not quite sure if it is transferring data as when I plug in the cable the robot turns on and the light flashes green but on the bottom of the IDE it says /dev/cu.usbmodem101 not conneted. Should I get a new cable?
Also to reply to your first question I have never been able to connect and upload code to my 3pi+ as expected.
I recommend trying a new cable that you know works for transferring data, or checking whether the cable you have is able to transfer data with another device (e.g. a smartphone).
- Patrick