0

I am currently trying to upload code from Arduino IDE onto the board provided by pololu the A-Star 32U4 Mini SV which should act like a Arduino Leonardo or a Micro. I am uploading from a mac book air with an M1 Chip. But every time I upload it gives me the following error message. I tried resetting the board by pressing the button two times then uploading but that didn't work.

I think I have the right board and serial port selected. Could it be because I am using a adaptor that connects USBC to USB then onto the board?

Performing 1200-bps touch reset on serial port /dev/cu.usbmodem101
Waiting for upload port...
No upload port found, using /dev/cu.usbmodem101 as fallback

avrdude: Version 6.3-20190619
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/Users/jacksonding/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf"
"/Users/jacksonding/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude" "-C/Users/jacksonding/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega32u4 -cavr109 "-P/dev/cu.usbmodem101" -b57600 -D "-Uflash:w:/private/var/folders/c8/ns_vyd9d5t9b7ll716_p9jy80000gn/T/arduino/sketches/9AE8F7E30F219A1574538E031476AAE3/Arduino_Code_for_Linear_Slider.ino.hex:i"
         User configuration file is "/Users/jacksonding/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/cu.usbmodem101
         Using Programmer              : avr109
         Overriding Baud Rate          : 57600
         AVR Part                      : ATmega32U4
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PA0
         RESET disposition             : dedicated
         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    20     4    0 no       1024    4      0  9000  9000 0x00 0x00
           flash         65     6   128    0 yes     32768  128    256  4500  4500 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
           lock           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
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : butterfly
         Description     : Atmel AppNote AVR109 Boot Loader

Connecting to programmer: .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
avrdude: butterfly_recv(): programmer is not responding
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
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: exit bootloader

avrdude done.  Thank you.

Failed uploading: uploading error: exit status 1

I tried resetting the board by pressing the reset button twice and it didn't solve anything. I also tried following the instructions in the links below and that didn't work as well.

https://www.pololu.com/docs/0J61/10.1

https://www.pololu.com/docs/0J61/10.2

link to A-Star 32U4 Mini SV: https://www.pololu.com/product/3145

6
  • There seems to be a connection problem, as the upload report has "No upload port found" right in the beginning. Until your computer sees the Arduino as a USB device, an upload cannot work. Is a USB device reported at all, if you connect the 32U4, and if so, what exactly? -- Would you mind to edit your question to add a link to the 32U4, please? Commented May 19 at 11:31
  • I added the link. I am connecting a USB to USB micro b cable to the board and my computer. It is connected to my computer via a type c adaptor. However I did try directly connecting to the USB port on another computer that didn't need an adaptor and there was still the same problem. Commented May 19 at 12:49
  • Verify that your micro-b cable is not of the charging-only sort that does not contain conductors for data.
    – timemage
    Commented May 19 at 13:37
  • Since the linked pages list multiple ways, please edit your question and add for each of them what exactly happened in each step. Commented May 20 at 6:28
  • Hi guys, thanks for the suggestions! As it turns out the board was fried because when I plugged the USB cable in, no LED light on the board was lighting up. I switched to a new board and now its working. Thanks! Commented May 21 at 18:35

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.