On 18 January 2012 19:16, John <[email protected]> wrote: > I couldn't get an Olimex LPC-P2129 board to work, but finally have (I > think). I'm using an Olimex ARM USB TINY H. > > First, had to change the CPUTAPID to 0x4f1f0f0f > > Oddly, that looks to have been its setting in the past and I've not > figured out why it was changed. Maybe for newer NXP 2129 chips? > (Can't say I'm convinced.) > > Then, all I could ever get was: > Error: timed out while waiting for target halted > > (no matter how many variants I tried of reset, soft_reset_halt etc) > > I wondered if it was the (Rev C, 2010) board's 14.7456MHz xtal, so I > tweaked the config - but no better. > > Finally, I stumbled on this old item: > http://article.gmane.org/gmane.comp.debugging.openocd.devel/8432/match=2129 > > which has useful comments about the functioning of NXP LPC chips as well > as showing OpenOCD used to use: > srst_pulls_trst > but no longer does. I added it and now the traget halts OK. > > I feel the comments would be worth adding back, into lpc2xxx.cfg I suppose. >
The commit that changed the behavious is here: http://openocd.git.sourceforge.net/git/gitweb.cgi?p=openocd/openocd;a=commitdiff;h=4bd2b30d5bae59b751f8eb30815cf330faae2a6f I do not use LPC devices so perhaps Freddie can comment? Cheers Spen ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
