debuggers: import openocd-0.7.0
Initial check-in of openocd-0.7.0 as it can be downloaded from http://sourceforge.net/projects/openocd/files/openocd/0.7.0/ Any modifications will follow. Change-Id: I6949beaefd589e046395ea0cb80f4e1ab1654d55
This commit is contained in:
21
debuggers/openocd/tcl/target/lpc1752.cfg
Normal file
21
debuggers/openocd/tcl/target/lpc1752.cfg
Normal file
@ -0,0 +1,21 @@
|
||||
# !!!!!!!!!!!!
|
||||
# ! UNTESTED !
|
||||
# !!!!!!!!!!!!
|
||||
|
||||
# NXP LPC1752 Cortex-M3 with 64kB Flash and 16kB Local On-Chip SRAM,
|
||||
set CHIPNAME lpc1752
|
||||
set CPUTAPID 0x4ba00477
|
||||
set CPURAMSIZE 0x4000
|
||||
set CPUROMSIZE 0x10000
|
||||
|
||||
# After reset the chip is clocked by the ~4MHz internal RC oscillator.
|
||||
# When board-specific code (reset-init handler or device firmware)
|
||||
# configures another oscillator and/or PLL0, set CCLK to match; if
|
||||
# you don't, then flash erase and write operations may misbehave.
|
||||
# (The ROM code doing those updates cares about core clock speed...)
|
||||
#
|
||||
# CCLK is the core clock frequency in KHz
|
||||
set CCLK 4000
|
||||
|
||||
#Include the main configuration file.
|
||||
source [find target/lpc17xx.cfg];
|
||||
Reference in New Issue
Block a user