cancel
Showing results for 
Search instead for 
Did you mean: 

How to run a modified OpenOCD script in AC6 (system workbench)

vasilevskialeksandar
Associate III

I would like to run my modified stm32f0x.cfg in system workbench.

Basically just added to turn off PLL before programming it.

Whenever I try to modify this stm32f0x.cfg and run debug session system workbench detect change in environment and overwrites my changes into file with default script from openOCD. I can not find where AC6 keeps openOCD zip file that uses to overwrite my changes.

If you are asking why I am doing this , it is because stm32f071 must have pre-divider set to 2 when using internal rc oscilator. Default stm32f0x doesn't do this and system and produces wrong system clocks. I would propose changes into this script but before I need a way to test them.

0 REPLIES 0