From: Paul F. <fer...@gm...> - 2014-11-27 14:01:55
|
Hi, On Thu, Nov 27, 2014 at 02:33:09AM +0100, Jean-Christian de Rivaz wrote: > I initially tried with the FTDI Icebear probe using the > swd-resistor-hack.cfg (see my OP). It work fairly well but can fail when > programming the flash. I suspect that this can be caused by a SWD WAIT. Please see if http://openocd.zylin.com/#/c/2268/ helps. > >WAIT handling is not yet implemented at > >all, so for the target devices like nrf51 that really need it, we can > >only suggest using cmsis-dap or stlink for now. > > I am afraid that I don't understand correctly this part. Should I use > cmsis-dap or stlinkfor the SAMD21 ? Likely not, I hope 2268 will solve the issue. > >Also, while working on it, please keep in mind that the bitbang layer > >might get considerably changed some day. My raspberrypi patch is on > >Gerrit (and not in master) for a reason. > > Can you detail the reason please ? I don't want to work on a patch that > will be rejected anyway. Please see the last comment by Andreas on http://openocd.zylin.com/#/c/2004/ , I didn't have enough motivation/time yet to try to address it. And anyway your work will probably be useful for those who would really like to use sysfsgpio for SWD right now, even if that requires an out-of-tree patch. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fer...@gm... |