2022-04-21 06:07 AM
Hi, my tutor gave me a Nucleo-g431kb to practice with. I tried running a code on it with IDE-cube but the debugger alerted me that the st-link isn't connected. I don't have an ST link, but my tutor says that I don't need any.
I'll add that the red LED is flashing next to the port, which may suggest that a code is already running on it. Also, I'm very new to controllers so any help would be appreciated.
Thank you
2022-04-21 06:27 AM
Features • Common features – STM32 microcontroller in 32-pin package – 1 user LED – 1 reset push-button – Board connectors: ◦ Arduino™ Nano V3 expansion connector ◦ Micro-AB USB connector for the ST-LINK – Flexible power-supply options: ST-LINK, USB VBUS or external sources – On-board ST-LINK debugger/programmer with USB re-enumeration capability: mass storage, Virtual COM port and debug port
From datasheet Nucleo.
Connection for debug can be lost if pins is used by your code, or MCU is in low power mode and config not conect under reset or debug in low power mode disabled...
2022-04-21 08:27 AM
Possibly your USB cable is power-only. Use a different cable. Red blink means the computer has not recognized the chip, which will happen if the USB data signals between the two don't exist.
2022-04-30 02:21 AM
Thank you very much, that indeed was the problem