in /usr/local/bin
When I try flashing I get the nucleo st link card lights flashing green/red then staying on orange:
Code: Select all
john@ecolab3 [stmhal]make BOARD=NUCLEO_F401RE deploy-stlink
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
GEN build-NUCLEO_F401RE/genhdr/qstrdefs.collected.h
QSTR not updated
Writing build-NUCLEO_F401RE/firmware0.bin to the board via ST-LINK
2016-06-30T16:33:12 INFO /usr/local/src/stlink/src/common.c: Loading device parameters....
2016-06-30T16:33:12 WARN /usr/local/src/stlink/src/common.c: unknown chip id! 0
Makefile:316: recipe for target 'deploy-stlink' failed
make: *** [deploy-stlink] Error 255
Code: Select all
john@ecolab3 [~]ll /dev/stl*
lrwxrwxrwx 1 root root 3 Jun 29 09:38 /dev/stlinkv2-1_ -> sdb
lrwxrwxrwx 1 root root 11 Jun 29 09:38 /dev/stlinkv2-1_0 -> bsg/5:0:0:0
lrwxrwxrwx 1 root root 3 Jun 29 09:38 /dev/stlinkv2-1_2 -> sg2
and tried pushing reset and then it worked fine. I tried power off and program the flash again and no
stopping, no unknown chip ID... This hangup seemed to happen only with the board programmed by ST with a
flashing lights user button program.