Unfortunately I still haven't got any luck finishing my Jak Plugg Twists. When flashing the STM everything seems to be ok, but when I power on the module the STM doesn't seem to be working. The LED's don't work, neither do any of the controls or cv-inputs. All of the voltages measure correct, no shorts, 3.3v at the vdd of the STM and other ic's. I'm starting to think there's something wrong with the STM, or the bootloader and firmware aren't loaded correctly. So I'm hoping someone can have a look at the output I got from the terminal after flashing the STM
Many thanks!
mv:~/Desktop/eurorack-modules/build$ ls -la warps/warps.hex
-rw-rw-r-- 1 mv 296635 Dec 31 14:22 warps/warps.hex
mv-VirtualBox:~/Desktop/eurorack-modules/build$ ls -la warps_bootloader/warps_bootloader.hex
-rwxrwxr-x 1 mv 46536 Dec 31 14:22 warps_bootloader/warps_bootloader.hex
mv-VirtualBox:~/Desktop/eurorack-modules$ make -f warps/makefile upload
cat build/warps/ui.d build/warps/warps.d build/warps/resources.d build/warps/cv_scaler.d build/warps/settings.d build/warps/debug_port.d build/warps/adc.d build/warps/system.d build/warps/leds.d build/warps/switches.d build/warps/codec.d build/warps/filter_bank.d build/warps/vocoder.d build/warps/oscillator.d build/warps/modulator.d build/warps/atan.d build/warps/units.d build/warps/random.d build/warps/bootloader_utils.d build/warps/system_clock.d build/warps/system_stm32f4xx.d build/warps/stm32f4xx_wwdg.d build/warps/stm32f4xx_sai.d build/warps/stm32f4xx_dcmi.d build/warps/stm32f4xx_adc.d build/warps/stm32f4xx_spdifrx.d build/warps/stm32f4xx_dac.d build/warps/stm32f4xx_can.d build/warps/stm32f4xx_qspi.d build/warps/stm32f4xx_hash_sha1.d build/warps/stm32f4xx_hash.d build/warps/stm32f4xx_iwdg.d build/warps/stm32f4xx_flash.d build/warps/misc.d build/warps/stm32f4xx_sdio.d build/warps/stm32f4xx_dma.d build/warps/stm32f4xx_cryp_des.d build/warps/stm32f4xx_hash_md5.d build/warps/stm32f4xx_cec.d build/warps/stm32f4xx_rng.d build/warps/stm32f4xx_dma2d.d build/warps/stm32f4xx_lptim.d build/warps/stm32f4xx_spi.d build/warps/stm32f4xx_flash_ramfunc.d build/warps/stm32f4xx_fmpi2c.d build/warps/stm32f4xx_exti.d build/warps/stm32f4xx_fsmc.d build/warps/stm32f4xx_cryp_tdes.d build/warps/stm32f4xx_dbgmcu.d build/warps/stm32f4xx_rtc.d build/warps/stm32f4xx_pwr.d build/warps/stm32f4xx_i2c.d build/warps/stm32f4xx_gpio.d build/warps/stm32f4xx_fmc.d build/warps/stm32f4xx_rcc.d build/warps/stm32f4xx_ltdc.d build/warps/stm32f4xx_syscfg.d build/warps/stm32f4xx_crc.d build/warps/stm32f4xx_usart.d build/warps/stm32f4xx_dsi.d build/warps/stm32f4xx_cryp_aes.d build/warps/stm32f4xx_cryp.d build/warps/stm32f4xx_tim.d build/warps/startup_stm32f4xx.d > build/warps/depends.mk
cat build/warps/warps.hex build/warps_bootloader/warps_bootloader.hex | \
awk -f stmlib/programming/merge_hex.awk > build/warps/warps_bootloader_combo.hex
/usr/local/arm-4.8.3/bin/arm-none-eabi-objcopy -I ihex -O binary build/warps/warps_bootloader_combo.hex build/warps/warps_bootloader_combo.bin
openocd -s /usr/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/warps/warps_bootloader_combo.bin 0x08000000" \
-c "verify_image build/warps/warps_bootloader_combo.bin 0x08000000" \
-c "sleep 200" -c "reset run" -c "shutdown"
Open On-Chip Debugger 0.10.0
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 v29 API v2 SWIM v7 VID 0x0483 PID 0x3748
Info : using stlink api v2
Info : Target voltage: 3.185882
Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : device id = 0x100f6413
Info : flash size = 1024kbytes
erased address 0x08000000 (length 32768) in 0.898773s (35.604 KiB/s)
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
adapter speed: 1800 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x1fff3da0 msp: 0x20001d80
auto erase enabled
wrote 262144 bytes from file build/warps/warps_bootloader_combo.bin in 12.448898s (20.564 KiB/s)
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0x20001d80
verified 138208 bytes in 2.392233s (56.420 KiB/s)
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
adapter speed: 1800 kHz
shutdown command invoked