On Tue, Dec 31, 2019 at 9:43 AM <[email protected]> wrote:
>
> Hi Antonio and Roman,
>
> OpenOCD operation with CMSIS-DAP probes
> =======================================
> I'm happy to see you're working on OpenOCD support for CMSIS-DAP probes.
> Some weeks ago, I tried to use OpenOCD with the SWDAP-probe from ARM. The
> SWDAP is the official ARM probe designed according to the CMSIS-DAP
> standard. The probe operated just fine with OpenOCD, up to the moment I
> flashed the latest firmware to the probe.

Hi Kristof,

I have seen the messages about the daplink issue, but without the
adapter I though I cannot do that much, so I dropped it.

I have read again all the threads (very quickly, I have to admit) and
also downloaded the daplink code from
https://github.com/armmbed/DAPLink
It is a special implementation of CMSIS-DAP for mbed.

The original FW you had in your board was a v0244 or older, because
OpenOD recognizes it as
Info : CMSIS-DAP: FW Version = 1.0
This string has been changed in DAPLink FW file
source/daplink/cmsis-dap/DAP.c with commit
https://github.com/ARMmbed/DAPLink/commit/48417e9f8541f51bf2ca2e26a7ee69c5fcb34b80
so the newer FW you have tested v0252 and v0253 report
Info : CMSIS-DAP: FW Version = 1.10
and both do not work with OpenOCD. I don't have a cmsis-dap v1.10 to
verify if there is already something wrong in OpenOCD.

The DAPLink FW v0254 adds many changes. Between them it stops
reporting the CMSIS-DAP version "1.10", reporting instead the DAPLink
version "0254".

Checking the code of DAPLink, looks like it is possible to recompile
it for STM32F103 (ST-Link)!
Maybe I will have a look at it using an old Nucleo board, but it will
depends on my spare time.

Or maybe some other OpenOCD developer could take this reply as a hint.

Antonio

>
> Please have a look at my StackOverflow post:
> https://electronics.stackexchange.com/questions/465577/daplink-firmware-doesnt-operate-with-openocd
>
> I've also posted the problem on the DAPLink GitHub page:
> https://github.com/ARMmbed/DAPLink/issues/665
>
>
> Background info
> ===============
> The reason I'm asking help for the SWDAP (and therefore CMSIS-DAP-
> compliant probes in general) has to do with the microcontroller IDE
> I'm working on: Embeetle IDE (https://embeetle.com)
>
> Embeetle IDE also has a webpage about the SWDAP probe here:
> https://embeetle.com/#hardware/probes/swdap
>
> And even about OpenOCD:
> https://embeetle.com/#manual/flash/openocd
>
>
> Kind regards,
> Kristof Mulier
>
>
>
>
>


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to