stlink_reset(). Otherwise a sleeping device (WFI) doesn't return the
parameters.
stlink_enter_swd_mode(sl);
stlink_reset(sl);
stlink_enter_swd_mode(sl);
stlink_reset(sl);
+ stlink_load_device_params(sl);
if (o.do_read == 0) /* write */
{
if (o.do_read == 0) /* write */
{
}
// by now, it _must_ be fully open and in a useful mode....
stlink_enter_swd_mode(sl);
}
// by now, it _must_ be fully open and in a useful mode....
stlink_enter_swd_mode(sl);
- stlink_load_device_params(sl);
ILOG("Successfully opened a stlink v1 debugger\n");
return sl;
}
ILOG("Successfully opened a stlink v1 debugger\n");
return sl;
}
- stlink_load_device_params(sl);