Question
Unable to debug simple blinky on Nucleo-144 F413Zh . on OSX
Since I have been having issues with some other efforts, I'm stepping back and creating a simple blinky test application. Everything builds fine, however when i use Debug, the upload failes with
STMicroelectronics ST-LINK GDB server. Version 5.3.2
Copyright (c) 2019, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled
Waiting for debugger connection...
Debugger connected
-------------------------------------------------------------------
STM32CubeProgrammer v2.2.0
-------------------------------------------------------------------
Log output file: /tmp/STM32CubeProgrammer_CRmk67.log
ST-LINK SN : 066EFF505453707867193830
ST-LINK FW : V2J34M25
Voltage : 3.24V
SWD freq : 4000 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Cannot identify the device
Error: unknown or unsupported device (DevID = 0x0000)
Memory Programming ...
Opening and parsing file: ST-LINK_GDB_server_OUmMS8.srec
File : ST-LINK_GDB_server_OUmMS8.srec
Size : 12116 Bytes
Address : 0x08000000
Erasing memory corresponding to segment 0:
Download in Progress:
File download complete
Time elapsed during download operation: 00:00:00.092
Verifying ...
Error: Data mismatch found at address 0x08000000 (byte = 0x38 instead of 0x00)
Error: Download verification failed
Encountered Error when opening /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.macos64_1.1.0.201910081157/tools/bin/STM32_Programmer_CLI
Error in STM32CubeProgrammer
Debugger connection lost.
Shutting down...
I'm at a loss what is the actual problem here.