Issue deploying and debugging on custom PCB
Hello,
Just to get the details out of the way, I am quite new to STM32CubeIDE. I have a SMT32L552CCUX microcontroller paired up with TDK ICM-42688-V IMU sensor on a custom PCB, this will be my motion sensor device. I am also using STLINK-V3MINIE in-circuit debugger and programmer to deploy the firmware and debug the device.
Debugger settings are all default.

I got PC connected to STLINK-V3MINIE and it's fully updated, its then connected to the pcb (powered on via a different source) via a ribbon cable. If I unplug it and try to debug I get this output:
STMicroelectronics ST-LINK GDB server. Version 7.8.0
Copyright (c) 2024, 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
InitWhile : Enabled
Target no device found
Error in initializing ST-LINK device.
Reason: No device found on target.
So I think my connection to the device is ok, but when I try to deploy and run the code, all I get is this:
STMicroelectronics ST-LINK GDB server. Version 7.8.0
Copyright (c) 2024, 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
InitWhile : Enabled
Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
What is curious though that it does hit a breakpoint in file stm32l5xx_hal_pcd.c at line 1908:
if (ep->doublebuffer != 0U)
If I press continue nothing happens. I am not quite sure what I'm doing wrong. Any help would be highly appreciated.
