Program STM32 MCU with ST-LINK on Nucleo-G474RE

Connector CN4:

CN4 Pinout:


Disconnect CN4 from onboard MCU: