Troubleshoting
This page contains a collection of often encountered issues and solutions.
Errors with STM32L072 MCU using OpenOCD
The standard OpenOCD settings sometimes fail to flash firmware to this MCU, which is used in the MPPT 1210 HUS and the PWM charge controller.
Try one of these workarounds:
Change OpenOCD settings to
adapter_khz 500
inopenocd-path/scripts/target/stm32l0.cfg
.Use other tools or debug probes such as STM32CubeProgrammer or Segger J-Link.
Change OpenOCD setting from
reset_config srst_only
toreset_config srst_open_drain
orreset_config none
inboards/arm/<yourboard>/support/openocd.cfg
.