GithubHelp home page GithubHelp logo

seco / fast-usbserial Goto Github PK

View Code? Open in Web Editor NEW

This project forked from urjaman/fast-usbserial

0.0 1.0 0.0 4.07 MB

(Experimental) ATMega16U2 firmare - faster than arduino-usbserial

C++ 44.24% C 49.55% Makefile 5.78% Assembly 0.43%

fast-usbserial's Introduction

NOTE: This is a modified version of arduino-usbserial, and
was only tested on the ATmega16U2, and the below
readme is obsolete. On my 16U2 it is hit the 16U2 reset
with pliers and sudo make dfu :P

For better instructions (and an image) of how to flash your 16U2 / 8U2:
http://forum.arduino.cc/index.php?topic=52076.msg373873#msg373873
Also note that if your board is new enough (atleast the ones with 16U2 are) you dont
need to touch/ground the HWB (point near cap), just reset.
So you might as well see if it appears as DFU device (lsusb before and after) after only the reset.

To setup the project and upload the Arduino usbserial application firmware to an ATMEGA8U2 using the Arduino USB DFU bootloader:
2. set ARDUINO_MODEL_PID in the makefile as appropriate
3. do "make clean; make"
4. put the 8U2 into USB DFU mode:
4.a. assert and hold the 8U2's RESET line
4.b. assert and hold the 8U2's HWB line
4.c. release the 8U2's RESET line
4.d. release the 8U2's HWB line
5. confirm that the board enumerates as either "Arduino Uno DFU" or "Arduino Mega 2560 DFU"
6. do "make dfu" (OS X or Linux - dfu-programmer must be installed first) or "make flip" (Windows - Flip must be installed first)

Check that the board enumerates as either "Arduino Uno" or "Arduino Mega 2560".  Test by uploading a new Arduino sketch from the Arduino IDE.

fast-usbserial's People

Contributors

urjaman avatar

Watchers

 avatar

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.