I can’t upload to the Leonardo - New here and have tried EVERYTHING…
Cant get ot to work - reinstalled, etc
get the following error…
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: leave prog mode
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: exit bootloader
avrdude done. Thank you.
Error: exit status 1
Error during upload.
Upload failed
Command C:\Users\Mel\AppData\Local\Programs\XOD IDE\resources\arduino-cli.exe --config-file=C:\Users\Mel\AppData\Local\Temp\arduino-cliPwcwYW\.cli-config.yml upload --fqbn arduino:avr:leonardo --port COM4 --verbose -t C:\Users\Mel\AppData\Local\Temp\xod_temp_sketchbookm1i4FW\xod_1570138377913_sketch failed with code 1
Make sure the board is connected, the cable is working, the board model set correctly, the upload port belongs to the board, the board drivers are installed, the upload options (if any) match your board specs.
Please help
Hi
Thanx for replying
Its an original Arduino Leonardo v3 board - all works fine with Arduino IDE…
I can upload etc with the IDE, but with XOD I get the errors
I have made sure to use the correct board selection as well as port.
(currently com-4)
Strangely tho, I have noticed on the IDE that the com port toggles between com4(read) and com3(write) - I cant figure out why…
I therefore suspect coms errors…
Hope this helps
Thanx
Mel
Do you connect Arduino to the PC through the USB hub?
If so, try to connect it directly to the PC, it may help.
Yes - connected directly to PC - tried 2 seperate ports
Now getting different error…
Uploading compiled code to the board…
avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright © 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\Mel\xod\__packages__\packages\arduino\tools\avrdude\6.3.0-arduino9/etc/avrdude.conf"
Using Port : COM5
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
Still stumped…
Mel
Hm… we need to investigate it.
Can you provide more information about your OS (version) and version of the XOD IDE?
If you have another board, can you try to upload something on it? I mean, this error reproduces only with Arduino Leonardo, or you have the same behaviour with some other boards?
Until we investigate it and fix, you can use Arduino IDE to upload the code (you can get it in Deploy -> Show code for Arduino). Sorry for the inconveniences.
Hi brusher
Windows 8 (64) with latest ver of XOD and Ard IDE
Unfortunately no substitute board…maybe I can try on another PC - will report back
Thanx
OK - so it works PERFECTLY on PC2!!!
Exact same OS, etc (in fact the HDs were cloned!!!)
There is something clashing on PC1…
I have started shutting down services to see if theres any change, but so far nothing helps…
Really strange…
Mel
Does PC1 have a __lib__\xod folder in your XOD Workspace? If so, deleting it will probably resolve the problem. This folder is created when you modify a built-in patch, and having it prevents the newer versions of built-in patches from being used after you update.
NOTE: just delete the xod subfolder under __lib__, not the entire __lib__ folder.
Can you provide a configuration of the PC1? Also, does it have a USB 3.0?
Solved!!!
It’s a USB port problem - ports on MSI motherboard dont seem to work correctly…
I installed a addon USB board and used that port - and all works 100%
Thanx to all for trying to help
Mel