|
From: Paul F. <fer...@gm...> - 2017-04-02 07:53:45
|
Hello Jakub, On Sun, Apr 02, 2017 at 12:17:28AM +0200, Jakub Pawlak wrote: > I am currently facing a big obstacle while trying to flash a STM32f1 > Microcontroller with OpenOCD 0.7.0 with the help of a Segger JLink. The Flashing Please try using current version, that is, 0.10.0 and the following command line (without any config file): $ openocd -f interface/jlink.cfg -c "transport select swd" -f target/stm32f1.cfg \ -c "program path/to/your.elf verify reset exit" If it still fails, send us the output. Some target firmware might require you to connect under reset or to connect while the target stays in the bootloader. For the former, you need to connect hardware SRST line between the adapter and the target and add -c "reset_config srst_only connect_assert_srst" before -c "program..." parameter. For the latter, just pull the BOOTx pins accordingly externally with jumpers. HTH -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fer...@gm... |