0715-AAW, image 1 from its README
1/2
Firmware

0715-AAW

Rising61/100

Behringer BCR32 demo firmware, schematic and MCU interface documentation.

0715-AAW is custom firmware for the Behringer BCR32, by @MusicTribeOpenSource. Open source under AGPL-3.0, 26 stars on GitHub.

forBehringer BCR32·by@MusicTribeOpenSource

Unclaimed. Is this yours? Sign in with GitHub as @MusicTribeOpenSource to claim it.

Downloads
0
Stars
26
Forks
3
Commit
1
Last commit
Get the source

No release files yet. Build from source.

AGPL-3.0· MusicTribeOpenSource/0715-AAW·downloads come from the creator’s GitHub releases

1
Commits
0
Releases
1 commit and 0 releases in the last year
Activity · last 12 months

Behringer BCR32 (BE 0715-AAW)

Behringer BCR32 (BE 0715-AAW)

Bare-metal demo firmware and hardware documentation for the Behringer BCR32.

Behringer BCR32

Hardware

  • GigaDevice GD32F405RE (Cortex-M4F, 120 MHz), 512 KB internal flash, 512 KB external SPI flash
  • 32 push encoders with 15-LED rings, 16 RGB keys, 128 × 32 OLED
  • 4 CV and 4 Gate outputs, SYNC in / out, two footswitch inputs
  • USB-C with two virtual MIDI ports, MIDI IN and two MIDI OUTs
  • Pin assignment and on-board devices: MCU interface, schematic: docs/BE_0715-AAW_01-Top_Rev03.pdf

Demo firmware

The demo/ project is a bare-metal firmware that exercises every on-board peripheral with a small example: buttons and encoders on the OLED, CV and Gate outputs, a SYNC OUT → SYNC IN loopback test, DIN MIDI thru, USB MIDI echo, MIDI activity LEDs, external and internal flash access by DMA, and entry into the bootloader for a firmware update over USB. See demo/README.md for the details.

Connections

Behringer BCR32 rear panel

Rear
USB-C power input
USB-C (USB MIDI: ports BCR-32 CTRL and BCR-32 ZAQ)
MIDI IN, MIDI OUT A, MIDI OUT B (5-pin DIN)
FOOTSW 1, FOOTSW 2 (6.3 mm)
SYNC IN, SYNC OUT (3.5 mm)
CV / GATE OUT 1–4 (3.5 mm)

Repository

FolderContentsLicense
demo/Demo firmware, Keil MDK project, update image toolsAGPL-3.0-or-later
docs/MCU interface, schematic, images, entering the bootloaderAGPL-3.0-or-later

The root LICENSE is the AGPL-3.0 text that covers the Music Tribe code. Third-party components (GigaDevice GD32F4xx peripheral and USB libraries, CMSIS, the SSD1306 OLED driver) keep their original licenses.

Building

Tools

ToolVersionNotes
Windows10 or 11The project, its build steps and the update tool run on Windows only
Keil MDK (µVision)5.x
Arm Compiler 5 (ARMCC)5.06 update 7Included in MDK up to 5.36. With a newer MDK, install it separately and add it inProject → Manage → Project Items → Folders/Extensions
Device packGigaDevice::GD32F4xx_DFP 3.0.3Install with the µVisionPack Installer

Build in µVision

  1. Open demo/Project/keil/bcr32_demo.uvprojx.
  2. The project has one target, BCR32_Demo.
  3. Project → Build Target (F7), or Rebuild all target files for a clean build.

After each build fromelf writes the firmware as a binary and demo/tools/update/generate_BCR.bat copies it to demo/tools/update/. The version in the file name comes from demo/App/version.h.

Build from the command line

From the top folder of the repository:

C:\Keil_v5\UV4\UV4.exe -r demo/Project/keil/bcr32_demo.uvprojx -t BCR32_Demo -j0 -o build.log

-r rebuilds all files (-b builds the changed ones), -t selects the target, -j0 hides the µVision window and -o writes the build output to build.log next to the project. The exit code is 0 without errors or warnings, 1 with warnings only, 2 or more with errors.

Build with GCC (CMake)

Alternatively, with CMake 3.20+, Ninja and the GNU Arm Embedded toolchain on the PATH:

cmake -S demo/Project/gcc -B build -G Ninja
cmake --build build

On Windows this build also writes the update file described below.

Output and installation

The build writes the firmware update file demo/tools/update/BCR32_FW_V<version>_<date>_<time>.bin. Files of earlier builds are kept (each has its own date and time); delete them by hand when no longer needed. Install it on the BCR32 over USB:

demo\tools\update\windows\update.exe demo\tools\update\BCR32_FW_V<version>_<date>_<time>.bin

The tool makes the running demo start the bootloader over USB, transfers the image and restarts the device; no key needs to be pressed.

Troubleshooting

MessageCause
... not found after the buildThe after-build step did not run: Keil fromelf (check that Arm Compiler 5 is installed under the MDK folder) or GCC objcopy
Version ... or date not found after the builddemo/App/version.h is missing or its SOFTWARE_VERSION_* values are not plain decimal numbers
No BCR32 found yet from update.exeThe BCR32 is not connected over USB, or another program (DAW, MIDI monitor) holds its MIDI ports

Community


Behringer is a brand of MUSIC Tribe. The Behringer name and logo, and the BCR32 name and logo, are trademarks and are not covered by the software licenses in this repository.

Copyright (c) MUSIC Tribe.