2017-09-07 11:28 AM
Hi,
I am trying to power a Nucleo-F042K6 from the external +5V only, i.e. without USB connected since my code is completed and fully functionnal. According to the user manual this shoud be possible and the only limitation is that the ST-LINK must be connected after.
However the F042K6 will not start because its NRST is kept low (at arount 1.2V), probably clamped by the protection diodes of the ST-LINK which does not have any power.
I suppose I could remove SB9 but then I'm afraid of losing some ST-LINK capabilities if I want to re-flash my code.
Am I missing something in the user manual? SB9 is only mentioned if we want to power the board with 3.3V.
Thanks to all.
Jerome
2017-09-08 05:01 AM
Check ST-LINK firmware version. Report what you have.
Update to current.
2017-09-08 07:48 AM
ST-LINK was V2J25M14, now updated to V2J28M18. It has no effect which was expected because the ST-LINK is not powered if +5V is injected directly on the board. My goal is to power only the
F042K6 and keep the USB + ST-LINK unplugged.
As a workaround I've injected the +5V on the VIN pin, which supplies power to the ST-LINK and allows it to release NRST. It is not perfect because Vin should be >=7V but the drops in the linear regulator are low enough to get a stable 3.3V, and I'm wasting a few milliamps on the ST-LINK... but at least it works.