This repo contains source code for the Buchla 248r module, originally produced by the Electric Music Store and subsequently improved by SA Modular.
- Obtain an ST-Link STM32 programmer (v2 recommended, available on Amazon for less than $20).
- Download STM32CubeProg from www.st.com. It is available for most platforms.
- Download and unzip the latest firmware file marf-v2-66-2022-09-05.hex.zip
- Flash the new firmware.
- Power down the case.
- Remove the module, leaving the power cable connected, and attach the S- Link ribbon cable.
- Power on.
- Program the firmware.
- Power off, disconnect the ST-Link and reseat the module.
- Power back on.
- The old cal data is now wrong, so run the calibration procedure below.
DIP switch settings
- Set switch 1 on for 1.2v/octave scaling.
- Set switch 2 on for 1v/octave scaling.
- Set switch 3 off always
- Set switch 4 on if an expander module is connected.
Due to some questionable hardware design choices, the module absolutely requires calibration for correct behavior of panel controls and external inputs. Use the following procedure.
- Hold Stage Address 1 Advance down during start up.
- Note leds cycling.
- Turn all pots to maximum. The slider positions do not matter.
- Apply a calibrated 10v source to all 4 external inputs.
- Select pulse 2 up if you need to swap the pulse leds. Led will move to pulse 2.
- Select pulse 1 up to swap it back to normal.
- Press Stage Address 2 Advance down to save calibration.
- It will ERASE the entire eprom, including saved programs.
(Some hardware revisions had the pulse leds switched by accident. You only need this part of the procedure if you are affected by this bug.)
All of the instructions in the Buchla original manual still apply to the 2.66 revision (perhaps more so than in 2.5). This section describes the additional functionality.
In normal operation, both function generators (AFG) utilize the same step programming. This is how the original module operates. In previous revisions (1.0 - 2.5) this was "improved" by making the programming distinct for each AFG. This was perhaps a slight increase in functionality, with a decrease in usability. The original behavior has been restored in 2.66.
A hack is provided to access two different banks of step programming.
- Afgs 1 and 2 both access the same memory unless you use section shift.
- Press Stage Address Display 1 + Stage No Right to move afg1 to steps [17-32].
- Press Stage Address Display 1 + Stage No Left to move afg1 back to steps [1-16].
- Press Stage Address Display 2 + Stage No Right to move afg2 to steps [17-32].
- Press Stage Address Display 2 + Stage No Left to move afg2 back to steps [1-16].
- Switches have no effect when expander is present.
When set to steps 17-32, of course the slider value will still be that of 1-16.
This version supports saving and loading 16 programs (even with expander). Slider data is always saved along with the program. Note that the marf does not stop running while saving a program.
- Press the Clear switch down briefly to enter save mode.
- The pulse leds will toggle to indicate that you are in save mode.
- To abort saving, press one of the Display switches.
- Use the Stage No switch to select one of the 16 memory locations. The step leds will indicate the memory location.
- Press Clear switch down again briefly to save the program.
- Leds will flash downwards when the program is saved.
Any of the 16 saved programs may be reloaded. Note that the marf does not stop running when loading a program. Once the program is loaded, all sliders will be "pinned" at their saved value. To restore slider activity, the slider must be moved through the saved value. If a slider is stuck then moving it from minimum to maximum value will always unstick it.
- Press the Clear switch up briefly to enter load mode.
- The pulse leds will toggle to indicate that you are in load mode.
- To abort loading, press one of the Display switches.
- Use the Stage No switch to select one of the 16 memory locations.
- Press Clear switch up again briefly to load the program.
- Leds will flash upwards when the program is loaded.
Note these useful behaviors.
- A simultaneous pulse to start and stop is the same as the manual advance switch.
- A simultaneous pulse to strobe and start will correctly start on the strobed step.
To stack pulse inputs to multiple destinations, a hardware modification may be necessary to increase the input impedence of the pulse inputs.
The module can also be improved by making several hardware modifications. Visit Dave Brown's Page for a comprehensive description of the recommended changes.
This module's firmware has had a wild ride through a few generations.
The project was extensively rewritten by maxl0rd to more closely match the functionality of the original module, and to resolve many performance problems.
See the RELEASE_NOTES file for a description of both the user-visible and internal changes.
Expander modules provided by SAModular have been tested with this firmware and operate correctly.
The project was converted from the Keil toolchain to STM32Cube by Steven Barsky and a good number of bugs were fixed, including expander support.
Most new builds are currently programmed with this release.
These branches are the verbatim, original code drop from roman_f.
Released by roman_f on Oct 8, 2019. See the MuffWiggler Thread.
Neither of these branches is verified, or known to work. The hex firmware images checked in are not identical to the published firmware images on the Electronic Music Store build page.
I do not recommend attempting to use these images for new builds.