ToneCore DSP Developer Kit Guide
- So you want to design your own effects?
- Specs
- Signal Processing for Dummies
- Assembly Programming
- Program Flow
- Delay Pedal Example
- Debug Interfaces
- Using the Simulator
- Prototyping in Python
- Developing under Linux (or OS X)
- Code Library
Developing under Linux (or OS X)
I have been developing on Linux and using a virtual machine running Windows to talk to the pedal. It works well. Here are my notes on getting this running.
- Using VirtualBox 3.1.2 binary from Sun. Open-source edition doesn't supportt USB.
- WinXP SP2 guest on a Fedora 7 host. Presumably any Linux host will do (OS X??? I don't see why not).
- Not sure if this helped (I think this is more for an issue w/ thumbdrives and older VirtualBox releases):
$ mount -t usbfs -o remount,devgid=$(awk -F: '/^vboxusers:/{print $3}' /etc/group),devmode=664 /proc/bus/usb /proc/bus/usb - With machine off edit USB settings, add filter fore Tonecore.
- Have Tonecore plugged in when at boot time.
- Unplug and plug back in, it should show up in the Devices->USB menu as not greyed out. I don't understand what is going on here, but at least it works.
- Windows should recognize, do the usual driver dance, and the GUI should now recognize it.
Knobs/foot pedal events show up in the GUI. DSP downloads work. I haven't tried MCU downloads but I assume they will work.
I haven't tried this on a Mac yet. I expect it will work.
Code Library
The following are freely licensed code snippets that anyone is welcome to use.
- int_math.asm - integer multiplication and division routines for where you don't want fixed-point math.