hub_isp

from the Hack A Day link http://hackaday.com/2010/06/07/usb-hub-used-for-in-system-programming/

 

caveat:  I made the code compile, i haven’t tested it, but it ought (not) to work.  ( I’d double check the 0b conversions in avr_isp.c against the original if it doesn’t work )

2010 MSVC project file.

 

After chatting with Paul a little, we’re both convinced it’ll need a way to do the same kernel disconnect to make it work, so either a custom driver, or on Paul’s suggestion a winusb driver.

 

Also a useful tip to test this from Paul is to just use LED’s off the HUB instead, much easier to debug it.

About these ads