Hi,
I am trying to upload my sketch on my skeletonbot_4wd hercules, but I get the following error message:
Sketch uses 4652 bytes (16%) of program storage space. Maximum is 28672 bytes.
Global variables use 158 bytes (6%) of dynamic memory, leaving 2402 bytes for local variables. Maximum is 2560 bytes.
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = "�"; type =
Software Version = a.; 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
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: exit bootloader
avrdude: error: programmer did not respond to command: exit bootloader
The pics of that board I found show a 1x6 pin serial header, implying that it is based on a board without native usb, like uno/nano/etc, but you're attempting to upload with a 32u4 based board selected, which uses native usb... so I suspect that that's the issue. The instructions for uploading to it werent immediately obvious when I searched for it though
The board I selected is Arduino Robot Control. I also double checked the name on the board of the skeletonbot_4wd hercules itself, and it matches. So I am not sure what the problem is. Also, the programmer I selected from the list is AVRISP mkll.
"Arduino Robot Control" is the name of a specific Arduino board. Just because you happen to have an Arduino on a robot doesn't mean that's the right selection from the Tools > Board menu. If you read the documentation provided by Seeed for your robot, it tells you which board to select:
Before uploading, you need to select Tools->Board->Arduino Duemilanove w/ ATmega328.
Unfortunately those instructions are ridiculously outdated. The correct menu selection when using a modern version of the Arduino IDE is Tools > Board > Arduino Duemilanove or Diecimila.
Thank you so much! It finally works! I would have never thought that the board I am using does not have anything to do with the board on the Tool > Board menu, it seems counter intuitive to me.
overip:
I would have never thought that the board I am using does not have anything to do with the board on the Tool > Board menu, it seems counter intuitive to me.
I guess you misunderstood. The correct selection of the Tools > Board menu has everything to do with the board you're using. What you need to understand is that the term "robot" can refer to many things, while the term "Arduino Robot Control" refers to a very specific piece of hardware. The Tools > Board selection tells the Arduino IDE the precise configuration of the Arduino board you're using, including the microcontroller model, the clock speed, the amount of memory available. Of course that could be completely different from one robot to another, depending on what the robot was designed to do and how the designer of the robot decided to achieve those goals. So now you can see that it is silly to expect that all robots would work with a single Tools > Board definition.
overip:
Thank you so much! It finally works!
You're welcome. I'm glad to hear it's working now. Enjoy!
Per
The pics of that board I found show a 1x6 pin serial header, implying that it is based on a board without native usb, like uno/nano/etc, but you're attempting to upload with a 32u4 based board selected, which uses native usb... so I suspect that that's the issue. The instructions for uploading to it weren't immediately obvious when I searched for it though
I am having this problem with a "Pro micro" (32U4) which I have found to be very temperamental. I have two of the things, one was working fine, then an upload after a very minor change to the code crashed it. Plug the cable into the 2nd board and it uploads fine. The 1st board has done this several times, then, without apparent reason, started working again.
Right now, neither is co-operating.