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 500inopenocd-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_onlytoreset_config srst_open_drainorreset_config noneinboards/arm/<yourboard>/support/openocd.cfg.