2023-12-30 08:37 AM
i bought 3 STM32C031G4U6 microcontrollers from digikey turkey distributor and soldered them on breakout boards. i have them connected with stlink v2 over SWCLK and SWDIO i double checked connections and power but i can not program them. it just gives out this:
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.
what do i do?
2023-12-30 08:42 AM - edited 2023-12-30 08:42 AM
Som possibilities:
2023-12-30 08:46 AM
I didn't had caps soldered so I will try that.
I was just trying to program it from the ide. With that green little button on top
2023-12-30 09:40 AM
Perhaps easier to test via STM32 Cube Programmer directly.
Check analogue supplies. Check level see on NRST.
To standalone ST-LINK connect VCC, GND, SWDIO, SWCLK and NRST.
Off NUCLEO boards disconnect on board target via jumpers.
2023-12-30 09:42 AM
The problem is there is no NRST pin on microcontroller. Just 2 pins for power and gnd
2023-12-30 10:29 AM
i soldered necessary caps and still nothing. neither cube ide or cubeprogrammer sees the microcontrollers.
i even updated the firmware on the stlink
2023-12-30 10:58 AM
PF2 and NRST are double bonded. (i.e. the NRST pin and the PF2 pin are the same)