1 source [find target/lpc3250.cfg]
6 reset_config trst_and_srst separate
8 arm7_9 dcc_downloads enable
10 $_TARGETNAME configure -event gdb-attach { reset init }
12 $_TARGETNAME configure -event reset-start {
13 arm7_9 fast_memory_access disable
17 $_TARGETNAME configure -event reset-end {
19 arm7_9 fast_memory_access enable
22 $_TARGETNAME configure -event reset-init { phytec_lpc3250_init }
24 # Bare-bones initialization of core clocks and SDRAM
25 proc phytec_lpc3250_init { } {
29 # PERIPHCLK = 13.325 MHz
33 mww 0x40004058 0x16250
44 # Init SDRAM with 133 MHz timings
45 mww 0x40028134 0x00FFFFFF
46 mww 0x4002802C 0x00000008
50 mww 0x40004068 0x1C000