Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STVP support requirement #3

Open
llinjupt opened this issue Apr 20, 2022 · 1 comment
Open

STVP support requirement #3

llinjupt opened this issue Apr 20, 2022 · 1 comment

Comments

@llinjupt
Copy link

llinjupt commented Apr 20, 2022

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.

            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.

@stefaandesmet2003
Copy link
Owner

Thanks @llinjupt for this info. I will include.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants