cancel
Showing results for 
Search instead for 
Did you mean: 

port custom stm32h750 external flash loader stldr to a openocd config file

JCuna.1
Senior

Hi, I recently create a external flash loader for a custom board with stm32h750. I can use correctly the stldr file in stm32cubeprogrammer. However, I am planning to use openocd on a raspberry pi with stlinks in order to flash mcu in my boards and also the external flash.

I have checking openocd stm32 branch in github and there is a file located in https://github.com/STMicroelectronics/OpenOCD/blob/openocd-cubeide-r4/tcl/board/stm32h7x_dual_qspi.cfg which contains the external flash loader configuration for stm32h7, but this is a custom code for openocd.

So I am not sure if I need to port my stldr file to this config openocd, or there is another simple way.

Any suggestion to do that?

11 REPLIES 11

For the H7 the IO Compensation Cell ?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Actually I've tested several H7-boards at 3.3V and 1.8V with QSPI/OctoSPI. Never touched the compensation cell settings and no problems. Well, always used a conservative clock setting, close to the limits things might be different.