While I was fiddling with STLINK_SWIM_READ_CAP option, found that the STVP (ST visual programmer) is able to do read.
But the writing is still a bit of issue that the verification can't pass. Anyway it'a good sign that STVP needs below responsed option to consider it as a ture STLINKv2 which supports SWIM v7.
case STLINK_SWIM_READ_CAP :
// ignore for now, need to send 8 bytes, that's all i know
memset(epBuffer, 0, 8);
// 00 01 02 06 00 00 00 00 for SWIM v6
// 00 01 02 07 00 00 00 00 for SWIM v7
epBuffer[1] = 0x01;
epBuffer[2] = 0x02;
epBuffer[3] = 0x07; // SWIM v7
If you have time and like to support STVP, it's for your reference.
Hi Stefaandesmet2003,
While I was fiddling with STLINK_SWIM_READ_CAP option, found that the STVP (ST visual programmer) is able to do read. But the writing is still a bit of issue that the verification can't pass. Anyway it'a good sign that STVP needs below responsed option to consider it as a ture STLINKv2 which supports SWIM v7.
If you have time and like to support STVP, it's for your reference.