Mbed Studio Debug Erasing

You are right. Thanks a lot. Custom targets seems not to be working for me for some reason. Jlink is not even launched.

if I copy:

-t stm32f746ng --pack “c:\ProgramData\Mbed Studio\mbed-studio-tools\cmsis-packs\Keil.STM32F7xx_DFP.2.12.0-small.pack” --frequency 1800000 xxx.bin

The output console prints:

usage: pyocd [-h] [-V] [–help-options] …
pyocd: error: unrecognized arguments:

Hi @shoujie2021, @ysfand

Mbed Studio 1.4.1 has just been released on all supported platforms. It no longer passes connect_mode=under-reset for that target. Please take a look if it works correctly for you now.

Thanks,
Arek - Studio team

Thanks a lot.

Hi @arekzaluski

I’m working with Mbed Studio 1.4.1 and a J-Link EDU, and I’m facing the “stuck on erasing” problem. I do not have a problem flashing (or erasing) with either Keil or VS Code with PlatformIO.

Do you have any suggestions for this situation?

Thanks!