VSCode Extension v3.9.0 Breaks Debugger

Device: NUCLEO-N657X0-Q Board

 

Environment: STM32CubeIDE for Visual Studio Code Extension (v3.9.0)

 

Description & Symptoms: The debugger loses a connection with the board with “Target not responding” and “Unable to read memory” errors.  Reverting to version v3.8.0 of the extension and all of its dependencies resolves the issue.

 

Steps to Reproduce:

  1. Set a breakpoint on the first line of the FSBL Reset_Handler
  2. Run the debugger
  3. Step past the following line in the Reset_Handler: mov sp, r0

 

Expected Behavior: Debugger is able to continue stepping through the code

 

Actual Behavior: The device stops responding and is unable to reconnect until unplugging and plugging back in

 

Other Notes: When running the debugger without a breakpoint set, the program runs normally.  As soon as a breakpoint is set, it loses the connection.

Read more here: Source link