diff --git a/src/platforms/pc-stlinkv2/stlinkv2.c b/src/platforms/pc-stlinkv2/stlinkv2.c index 22abafd..c9d2ba0 100644 --- a/src/platforms/pc-stlinkv2/stlinkv2.c +++ b/src/platforms/pc-stlinkv2/stlinkv2.c @@ -787,6 +787,9 @@ void stlink_init(int argc, char **argv) if (Stlink.ver_stlink < 3 && Stlink.ver_jtag < 32) { DEBUG("Please update Firmware\n"); goto error_1; + } else if (Stlink.ver_stlink == 3 && Stlink.ver_jtag < 3) { + DEBUG("Please update Firmware\n"); + goto error_1; } stlink_resetsys(); stlink_leave_state();