This is an automated email from Gerrit. Sergio Prado ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/3159
-- gerrit commit 3065b6a16f811c5f96a5de37b3b32ca1cf3ffd2f Author: Sergio Prado <[email protected]> Date: Mon Dec 7 19:39:42 2015 -0200 tcl/board: add Embedded Artists LPC3250 Tested with TinCanTools Flyswatter interface. Change-Id: I645e0334cebfa28a8c99f339e2e2ddeedf67dab7 Signed-off-by: Sergio Prado <[email protected]> diff --git a/tcl/board/embedded-artists_lpc3250.cfg b/tcl/board/embedded-artists_lpc3250.cfg new file mode 100644 index 0000000..802ad36 --- /dev/null +++ b/tcl/board/embedded-artists_lpc3250.cfg @@ -0,0 +1,47 @@ +# Embedded Artists eval board for LPC3250 +# http://www.embeddedartists.com/ + +source [find target/lpc3250.cfg] + +adapter_nsrst_delay 200 +jtag_ntrst_delay 1 +adapter_khz 200 +reset_config trst_and_srst separate + +$_TARGETNAME configure -event gdb-attach { reset init } + +$_TARGETNAME configure -event reset-start { + arm7_9 fast_memory_access disable + adapter_khz 200 +} + +$_TARGETNAME configure -event reset-end { + adapter_khz 6000 + arm7_9 fast_memory_access enable +} + +$_TARGETNAME configure -event reset-init { ea_lpc3250_init } + +# initialization script +proc ea_lpc3250_init { } { + + # configure clocks + # ARMCLK = 266.5 MHz + # HCLK = 133.25 MHz + # PERIPHCLK = 13.325 MHz + mww 0x40004050 0x00000140 + mww 0x40004058 0x00014251 + mww 0x40004040 0x000000CD + + # initialize PLL + mww 0x40004044 0x00000016 + sleep 1 + mww 0x40004044 0x00000116 + sleep 1 + mww 0x40004044 0x00000016 + sleep 1 + mww 0x40004048 0x00000401 + + # remaps IRAM to address 0x00000000 + mww 0x40004014 0x00000001 +} -- ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
