I'm currently trying to flash firmware to a custom board with STM32WLE5CCU6 MCU using the onboard debugger of a NUCLEO-WL55JC1 development board. I'm running into multiple issues and would appreciate any help.
Setup:
Target MCU: STM32WLE5CCU6 (custom board)
Debugger: Integrated ST-LINK on STM32WL55JC1 (used as programmer)
Tools: STM32CubeIDE(Ver 1.15.1) and STM32CubeProgrammer
Issue Summary:
CubeProgrammer only connects at very low frequency (200 kHz SWD clock). Higher frequencies fail to detect the target.
Even when connected, flashing consistently fails with different errors on both IDE and Cube programmer depending on the attempt.(in all modes)