-
Do something cool? First attempt at repurposing.
02/03/2023 at 02:50 • 0 commentsSo far success with running code has been limited to the L152RC variety.
After modding a spare STLINKv2 Clone to run Blackmagic Probe firmware, I setup CubeIDE to build and flash firmware via gdb remote to BMP (gdb talks to the black magic probe over serial).
I made some assumptions about the provided oscillators / crystals on the board and setup minimal ports for the MCU in Cube IDE.With the vague goal in mind of reading MIDI data:
- I enabled UART Interrupts and USB CDC device.
- Built a small bread board with a optocoupler and MIDI port.
- annd..
- Success! getting MIDI events as a serial byte stream from the USB CDC device.