Talking to Jacob Rosenthaler today on IRC, we realised the cmsis-dap
support in openocd doesn't work with the latest nrf51822-mkit
cmsis-dap firmwares.

The factory firmware that mine had on it when purchased works fine
(with git head). The currently available firmware updates 0212 and
0216 both break.[1]

-d3 log of Jacob's 0216 version breaking:
https://www.irccloud.com/pastebin/5WvaVJwM

-d3 log of my factory firmware working:
https://gist.github.com/projectgus/1e5961634fc5137e06a7#file-gistfile1-txt-L14

Unfortunately I can't find an older version than 0212 to see which
version was the first to not work. Does anyone have an older image
lying around?

We also noticed all versions report "cmsis_dap_get_version_info():
CMSIS-DAP: FW Version = 1.0" in openocd. Unsure if this is a firmware
bug, an openocd bug, or refers to a protocol version.

Astute observers will also notice factory firmware reports "Packet
Size = 256" and version 0216 reports "Packet Size = 64". Version 0212
reports packet size 256 also, but doesn't work, so this change is not
the problem.

Thanks to Jacob for pointing this bug out. I don't have any time to
poke more at the moment, but I will try to make some time soon.


Angus

[1] Downloads can be found here:
http://developer.mbed.org/platforms/Nordic-nRF51822/

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to