DB101 Library Hell

I’m pleased by the downloads of MyUSB – there’s been 42 in the last 9 days alone. While not a mind-boggling amount, it is not bad for an obscure project and shows that at least *someone* is interested in it.

I’ve been working on developing a commercial application of the DB101 board, from Atmel. So far I’ve been happy with the speed at which I can develop applications for the DB101, however I’m not hitting the limits of the Atmel-provided monster library. Understanding and modifying such a large codebase to allow for the features I want (menu separators, non-static dialogs) is a real pain, but I’m making progress.

I’ve also just updated the ButtLoad project source, to compile on the latest version of WinAVR. Unfortunately the most recent versions of AVR-GCC caused the size of the compiled binary to blow out past the allowable size, so I’ve added in the –relax linker option to change the CALL opcodes into the shorter RCALL opcodes where possible to save space. It now once again compiles (only) with the latest WinAVR, with the latest avr-libc. You can grab the modified code over at AVRFreaks.net.

 

Comments: 2

Leave a reply »

 
 
 

Hi,

Hows The DB101 going?? looking through the blog it looks great… but if “you” are having problems with the DB101 code … well there is no hope for me 😎

 

Phill,

This was a while ago, but I managed to beat the DB101 into submission and get what I want. The libraries aren’t at all bad, the system as a whole is just very complex from all the functionality and it takes time to get one’s bearings. I suggest that if you aren’t well versed in C you don’t try to modify the library in any way, and just stick to the APIs they provide and you’ll do fine.

– Dean

 

Leave a Reply

 
(will not be published)
 
 
Comment
 
 

 

Vital Stats

  • 35 Years Old
  • Australian
  • Lover of embedded systems
  • Firmware engineer
  • Self-Proclaimed Geek

Latest Blog Posts

RSS