ISSUE: Attempting to read/program MCU mem has not been possible and I would like feedback on my setup. NOTE: Blink program flashed before removing still works.
Actual Error on STM32 ST LINK Utility:
Can not connect to target! Please select "Connect Under Reset" mode from Target->Settings menu and try again. If you're trying to connect to a low frequency application , please select a lower SWD Frequency mode from Target->Settings menu. No target connected
Due to chip shortage, I removed an STM32F303K8T6 from a Nucleo32 board. Removal was done with heat gone. No physical damaged sustained and was careful with ESD. I then used solder paste to solder MCU on a SMT breakout from Adafruit (This one), and installed pin headers. Finally checked for shorts and proper continuity on all pins.
The MCU now sits on a breadboard:
- Boot pin (#31) pulled low with 10k.
- NRST pin (#4) connected in between (10k to VDD) and (100nF cap to GND).
- Added 3 x 100nF Caps between VDD and GND (ST recommended 1 per VDD pin + VDDA)
- Pin #26 is connected to LED and through 510 resistor to ground (This works: More below)
STLink - V3SET Programmer (CN6 Described on Page 26) connections:
VCC <> VDD (MCU pin # 1)
GND <> GND (MCU pin # 32)
NRST <> NRST (MCU pin # 4)
DIO <> DIO (MCU pin # 23)
CLK <> CLK (MCU pin # 24)
Software: STM32 ST Link Utility
Upon Powering on, the breadboard setup draws about 25mA but the target isn't recognized by ST Link Utility. If I'm not mistaken, the MCU is running with its internal clock while on Nucleo32 by default.
All other pins were left floating and prior to removing MCU it had a blink program flashed. Program simply toggles pin #26.LED in breadboard confirms Program is still running.
NOTE: I was successful at using ST Link Utility and some jumpers to program MCU while on Nucleo board using essentially the same setup as above i.e. without USB connection. In this case the board draws between 30 and 35mA while programmer is connected to target.
Any help would be greatly appreciated. I'm happy to provide more info as needed. Thank you!