2023-04-06 09:38 AM
I have successfully flashed my BluePill Board with an STM32F103 chip using the STLINK interface of a Nucleo board. Now, I have replaced the chip with an STM32F302CBT6 and am trying to flash it. However, I get the error message 'Target no device found. Error in initializing ST-LINK device. Reason: No device found on target.' when attempting to flash the new chip. What can I do to flash the new chip successfully? Are there specific changes to the hardware or software that I need to make to support the new chip?
2023-04-15 07:45 AM
Yesterday, I received three pieces of STM32F303. Full of anticipation, I soldered one chip and tested it. Unfortunately, the result did not change. Still the same error message. After spending the night on the internet trying to find a solution, I soldered another chip onto my custom PCB, but it didn't change anything. During one attempt, I was holding the PCB in my hand and accidentally touched the SWDIO, SWDCLK, V+ and V- pins that connect the custom PCB to the Nucleo board. Suddenly, the chip was programmable. It seems that I'm missing pull-ups.
2023-04-15 07:57 AM - edited 2023-11-20 08:47 AM
>missing pull-ups
no. see blue pill circuit...
you have some other problem . something like boot0/1 floating...
only pullup on reset and R10, on usb Dp ; (and thats wrong :)) 10k -> 1k5 would be correct.
2023-04-15 08:26 AM
The bootloader strategy has changed in the STM32F30xx and BOOT1 is not necessary anymore. The boot memory (RAM, Flash or System memory) is selectable through an option bit.
BOOT0 is connected to ground.
I will continue to search for the error.
2023-04-15 09:48 AM
i have no idea, whats wrong on your board.
but..touching, and it works. -> open pin, bad solder join... i know, you looked 2x..or more, but it is so..
2023-04-15 11:37 PM - edited 2023-11-20 08:47 AM
just another idea: we are kidding around because bad connection setting ?
in cubeProgrammer set: software reset ...