Skip to main content
SPesc.1
Associate II
April 6, 2023
Question

Can I replace STM32F103 to STM32F302 chip on bluepill?

  • April 6, 2023
  • 14 replies
  • 4036 views

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?

This topic has been closed for replies.

14 replies

AScha.3
Super User
April 15, 2023

>missing pull-ups

no. see blue pill circuit...
_legacyfs_online_stmicro_images_0693W00000bi9qgQAA.pngyou 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.

If you feel a post has answered your question, please click on " Best Answer ".
SPesc.1
SPesc.1Author
Associate II
April 15, 2023

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.

AScha.3
Super User
April 15, 2023

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..

If you feel a post has answered your question, please click on " Best Answer ".
AScha.3
Super User
April 16, 2023

just another idea: we are kidding around because bad connection setting ?

in cubeProgrammer set: software reset ...


_legacyfs_online_stmicro_images_0693W00000biATYQA2.png 

If you feel a post has answered your question, please click on " Best Answer ".