Flemming Frandsen wrote: > On Mon, Feb 13, 2012 at 4:06 PM, Ken Smith <[email protected]> wrote: > > Which Cortex-M3 works best with OpenOCD? I'm considering one of these > > based on LPC1768. > > I'm just starting out with LPC1769 (same as the '68, but 120 MHz), > I've cobbled a toolchain (including gcc, newlib and openocd) and I'm > starting to build my drivers and application. > > The biggest hurdle was setting up the startup code and the linker > script, so maybe my code can help you there...
As a reference I very much recommend Alessandro Rubini's examples for the smaller sibling LPC1343. Of course the files can't be immediately copied, but his work is an excellent introduction to those topics. http://gnudd.com/wd/cortex-m3.html http://gnudd.com/wd/thos.html > The framework and toolchain is pretty generic and will should work for > you as well, it's in git here: > https://github.com/openspaceaarhus/PhotonSaw/tree/master/firmware The LPC1768 was/is for a Labitat project. :) Code for a basic example at http://git.asbjorn.it/?p=rapper.git and it even includes openocd.cfg. //Peter ------------------------------------------------------------------------------ Try before you buy = See our experts in action! 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-dev2 _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
