dchwebb / Punck

Eurorack Drum Machine based on STM32H7 featuring kick, snare, hi hats, two sample playback engines, toms and claps.
9 stars 2 forks source link

Firmware #2

Open KeenVox opened 1 month ago

KeenVox commented 1 month ago

Hi,

love the Punck and just received my assembled boards from JLCPCB. Is there a precompiled binary to flash the stm32?

I'm not really good in coding and not aware how to compile code for stm32 microcontrollers. I have a st-link and did flash stm32 microcontrollers but always with a precompiled binary.

Thx!

dchwebb commented 1 month ago

I've just added it here: Punk.elf After you have flashed the firmware, I recommend connecting to the serial console over USB and issuing the 'format' command to format the internal flash storage to the format used by Punck - don't let the OS do the disk formatting as the module won't recognise if. Once formatted you can copy drum samples over using the module as a USB drive. I hope it all works - give me a shout if not and you need assistance. Dom

KeenVox commented 1 month ago

Thank you very much!

Format like I would format an USB-drive? Or do I need to send it over a terminal or the ST-Link?

dchwebb commented 1 month ago

When you connect the module via USB it provides various USB classes - MIDI, USB storage and Serial. The serial class allows you to connect a serial terminal application (eg on Windows you can use Termite or Putty). When connected use 'help' to show the various commands available. One command is 'format' which formats the internal storage to FAT16. There is a bit more info and a screenshot of the terminal running in Termite on the readme.

KeenVox commented 1 month ago

Ah perfect. I know my way with putty. I think I should get it going. Thx again! Love your other moduls too. Will surely build more of them. :)