I tried latest openocd patches and able to program my nrf51822 with Jlink SWD
But I get really low speeds, like 0.230 Kb/s If I directly connect programmer to USB port of my PC, laptop…
Than switched to STLink V2, hla swd. It gives ~0.200 Kb/s. Still too low.
If I use USB Hub between PC and the programmer, than speed became ~ 2.3 Kbps (10x faster.) which is weird.
Probably USB HUB caches/buffers next requests, who knows.
But using windows and SEGGER utility, I can easily see > 15 Kb/s.
Not tried to use USB HUB with that setup, or use openocd at windows yet.
Anyone know/have any idea about what I am making wrong?
Thanks.