Skip to content

Upload tool 'avrdude' not found. #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
RubberChicken69 opened this issue Oct 31, 2018 · 4 comments · Fixed by #103
Closed

Upload tool 'avrdude' not found. #83

RubberChicken69 opened this issue Oct 31, 2018 · 4 comments · Fixed by #103

Comments

@RubberChicken69
Copy link

Have tried fresh install a number of times on Debian 9.
This is a testing setup under DietPi in Virtualbox
Always get the same result:

Upload tool 'avrdude' not found.
root@Testing:/mnt/dietpi_userdata# ./arduino-cli upload -p /dev/ttyUSB0 --verbose --debug --fqbn Moteino:avr:MoteinoMEGA /mnt/dietpi_userdata/Arduino/test
INFO[0000] Initiating configuration
INFO[0000] Unserializing configurations from /mnt/dietpi_userdata/.cli-config.yml
INFO[0000] Checking if CLI is Bundled into the IDE
INFO[0000] Candidate IDE Directory: /mnt/dietpi_userdata
INFO[0000] CLI is not bundled into the IDE
INFO[0000] Configuration set
INFO[0000] Starting root command preparation (arduino)
INFO[0000] Formatter set
INFO[0000] Initializing package manager
INFO[0000] Loading hardware from: /mnt/dietpi_userdata/.arduino15/packages
INFO[0000] Loading package Moteino from: /mnt/dietpi_userdata/.arduino15/packages/Moteino/hardware
INFO[0000] Loaded platform platform="Moteino:[email protected]"
INFO[0000] Loading package arduino from: /mnt/dietpi_userdata/.arduino15/packages/arduino/hardware
INFO[0000] Loaded platform platform="arduino:[email protected]"
INFO[0000] Checking existence of 'tools' path: /mnt/dietpi_userdata/.arduino15/packages/arduino/tools
INFO[0000] Loading tools from dir: /mnt/dietpi_userdata/.arduino15/packages/arduino/tools
INFO[0000] Loaded tool tool="arduino:[email protected]"
INFO[0000] Loaded tool tool="arduino:[email protected]"
INFO[0000] Loaded tool tool="arduino:[email protected]"
INFO[0000] Loaded tool tool="arduino:[email protected]"
INFO[0000] Loaded tool tool="arduino:[email protected]"
INFO[0000] Loading package builtin from: /mnt/dietpi_userdata/.arduino15/packages/builtin
INFO[0000] Checking existence of 'tools' path: /mnt/dietpi_userdata/.arduino15/packages/builtin/tools
INFO[0000] Loading tools from dir: /mnt/dietpi_userdata/.arduino15/packages/builtin/tools
INFO[0000] Loaded tool tool="builtin:[email protected]"
ERRO[0000] Upload tool 'avrdude' not found. error=""
Upload tool 'avrdude' not found.

@cmaglie
Copy link
Member

cmaglie commented Oct 31, 2018

May you post your configuration? in particular the 3rd party hardware URL you are using.

@cmaglie cmaglie added the bug label Oct 31, 2018
@RubberChicken69
Copy link
Author

proxy_type: auto
sketchbook_path: /mnt/dietpi_userdata/Arduino
arduino_data: /mnt/dietpi_userdata/.arduino15
board_manager:
additional_urls:
- https://lowpowerlab.github.io/MoteinoCore/package_LowPowerLab_index.json

@RubberChicken69
Copy link
Author

RubberChicken69 commented Oct 31, 2018

This issue does not appear to be board specific, I tried with some other boards that I have lying around and while the upload tools all seem to be present, arduino-cli will not upload:

root@Testing:~# arduino-cli board list
FQBN                    Port            ID              Board Name
arduino:avr:mega        /dev/ttyACM0    2341:0010       Arduino/Genuino Mega or Mega 2560

root@Testing:~# arduino-cli upload --debug -p /dev/ttyACM0 --fqbn arduino:avr:mega /mnt/dietpi_userdata/Arduino/test3
INFO[0000] Initiating configuration
INFO[0000] Unserializing configurations from /usr/local/bin/.cli-config.yml
INFO[0000] Checking if CLI is Bundled into the IDE
INFO[0000] Candidate IDE Directory: /usr/local/bin
INFO[0000] CLI is not bundled into the IDE
INFO[0000] Configuration set
INFO[0000] Starting root command preparation (`arduino`)
INFO[0000] Formatter set
INFO[0000] Initializing package manager
INFO[0000] Loading hardware from: /mnt/dietpi_userdata/.arduino15/packages
INFO[0000] Loading package Moteino from: /mnt/dietpi_userdata/.arduino15/packages/Moteino/hardware
INFO[0000] Loaded platform                               platform="Moteino:[email protected]"
INFO[0000] Loading package arduino from: /mnt/dietpi_userdata/.arduino15/packages/arduino/hardware
INFO[0000] Loaded platform                               platform="arduino:[email protected]"
INFO[0000] Checking existence of 'tools' path: /mnt/dietpi_userdata/.arduino15/packages/arduino/tools
INFO[0000] Loading tools from dir: /mnt/dietpi_userdata/.arduino15/packages/arduino/tools
INFO[0000] Loaded tool                                   tool="arduino:[email protected]"
INFO[0000] Loaded tool                                   tool="arduino:[email protected]"
INFO[0000] Loaded tool                                   tool="arduino:[email protected]"
INFO[0000] Loaded tool                                   tool="arduino:[email protected]"
INFO[0000] Loaded tool                                   tool="arduino:[email protected]"
INFO[0000] Loaded tool                                   tool="arduino:[email protected]"
INFO[0000] Loading package builtin from: /mnt/dietpi_userdata/.arduino15/packages/builtin
INFO[0000] Checking existence of 'tools' path: /mnt/dietpi_userdata/.arduino15/packages/builtin/tools
INFO[0000] Loading tools from dir: /mnt/dietpi_userdata/.arduino15/packages/builtin/tools
INFO[0000] Loaded tool                                   tool="builtin:[email protected]"
INFO[0000] Loading package stm32duino from: /mnt/dietpi_userdata/.arduino15/packages/stm32duino/hardware
INFO[0000] Loaded platform                               platform="stm32duino:[email protected]"
INFO[0000] Checking existence of 'tools' path: /mnt/dietpi_userdata/.arduino15/packages/stm32duino/tools
INFO[0000] Loading tools from dir: /mnt/dietpi_userdata/.arduino15/packages/stm32duino/tools
INFO[0000] Loaded tool                                   tool="stm32duino:[email protected]"
ERRO[0000] Error during upload.                          error="exit status 1"
Error: exit status 1
Error during upload.
root@Testing:~#


root@Testing:/mnt/dietpi_userdata/Arduino/test2# arduino-cli compile --fqbn stm32duino:STM32F1:genericSTM32F103C /mnt/dietpi_userdata/Arduino/test2
Sketch uses 14356 bytes (21%) of program storage space. Maximum is 65536 bytes.
Global variables use 3088 bytes (15%) of dynamic memory, leaving 17392 bytes for local variables. Maximum is 20480 bytes.
root@Testing:/mnt/dietpi_userdata/Arduino/test2# arduino-cli upload -p /dev/ttyACM0 --fqbn stm32duino:STM32F1:genericSTM32F103C /mnt/dietpi_userdata/Arduino/test2
Upload tool 'maple_upload' not found.
root@Testing:/mnt/dietpi_userdata/Arduino/test2# arduino-cli upload --debug -p /dev/ttyACM0 --fqbn stm32duino:STM32F1:genericSTM32F103C /mnt/dietpi_userdata/Arduino/test2
INFO[0000] Initiating configuration
INFO[0000] Unserializing configurations from /usr/local/bin/.cli-config.yml
INFO[0000] Checking if CLI is Bundled into the IDE
INFO[0000] Candidate IDE Directory: /usr/local/bin
INFO[0000] CLI is not bundled into the IDE
INFO[0000] Configuration set
INFO[0000] Starting root command preparation (`arduino`)
INFO[0000] Formatter set
INFO[0000] Initializing package manager
INFO[0000] Loading hardware from: /mnt/dietpi_userdata/.arduino15/packages
INFO[0000] Loading package Moteino from: /mnt/dietpi_userdata/.arduino15/packages/Moteino/hardware
INFO[0000] Loaded platform                               platform="Moteino:[email protected]"
INFO[0000] Loading package arduino from: /mnt/dietpi_userdata/.arduino15/packages/arduino/hardware
INFO[0000] Loaded platform                               platform="arduino:[email protected]"
INFO[0000] Checking existence of 'tools' path: /mnt/dietpi_userdata/.arduino15/packages/arduino/tools
INFO[0000] Loading tools from dir: /mnt/dietpi_userdata/.arduino15/packages/arduino/tools
INFO[0000] Loaded tool                                   tool="arduino:[email protected]"
INFO[0000] Loaded tool                                   tool="arduino:[email protected]"
INFO[0000] Loaded tool                                   tool="arduino:[email protected]"
INFO[0000] Loaded tool                                   tool="arduino:[email protected]"
INFO[0000] Loaded tool                                   tool="arduino:[email protected]"
INFO[0000] Loaded tool                                   tool="arduino:[email protected]"
INFO[0000] Loading package builtin from: /mnt/dietpi_userdata/.arduino15/packages/builtin
INFO[0000] Checking existence of 'tools' path: /mnt/dietpi_userdata/.arduino15/packages/builtin/tools
INFO[0000] Loading tools from dir: /mnt/dietpi_userdata/.arduino15/packages/builtin/tools
INFO[0000] Loaded tool                                   tool="builtin:[email protected]"
INFO[0000] Loading package stm32duino from: /mnt/dietpi_userdata/.arduino15/packages/stm32duino/hardware
INFO[0000] Loaded platform                               platform="stm32duino:[email protected]"
INFO[0000] Checking existence of 'tools' path: /mnt/dietpi_userdata/.arduino15/packages/stm32duino/tools
INFO[0000] Loading tools from dir: /mnt/dietpi_userdata/.arduino15/packages/stm32duino/tools
INFO[0000] Loaded tool                                   tool="stm32duino:[email protected]"
ERRO[0000] Upload tool 'maple_upload' not found.         error="<nil>"
Upload tool 'maple_upload' not found.

@cmaglie
Copy link
Member

cmaglie commented Jan 7, 2019

Uhm, this issue has been automatically closed by github, but I forget to ask if the build in #103 will fix it.

@RubberChicken69 could you check if the issue is solved with #103 (comment) ?

per1234 pushed a commit that referenced this issue Nov 16, 2020
This pull request adds support for the MKRWAN LoRa board to be used with the Arduino IoT Cloud.
per1234 added a commit that referenced this issue Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants