| categories:posts
How to install or update NeuG firmware with STLink/v2 debugger on FST-01
Build NeuG
$ git clone https://anonscm.debian.org/cgit/gnuk/gnuk/neug.git
$ cd neug/
$ git submodule init
$ git submodule update
$ cd src
$ ./configure –vidpid=234b:0001
$ make
Clone Gnuk (needed for stlinkv2.py)
$ git clone https://anonscm.debian.org/cgit/gnuk/gnuk.git
Connect FST-01 to debugger
Flash builded NeuG binary
Replug debugger after each invokation of stlinkv2.py
$ cd gnuk/tools
# python2 stlinkv2.py -u
# python2 stlinkv2.py “path to neug.bin”
STLink/v2 debugger needs fresh firmware to work properly on Linux, AFAIK it can be done only with this Windows-only utility
References
- Instructions from gniibe.org
- Readme files both in Gnuk and NeuG repos