Skip to main content
Senior III
Feb 26, 2025 3:46 PM UTC
Solved

Cant upload to NUCLEO-F411RE if I have a HC-06 Bluetooth module attached

When I have the HC-06 powered from the board (either 3.3V or 5V) & try to upload to the board I get,

 

Target no device found

Error in initializing ST-LINK device.

Reason: No device found on target.

 

Yet when I unhook the module from the board everything uploads fine.

So, I uploaded to check my debug serial connection without the HC-06 connected, all fine.

Hook up the module, no debug . Its as if connecting it up to the power on the board knocks out the USB-ST-Link.

 

When I plug into the 5V - debug drops, LED3 goes out & LED1 starts flashing.

When I plug into to 3.3V - debug stops but the LEDs remain on.

I've swapped out the HC-06 module but I still get the same behaviour,

 

All power is being supplied by the US-ST-Link

 

 

This topic has been closed for replies.
NicRobertsBest answer
Senior III
Feb 27, 2025 1:40 PM UTC

Turns out I'm an *** & had shorted the 5v & GND by putting the module in the breadboard at the wrong orientation.

 

 

3 replies

Pavel A.
Feb 26, 2025 9:28 PM UTC

So... have the HC06 powered from something else? The USB supply via the Nucleo connector is limited.

 

 

Andrew Neil
Super User
Feb 27, 2025 11:06 AM UTC

What "HC-06 module", exactly?

Show your schematic of how you have this BT module connected.

Have you checked the supply voltage when it is connected?

The ST-Link should report the voltage it is seeing...

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
NicRobertsAuthorBest answer
Senior III
Feb 27, 2025 1:40 PM UTC

Turns out I'm an *** & had shorted the 5v & GND by putting the module in the breadboard at the wrong orientation.