2016-08-02 06:12 AM
I'm starting a project with the stm32l432. In order to use openocd I had to tweak the sources slightly.
1) Picked up a version that supports other stm32l4 processors from https://github.com/arduino/OpenOCD/ 2) modified flash/nor/stm32l4x.c at line 620 adding a case for the device id case 0x415: case 0x4353) You may need to modify stm32l4x.cfg adding a case for _BSTAPID1 0x06435041 -- not sure since I did this first and found I had to make the mod at (2).In any case, with these mods I was able to use openocd to program and debug (with gdb) my stm32l432 nucleo 32 board.Geoffrey2016-08-02 06:40 AM
Hi Geoffrey ,
Thank you for sharing your findings.Hope that this will be helpful for forum users.-Syrine-2016-08-02 07:43 AM
Thanks Geoffrey, can you please send your patch to the official OpenOCD developers? Here's the patch sending guide -
2016-08-03 09:35 AM
A good idea and thanks for the link, but I confess that the process is a bit more involved than I have time for at the moment.
Geoffrey