arduino / arduino/ArduinoCore-avr

AVRISP mkII should use option avrispmkii.communication=serial

Open
#258 1 comment 1 reaction 1 assignee Claimed by @cmaglie View on GitHub
Dominant language
C
Stars
1.5k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

In programmers.txt, AVRISP mkII has the option avrispmkii.communication=usb. However, at least on my Linux systems, this does not work as avrdude fails to find any devices, outputting the following error message:

```
avrdude: usbdev_open(): did not find any USB device "usb"
```

Apparently, the serial port chosen in Arduino IDE is not used in the avrdude command. Instead, the parameter "-Pusb" is used. When the setting in question is changed to avrispmkii.communication=serial, avrdude is passed the chosen serial port and burning a bootloader works.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.