>
> Did you test command errors without the scsi sense command?
>
Do you have any specific test case in mind?
The memory writes were failing in stlink_usb_recv_v1_get_status
If I send a deliberately malformed command it fails in get_status or
even earlier.
I don't know how to trigger the sense code path.
/* check for sense */
if (sg_buffer[12] == 1) {
LOG_DEBUG("get sense");
err = stlink_usb_recv_v1_get_sense(handle);
}
It never got to the LOG_DEBUG("get sense") statement, but maybe I'm
not trying hard enough.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel