]> git.gag.com Git - fw/stlink/commit
Fix issue where "unknown chip id!" is seen every other time
authorGreg Meiste <w30289@motorola.com>
Wed, 27 May 2015 15:12:40 +0000 (10:12 -0500)
committerGreg Meiste <w30289@motorola.com>
Mon, 1 Feb 2016 14:44:45 +0000 (08:44 -0600)
commitff40ab6681591efa23d1068faae3417ff75d2393
tree213e83da8ace1b21e31ffa760ace8653ef46b4a4
parent67b45433c021c45644ac08f3622adc909f9ddf8d
Fix issue where "unknown chip id!" is seen every other time

Previously when running the program, reading the chip version
would fail. Running the program a second time worked. This
sequence is repeated the next time st-flash/st-util is run.

Giving reset 10ms to complete before trying to read the chip
version resolves the issue.

Signed-off-by: Greg Meiste <w30289@motorola.com>
src/stlink-usb.c