mpasserini / volca-bass-custom-firmware

Custom firmware for Volca Bass
16 stars 2 forks source link

Pattern chain (or Song mode) #5

Open jnonis opened 4 years ago

jnonis commented 4 years ago

I would like to add a pattern chain for the sequencer. Is there any way to access to the source code? or do you have any guide/document that you can share with the instructions to setup a dev environment and reverse engineer the firmware?

mpasserini commented 4 years ago

Hi, it would be nice to add that feature but I lost touch/interested with this firmware... reversing it was very time consuming and difficult. If you really wanna dive into it I suggest you to read this page https://uglyduck.vajn.icu/ep/archive/2018/01/MIDI_Note_Velocity_for_Korg_Volca_FM.html it has the tools to convert wav to binary and back. This thread is also interesting https://www.gearslutz.com/board/electronic-music-instruments-and-electronic-music-production/1232112-volca-sample-firmware-hack.html?s=7ae22d7ee2fa7f00525918c3617f51a7 You can try to reverse the code with Ghidra or Ida Pro. You could also try using a cheap JLink debugger with GDB to dump the firmware without having to go through the wav, and read memory regions at runtime. I'm not keen on releasing the annotated source, first because my annotations are really messy and incomplete, second because it's not really allowed by Korg's license...

mpasserini commented 4 years ago

Check out also the Volca Bass service manual: http://www.ksadhu.niezba.org/sajty/korg_volca_bass_sm.pdf and the datasheet of the TMPM330FWFG ARM microprocessor https://toshiba.semicon-storage.com/info/docget.jsp?did=586&prodName=TMPM330FWFG This helps you to find how the memory regions for the peripherals are mapped...