Skip to main content
Senior III
February 26, 2025
Solved

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

  • February 26, 2025
  • 3 replies
  • 502 views

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

 

 

Best answer by NicRoberts

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.
Super User
February 26, 2025

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

 

 

Andrew Neil
Super User
February 27, 2025

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
February 27, 2025

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