How to Program OSCAR/PENDA

This tutorial explains how to program the FlasherLoader or an audio effect onto the OSCAR/PENDA hardware platform.

Prerequisites

You must have the following:

  • STM32CubeProgrammer installed.
  • A working OSCAR/PENDA pedal (hardware platform) with a compatible 12V(OSCAR) 9V (PENDA) power supply, required for downloading and running the software.
  • The software to be loaded already compiled: See tutorials: How to Compile Effects and How to Compile FlasherLoader.
  • Optionally, an ST-Link programmer.

Programming OSCAR/PENDA

To program the software into the STM32H743/STM32H750 internal memory, you can use one of two methods:

  1. An ST-Link programmer.
  2. The USB DFU protocol.

Follow these steps to utilize DFU mode:

  • Connect the OSCAR/PENDA pedal to your computer using a USB cable.
  • Power on OSCAR/PENDA while keeping the BOOT button pressed. (This action puts the board into DFU mode.)
  • Launch STM32CubeProgrammer.
  • In STM32CubeProgrammer:
    • Select USB.
    • Click Connect.

If you are using an ST-Link programmer, follow these steps:

  • Before powering the board,
    • OSCAR: Connect your ST-Link to OSCAR using the 4-pin debug connector with the following mapping:
      • GND -> 0V
      • SWDIO -> DIO
      • SWCLK -> CLK
    • PENDA : Connect ST-Link to DAISY Seed (refer to https://daisy.audio/)
  • Power on OSCAR/PENDA.
  • Launch STM32CubeProgrammer.
  • In STM32CubeProgrammer:
    • Select ST-LINK.
    • Click Connect.

Once connected via either DFU or ST-Link, perform the final programming steps:

  1. Select the Erasing & Programming tab in STM32CubeProgrammer.
  2. Select the ELF file you wish to program (e.g., FlasherLoader): ......\FORGE_Workspace\OSCAR_P01_FlasherLoader\Release\OSCAR_P01_FlasherLoader.elf
  3. Click Start Programming.


This site uses Just the Docs, a documentation theme for Jekyll.