Inside LUFA is a neat project called AVRISP. With this code, your BumbleB becomes a programmer for other AVRs. The project can be found in ./Projects/AVRISP. With a few changes we can use this code and BumbleB to program other AVRs and even other Bumble-Bs. WiringIn this schematic, the MOSI, MISO, and SCLK pins of Bumble-B are connected to similar pins on the target AVR. The RESET pin of the target AVR is connected to PC6 on the BumbleB with a 4.7k to 10k pull-up resistor. The resistor seems necessary for some target AVR models but not all. ConfigurationFollow these directions to build the code (or see below for a binary download):
If all went well, you will now have AVRISP.hex and AVRISP.eep files in the build directory. Use Atmel Flip to flash the .hex and EEPROM files. Note: Flip doesn't recognize the ".eep" file extension, change the file type to "All Files" in the hex loader screen. When you first run this code, Windows will ask you for a driver. It can be found in C:\Program Files\Atmel\AVR Tools\usb if you have AVRStudio installed. In AVRStudio, do Tools -> Program AVR -> Connect ; AVRISP mkII, USB -> Connect ; Change device to your target. You now should be able to read the signature of the device, program the flash, read the fuses, etc. Precompiled Binaries for BumbleB |
Software |
Post new comment