Old becomes new again

MyUSB Library, Projects Add comments

Bad tools can cause many hard to find faults. Such is the case with my setup; some of my previously working examples fail to enumerate correctly (after no code changes), while others work fine — all using the same stack code. I attribute this to my ailing Vista install, which has had more bluescreens and crashes due to its original “Black Screen Of Death” fault and my USB experiments rather than faults in my code. Actually, it’s probably time for a reinstall (or at least a serious repair) of the whole darn thing.

The AVR109 bootloader has turned out to be much easier than I had hoped to implement, and I’m very confident it’ll be completed in less than the 4KB maximum. The only issue I’ve had so far is the device code; originally each device returned a unique code for each supported AVR model. However, with Atmel no longer supporting the AVR109 programming software (AVRProg) the newer devices lack defined device codes. Thankfully my searching seems to indicate that all I need to do is return a valid code for any device to keep the software happy, and that AVRDude issues commands based on the signature bytes rather than the device code.

I’ve emailed Jörg (maintainer of AVRDude) about the possibility of adding USB DFU support to the AVRDude project.

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in