I can't manage to get the builtin arduino to upload!

userHead LE_E_DEV 2021-07-10 04:20:12 3494 Views6 Replies
Btw this is my first post here.

I was just having a normal day when I got an idea to make a gamepad for my LP Alpha. But like every time, nothing worked my way. The code can compile but I just can't manage to get it to upload. And thats where the troubleshooting started.

Here is the list of things I did:
1. reseting the arduino with the button
2. rebooting the LP
3. make sure the right port, board is selected
4. reinstalled the driver for the arduino
5. change the bootloader

Here is the error message I get:
Arduino: 1.8.15 (Windows 10), Board: "Arduino Leonardo"

Sketch uses 5610 bytes (19%) of program storage space. Maximum is 28672 bytes.

Global variables use 211 bytes (8%) of dynamic memory, leaving 2349 bytes for local variables. Maximum is 2560 bytes.

Forcing reset using 1200bps open/close on port COM10

PORTS {COM3, COM5, COM6, COM10, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, } => {}

PORTS {COM3, COM5, COM6, } / {COM3, COM5, COM6, COM10, } => {COM10, }

Found upload port: COM10

C:\Users\LattePanda\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\LattePanda\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -patmega32u4 -cavr109 -PCOM10 -b57600 -D -Uflash:w:C:\Users\LATTEP~1\AppData\Local\Temp\arduino_build_172540/sketch_jul08a.ino.hex:i



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 "C:\Users\LattePanda\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"



Using Port : COM10

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 = "F"; type = @

Software Version = �.u; 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.



the selected serial port

does not exist or your board is not connected



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Please!! Just anybody please send help. I am sick of troubleshooting this strange error.
Also I know that there are various posts with a simular topic but they all seem to not help.