Background poll doesn't seem to be polling ...

I’m working with the new cmsis-dap interface and a Freescale FRDM-KL46Z board. Things are now looking pretty good with patches 1542 (initial cmsis support), 1602 (adiv5: check packed transfers …) & 1508 (kl support - note that this, amongst other things includes the same workaround for packed transfers that’s not necessary with the 1602 patch).

The only major issue that I have is that gdb doesn’t get informed that the uC has halted at a breakpoint or when I try to suspend. If, using telnet, I run the openocd poll command then gdb stops properly showing the PC at the right position so the BPs are working fine.

The poll command says that background polling is on but checking with a scope, there’s no sign of any activity on SWD_CLK.

Any clues as to where to look would be appreciated.

If possible could you review the patches on gerrit, any feedback is always appreciated.

I will look into the polling issue. It may also be better to ask questions on the emailing list as this code is still in testing.

Cheers

Spen

I have just uploaded a fix for this, please try http://openocd.zylin.com/1542

Once again if you could put feedback on gerrit that would be greatly appreciated.

Cheers

Spen

Thanks Spen. I’ll test it tomorrow and leave feedback on the various patches on gerrit.

Chris