8 years, 1 month ago.

Program doesn't run when USB disconnected

hi

i am using NUCLEO-F103RB

trying to run the example code of blinking led ,

when the controler is pluged into the USB the program works but when it is only pluged to a power suply it doesn't work.

how can this problem be solved ?

1 Answer

8 years, 1 month ago.

Hello Eyal,
If you are trying to power the NUCLEO board over USB cable pugged into a power supply unit then this link https://developer.mbed.org/questions/68895/Autonomous-USB-Power-for-MBED-NUCLEO-F03/ may help you to understand/solve the problem.

Accepted Answer

hi thanks i will try it but just to Clarify my problem is a little bit different i am plugging 5V into the V-in pin in the controller (without connecting anything to the USB)

posted by Eyal Doppelt 26 Oct 2016

Hello,
In that case Table 7 - "Power-related jumper" in chapter "6.3.2 External power supply inputs: VIN and E5V " of User Manual shows the correct configuration for jumper JP5.

posted by Zoltan Hudak 26 Oct 2016

thanks ! didn't noticed that part, now it is working

posted by Eyal Doppelt 27 Oct 2016