cancel
Showing results for 
Search instead for 
Did you mean: 

Why don't user debug scripts work with STM32CubeIDE ?

dave2012
Associate III

When I specify a user debug script in STM32CubeIDE debug configuration window I get the error "Provided file doesn't exist" even though it's there. Even if I specify the same text as the "Automated Generation" option I get this error.

0690X000009YeY2QAK.jpg

Is there a workaround ?

10 REPLIES 10
dave2012
Associate III

User supplied OpenOCD scripts now work with v1.1.0 - thanks for fixing it

I've noticed a couple of things:

1. The OpenOCD event 'gdb-flash-write-end' never fires so there's no way of knowing when the FLASH has been programmed other than trying to infer it.

2. When a temporary breakpoint is set at the reset vector using the 'Set breakpoint at:' option, pressing the toolbar target reset button doesn't halt the CPU at the reset vector every time. It seems to only work half the time. A workaround is to manually place a breakpoint at the reset vector in the IDE but this consumes a user breakpoint which is a shame.

Dave