That error is coming from STlink. We don't know why it fails.
It is just a normal memory read like all other devices. Is there an errata about this issue? Is Cube working around a problem?
Perhaps that register needs to be accessed by a different AP?
What you could do ( what I would do) is looking with wireshark and sniff the USB to see what the differences are between both devices. I have a Luna to make the parsing a bit understandable.
I will see if I can get my hands on a board with this device.
Added:
That -102 is an interface error. Perhaps you could place some printf's in the script to see which where it goes wrong.
It is just a normal memory read like all other devices. Is there an errata about this issue? Is Cube working around a problem?
Perhaps that register needs to be accessed by a different AP?
What you could do ( what I would do) is looking with wireshark and sniff the USB to see what the differences are between both devices. I have a Luna to make the parsing a bit understandable.
I will see if I can get my hands on a board with this device.
Added:
That -102 is an interface error. Perhaps you could place some printf's in the script to see which where it goes wrong.