Giter Site home page Giter Site logo

avrdude-remote's Introduction

avrdude-remote

A RPC-based solution to remotely program your AVR microcontroller through avrdude!

Background

I currently have a Raspberry Pi and don't want to pay for a programmer hardware. Since using avrdude 6.1+, bitbanging using linuxgpio api can be used as an interface to get the job done, I do so. But the issue was the pain of sending the hex file over ssh and calling avrdude is pretty repeatetive and boring, this way I (and now, also you!) can merge this script in your Makefile to program the shit in one single command.

Usage

Set up the server (the machine which programmer is connected to):

$ ./server.py 0.0.0.0:8000
Listening on 0.0.0.0:8000

and on you development machine, program your device this way:

$ ./avrdude.py ras.pi.ip.addr:8000 [AVRDUDE OPTIONS RIGHT HERE (e.g. -?)]

you can just forget the setup and program your local files! say we have flash.hex:

$ ./avrdude.py ras.pi.ip.addr:8000 -p atmega8 -c usbasp -U flash:w:flash.hex:i

Any Ideas? Bugs?

Happy to dig into it!

avrdude-remote's People

Contributors

mamins1376 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mizbit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.