Using Your BumbleB Version 2

Bumble-B

So most of the pre-orders have shipped.

As of this writing, there are two software issues you need to know about if you plan on developing new software to run on your BumbleB version 2. When these bugs are fixed in WinAVR and dfu-programmer, this post will be updated.

This thread is also open for general comments and issues regarding BumbleB version 2.

avr-libc bug

Win-AVR and Ubuntu and other package managers may contain an older device definition file that causes a compilation error when building LUFA projects. You will get an error about clock_div_1 not being set and missing clock_prescale_set.

To fix this error, edit avr/include/avr/power.h by hand. Insert the following line:

|| defined(__AVR_ATmega32U2__) \

into power.h. Look for a long list of similar definitions somewhere around line 1300 of the file.

The two missing symbols will now be defined and atmega32u2 projects will compile.

Thanks go to Dean for this solution.

dfu-programmer bug

dfu-programmer is a free alternative to Atmel's Flip tool. Unfortunately, there is no support in it for atmega32u2 in the current binary release of this tool. However, there is support in the latest SVN version. Please comment here or hit the contact button and let me know if you want a precompiled 32-bit Windows binary, I can supply that if enough people are interested. Hopefully it won't be too long before we get a new release of the tool.

$ svn co https://dfu-programmer.svn.sourceforge.net/svnroot/dfu-programmer/trunk/ dfu-programmer
$ cd dfu-programmer/dfu-programmer
$ ./bootstrap.sh
$ ./configure
$ make

Thanks to The portland Dorkbots for this solution.

 
 
 
 

Good site!

Хороший сайт :) Дизайн приятно очень смотрится ;) только кнопочек для добавления в закладки не хватает ...

 
 

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options