Announcements

Beat707 LE

What's new in the development front

Beat707 LE

Postby Beat707 » Sun Jun 19, 2011 10:43 pm



Official GitHub download area:
https://github.com/Beat707/Beat707-LE

Based on the following hardware:
http://www.sparkfun.com/products/9022



User avatar
Beat707
Site Admin
 
Posts: 386
Joined: Mon Apr 11, 2011 2:41 pm

Re: Beat707 LE

Postby Beat707 » Tue Jun 21, 2011 6:11 pm

More specs:

- 10 Drum Tracks
- 2 Accent Tracks
- 8 Patterns
- 25 to 255 BPM tempo
- 64 steps with A/B patterns + Mirror Editing
- Double steps (in between steps) mode
- Midi Clock Shuffle and Direction: reverse, normal, random
- MIDI Channel # per track
- Note-Number # per track
- Everything is saved on the ATmega EEPROM. (when you hit STOP after changing something)

Beat707
User avatar
Beat707
Site Admin
 
Posts: 386
Joined: Mon Apr 11, 2011 2:41 pm

Re: Beat707 LE

Postby taximan » Wed Jun 22, 2011 1:11 am

Hiya,
This looks great but to be honest it has left me feeling a little confused :?
I have been looking at the forum everyday hoping to see some progress on the fader/pots topic that has been mentioned.

Dunno....just confused....could be just me.

cheers
Paul
taximan
 
Posts: 30
Joined: Thu May 12, 2011 12:07 pm

Re: Beat707 LE

Postby Beat707 » Wed Jun 22, 2011 3:09 am

Well, this is something different that we were working on. ;-)

As the 16 faders project, its going, a bit slower now, but still going. We will try to release more info soon. 8-)

Beat707
User avatar
Beat707
Site Admin
 
Posts: 386
Joined: Mon Apr 11, 2011 2:41 pm

Re: Beat707 LE

Postby Beat707 » Wed Jun 22, 2011 10:01 pm

Good news, finally figured out why the EEPROM was getting erased every time we flashed the chip again with a new code. :shock: Its a function called EESAVE which had to be turned on using the chip fuses. (a special configuration the chip has)

We also updated the boards file so it would use the ISP programmer directly, without the need of changes to the preferences files.

Here are the new instructions:

Code: Select all
You will need to update your Arduino IDE files in order for it to use the USBtinyISP (or any other AVR ISP programmer) and also have the Arduino 20Mhz board listed under boards.

1) in the Arduino IDE folder, look for hardware/arduino and inside it, edit boards.txt, add the text below as it is, or use the included docs/Hardware_Arduino_Files/boards.txt file from the GitHub files. When uploading the code, be sure to select the 20Mhz board first. If you are using a different ISP programmer, edit the atmega328_20.upload.using= line to reflect that.
2) still in the Arduino IDE folder, inside hardware/arduino/bootloaders/atmega, copy the docs/Bootloaders_Atmega/ATmegaBOOT_168_atmega328_20MHz.hex file to this folder. We won't really use the bootloader, but we need it so the Arduino IDE can upload it and also set the configuration of the chip correctly. (fuses)
3) open the Arduino IDE, select the correct Arduino 20Mhz board, and use the Burn Upload function. Again, we don't need to bootloader, but, we need the Arduino IDE to set a special chip configuration which is done during this process. (fuses) One of those special configurations is called EESAVE, so when you re-program the chip, it doesn't erase the EEPROM, where we store the patterns at.
4) now you are ready to upload the Beat707 LE Sketch.

A special note about the USBtinyISP, if you have problems using it, try using a USB-HUB with it. Here we had all sort of problems until we connected to a small USB-HUB, and now it works perfectly.

##############################################################

atmega328_20.name=Arduino 20MHz ATmega328 EESAVE ISP

atmega328_20.upload.protocol=stk500
atmega328_20.upload.maximum_size=30720
atmega328_20.upload.speed=57600
atmega328_20.upload.using=usbtinyisp

atmega328_20.bootloader.low_fuses=0xFF
atmega328_20.bootloader.high_fuses=0xD2
atmega328_20.bootloader.extended_fuses=0x05
atmega328_20.bootloader.path=atmega
atmega328_20.bootloader.file=ATmegaBOOT_168_atmega328_20MHz.hex
atmega328_20.bootloader.unlock_bits=0x3F
atmega328_20.bootloader.lock_bits=0x0F

atmega328_20.build.mcu=atmega328p
atmega328_20.build.f_cpu=20000000L
atmega328_20.build.core=arduino

##############################################################
User avatar
Beat707
Site Admin
 
Posts: 386
Joined: Mon Apr 11, 2011 2:41 pm


Return to Announcements

cron