openocd/tcl/target/lpc2124.cfg

10 lines
392 B
INI
Raw Normal View History

# NXP LPC2124 ARM7TDMI-S with 256kB flash and 16kB SRAM, clocked with 12MHz crystal
source [find target/lpc2xxx.cfg]
proc init_targets {} {
# 256kB flash and 16kB SRAM, clocked with 12MHz crystal
# setup_lpc2xxx <chip_name> <cputapid> <flash_size> <flash_variant> <workarea_size> <core_freq_khz> <adapter_freq_khz>
setup_lpc2xxx lpc2124 0x4f1f0f0f 0x40000 lpc2000_v1 0x4000 12000 1500
}