GithubHelp home page GithubHelp logo

souldiver / usbprog Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 41.86 MB

Automatically exported from code.google.com/p/usbprog

License: Other

Makefile 11.37% C 48.75% C++ 15.75% Perl 0.40% Shell 2.11% Groff 17.23% M4 2.98% Python 0.20% XSLT 0.23% Assembly 0.10% NSIS 0.22% Java 0.20% HTML 0.47% VHDL 0.01%

usbprog's People

Contributors

embeddedprojects avatar

Watchers

 avatar

usbprog's Issues

Support for FreeBSD

Hi,

You need to give a valid buffer even though the re-programming request is 
stalled, under FreeBSD 8+. See attached patch!

Thank you for your software!

--HPS

devices.cc.diff

--- usbprog/devices.cc.orig 2013-03-12 10:50:23.000000000 +0100
+++ usbprog/devices.cc  2013-03-12 10:50:46.000000000 +0100
@@ -334,9 +334,10 @@
     }

     int timeout = 6;
+    char buffer[8];

     Debug::debug()->trace("usb_control_msg (multiple times)");
-    while (usb_control_msg(usb_handle, 0xC0, 0x01, 0, 0, NULL, 8, 1000) < 0){
+    while (usb_control_msg(usb_handle, 0xC0, 0x01, 0, 0, buffer, 8, 1000) < 0){
         if (--timeout == 0)
             break;
         usbprog_sleep(1);

Original issue reported on code.google.com by [email protected] on 13 Mar 2013 at 3:49

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.