Hi All,
I've recently finished a Jak Plugg Pachinko (Mutable Instruments Marbles) and am having trouble getting full functionality. When flashing the module I get the following response:
vagrant@vagrant-ubuntu-trusty-64:/vagrant/eurorack-modules$ make -f marbles/makefile upload
openocd -s /opt/local/share/openocd/scripts/ -f interface/stlink-v2.cfg -f target/stm32f4x.cfg -c "init" -c "halt" -c "sleep 200" \
-c "flash erase_address 0x08000000 32768" \
-c "reset halt" \
-c "flash write_image erase build/marbles/marbles_bootloader_combo.bin 0x08000000" \
-c "verify_image build/marbles/marbles_bootloader_combo.bin 0x08000000" \
-c "sleep 200" -c "reset run" -c "shutdown"
Open On-Chip Debugger 0.9.0 (2020-12-28-04:13)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 2000 kHz
adapter_nsrst_delay: 100
none separate
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : clock speed 1800 kHz
Info : STLINK v2 JTAG v33 API v2 SWIM v7 VID 0x0483 PID 0x3748
Info : using stlink api v2
Info : Target voltage: 3.200523
Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x2100cc00 pc: 0x0800ed9a msp: 0x2001fea8
Info : device id = 0x10076413
Info : flash size = 1024kbytes
erased address 0x08000000 (length 32768) in 1.194638s (26.786 KiB/s)
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0xfffffffe msp: 0xfffffffc
auto erase enabled
wrote 262144 bytes from file build/marbles/marbles_bootloader_combo.bin in 13.020258s (19.662 KiB/s)
target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0xfffffffc
verified 155568 bytes in 2.657491s (57.167 KiB/s)
shutdown command invoked
vagrant@vagrant-ubuntu-trusty-64:/vagrant/eurorack-modules$
From what I can tell, that appears to have worked (as I had similar responses on previous Mutable modules built).
I guess the difficult thing with the Marbles module is that its a little complicated when you first look at it so it's hard to know what to expect. I'm finding certain functions appear to be working (X/Y lights flashing once Deja Vu above 12 o'clock, leds responding to button presses, when feeding signal into Y) but there's still nothing really happening on the output or any change when changing clocking settings.
I've reflowed the stm32f405rgt6 twice now just to be sure as well as the DAC and surrounding op amps. I've also gone over every component and carefully checked values, solder joins, and traced all voltage/gnd points to find no shorts.
At this point I'm only really leaning towards the STM32 being cooked from a previous solder attempt, but if it was cooked I can't imagine how it's taking on partial firmware.
I've attached a dodgy photo of the front panel to see if anyone has seen that before. It seems to hold the previously held state for every subsequent boot. I'm also wondering if it needs to be calibrated for full functionality ?
Cheers, Alex