question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using USBasp with Deviot

See original GitHub issue

I’d like to use a USBasp to program my Atmega chip, for which I am using the following configuration in my platformio.ini file:

[env:prod]
platform = atmelavr
board = atmega328pb
board_f_cpu = 8000000L
framework = arduino
upload_protocol = usbasp
upload_flags = -Pusb

This way of uploading does not need a serial port, as USBasp shows up as a device in /dev/bus/usb/.... However the Deviot interface still prompts for a serial port on upload, blocking the process.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
gepdcommented, Feb 12, 2018

fixed in dev.15, now it will automatically detect the programmer in platformio.ini

1reaction
m4rcu5commented, Feb 12, 2018

👍 Like a charm!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Use USBasp Programmer with Arduino Boards
In this video I show you how to program your Arduino boards using USBasp programmer. In the video I connect an USBasp programmer...
Read more >
4. Arduino for Production! How to use the USBasp ... - YouTube
Purchase my new book: Arm Microcontroller Programming and Circuit Building Volume ...
Read more >
Programming the 3DoT using USBasp - Arxterra
The USBasp programmer needs to have the correct drivers installed to work. Step 2: Plug in the USBasp to a USB port, and...
Read more >
Programming Microcontrollers With a USBasp Programmer in ...
1. Open your web browser and head to https://zadig.akeo.ie/ Using this tool, we first install the correct driver onto the USBasp. Hit the download button...
Read more >
USBASP ICSP Programmer Quickstart Guide - Freetronics
USBasp is an ICSP (In Circuit Serial Programming) adapter that allows you to install new bootloaders and firmware on common AVR microcontrollers, such...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found