Hello List,

I try to make a smoke test with the r2252.
But in case of my SAM7SE512 I got an error:

telnet:
> mww 0xfffff130 0xffffffff
mww                       write memory word <addr> <value> [count]
Runtime error, file "command.c", line 469:

openocd:
Runtime error, file "command.c", line 469:
    Runtime error, file "command.c", line 469:

It looks that it is not possible to write 0xFFFFFFFF.

The same problem if I try to write 0xffffffff into the RAM:

> mww 0x200000 0
> mdw 0x200000
0x00200000: 00000000
> mww 0x200000 0xffffffff
mww                       write memory word <addr> <value> [count]
Runtime error, file "command.c", line 469:

>

Tested with a JTAGkey and libftdi under WindowsXP.

Best regards,

Michael
Debug: 10 16 configuration.c:83 find_file(): found .\prj\jtagkey.cfg
Debug: 12 16 command.c:68 script_debug(): command - telnet_port
Debug: 13 16 command.c:77 script_debug(): telnet_port - argv[0]=ocd_telnet_port
Debug: 14 16 command.c:77 script_debug(): telnet_port - argv[1]=4444
Debug: 16 16 command.c:68 script_debug(): command - gdb_port
Debug: 17 16 command.c:77 script_debug(): gdb_port - argv[0]=ocd_gdb_port
Debug: 18 16 command.c:77 script_debug(): gdb_port - argv[1]=3333
Debug: 20 16 command.c:68 script_debug(): command - tcl_port
Debug: 21 16 command.c:77 script_debug(): tcl_port - argv[0]=ocd_tcl_port
Debug: 22 16 command.c:77 script_debug(): tcl_port - argv[1]=6666
Debug: 24 16 command.c:68 script_debug(): command - gdb_memory_map
Debug: 25 16 command.c:77 script_debug(): gdb_memory_map - 
argv[0]=ocd_gdb_memory_map
Debug: 26 16 command.c:77 script_debug(): gdb_memory_map - argv[1]=enable
Debug: 28 16 command.c:68 script_debug(): command - gdb_flash_program
Debug: 29 16 command.c:77 script_debug(): gdb_flash_program - 
argv[0]=ocd_gdb_flash_program
Debug: 30 16 command.c:77 script_debug(): gdb_flash_program - argv[1]=enable
Debug: 32 16 command.c:68 script_debug(): command - interface
Debug: 33 16 command.c:77 script_debug(): interface - argv[0]=ocd_interface
Debug: 34 16 command.c:77 script_debug(): interface - argv[1]=ft2232
Debug: 36 16 command.c:68 script_debug(): command - ft2232_device_desc
Debug: 37 16 command.c:77 script_debug(): ft2232_device_desc - 
argv[0]=ocd_ft2232_device_desc
Debug: 38 16 command.c:77 script_debug(): ft2232_device_desc - argv[1]=Amontec 
JTAGkey A
Debug: 40 16 command.c:68 script_debug(): command - ft2232_layout
Debug: 41 16 command.c:77 script_debug(): ft2232_layout - 
argv[0]=ocd_ft2232_layout
Debug: 42 16 command.c:77 script_debug(): ft2232_layout - argv[1]=jtagkey
Debug: 44 16 command.c:68 script_debug(): command - ft2232_vid_pid
Debug: 45 16 command.c:77 script_debug(): ft2232_vid_pid - 
argv[0]=ocd_ft2232_vid_pid
Debug: 46 16 command.c:77 script_debug(): ft2232_vid_pid - argv[1]=0x0403
Debug: 47 16 command.c:77 script_debug(): ft2232_vid_pid - argv[2]=0xcff8
Debug: 49 16 command.c:68 script_debug(): command - jtag_khz
Debug: 50 16 command.c:77 script_debug(): jtag_khz - argv[0]=ocd_jtag_khz
Debug: 51 16 command.c:77 script_debug(): jtag_khz - argv[1]=30
Debug: 52 16 core.c:1251 jtag_config_khz(): handle jtag khz
User : 53 16 command.c:396 command_print(): 30 kHz
Debug: 55 16 command.c:68 script_debug(): command - reset_config
Debug: 56 16 command.c:77 script_debug(): reset_config - 
argv[0]=ocd_reset_config
Debug: 57 16 command.c:77 script_debug(): reset_config - argv[1]=srst_only
Debug: 58 16 command.c:77 script_debug(): reset_config - argv[2]=srst_pulls_trst
Debug: 59 16 tcl.c:360 jim_newtap_cmd(): Creating New Tap, Chip: sam7se512, 
Tap: cpu, Dotted: sam7se512.cpu, 8 params
Debug: 60 16 tcl.c:376 jim_newtap_cmd(): Processing option: -irlen
Debug: 61 16 tcl.c:376 jim_newtap_cmd(): Processing option: -ircapture
Debug: 62 16 tcl.c:376 jim_newtap_cmd(): Processing option: -irmask
Debug: 63 16 tcl.c:376 jim_newtap_cmd(): Processing option: -expected-id
Debug: 64 16 core.c:1099 jtag_tap_init(): Created Tap: sam7se512.cpu @ abs 
position 0, irlen 4, capture: 0x1 mask: 0xf
Debug: 65 16 target.c:4215 jim_target(): Target command params:
Debug: 66 16 target.c:4216 jim_target(): target create sam7se512.cpu arm7tdmi 
-endian little -chain-position sam7se512.cpu -variant arm7tdmi 
Debug: 68 16 command.c:68 script_debug(): command - bank
Debug: 69 16 command.c:77 script_debug(): bank - argv[0]=ocd_flash_bank
Debug: 70 16 command.c:77 script_debug(): bank - argv[1]=at91sam7
Debug: 71 16 command.c:77 script_debug(): bank - argv[2]=0
Debug: 72 16 command.c:77 script_debug(): bank - argv[3]=0
Debug: 73 16 command.c:77 script_debug(): bank - argv[4]=0
Debug: 74 16 command.c:77 script_debug(): bank - argv[5]=0
Debug: 75 16 command.c:77 script_debug(): bank - argv[6]=0
Debug: 76 16 command.c:77 script_debug(): bank - argv[7]=0
Debug: 77 16 command.c:77 script_debug(): bank - argv[8]=0
Debug: 78 16 command.c:77 script_debug(): bank - argv[9]=0
Debug: 79 16 command.c:77 script_debug(): bank - argv[10]=0
Debug: 80 16 command.c:77 script_debug(): bank - argv[11]=0
Debug: 81 16 command.c:77 script_debug(): bank - argv[12]=0
Debug: 82 16 command.c:77 script_debug(): bank - argv[13]=0
Debug: 83 16 command.c:77 script_debug(): bank - argv[14]=18432
Debug: 85 16 command.c:68 script_debug(): command - init
Debug: 86 16 command.c:77 script_debug(): init - argv[0]=ocd_init
Debug: 87 16 openocd.c:129 handle_init_command(): target init complete
Debug: 88 16 ft2232.c:2047 ft2232_init(): ft2232 interface using shortest path 
jtag state transitions
Debug: 89 16 ft2232.c:1966 ft2232_init_libftdi(): 'ft2232' interface using 
libftdi with 'jtagkey' layout (0403:cff8)
Debug: 90 32 ft2232.c:2010 ft2232_init_libftdi(): current latency timer: 2
Debug: 91 32 ft2232.c:2283 jtagkey_init(): 80 08 1b
Debug: 92 32 ft2232.c:2342 jtagkey_init(): 82 09 0f
Debug: 93 32 ft2232.c:474 ft2232_speed(): 86 c7 00
Debug: 94 32 openocd.c:136 handle_init_command(): jtag interface init complete
Debug: 95 32 core.c:1144 jtag_init_inner(): Init JTAG chain
Debug: 96 32 core.c:281 jtag_call_event_callbacks(): jtag event: JTAG 
controller reset (RESET or TRST)
Debug: 97 32 core.c:793 jtag_reset_callback(): -
Info : 98 63 core.c:860 jtag_examine_chain_display(): JTAG tap: sam7se512.cpu 
tap/device found: 0x3f0f0f0f (mfg: 0x787, part: 0xf0f0, ver: 0x3)
Info : 99 63 core.c:916 jtag_examine_chain_match_tap(): JTAG Tap/device matched
Debug: 100 63 openocd.c:142 handle_init_command(): jtag init complete
Debug: 101 63 embeddedice.c:370 embeddedice_write_reg(): 12: 0x00000000
Debug: 102 63 embeddedice.c:370 embeddedice_write_reg(): 20: 0x00000000
Debug: 103 63 openocd.c:145 handle_init_command(): jtag examine complete
Debug: 104 63 openocd.c:151 handle_init_command(): flash init complete
Debug: 105 63 openocd.c:155 handle_init_command(): mflash init complete
Debug: 106 63 openocd.c:159 handle_init_command(): NAND init complete
Debug: 107 63 openocd.c:163 handle_init_command(): pld init complete
Debug: 108 79 gdb_server.c:2228 gdb_init(): gdb service for target arm7tdmi at 
port 3333
Warn : 109 79 arm7_9_common.c:899 arm7_9_poll(): DBGACK set while target was in 
unknown state. Reset or initialize target.
Debug: 110 79 embeddedice.c:370 embeddedice_write_reg(): 0: 0x00000005
Debug: 111 79 embeddedice.c:370 embeddedice_write_reg(): 12: 0x00000000
Debug: 112 94 arm7_9_common.c:1370 arm7_9_debug_entry(): target entered debug 
from ARM state
Debug: 113 125 arm7_9_common.c:1402 arm7_9_debug_entry(): target entered debug 
state in Supervisor mode
Debug: 114 125 arm7_9_common.c:1433 arm7_9_debug_entry(): r0: 0xb00000d3
Debug: 115 125 arm7_9_common.c:1433 arm7_9_debug_entry(): r1: 0x00000000
Debug: 116 125 arm7_9_common.c:1433 arm7_9_debug_entry(): r2: 0x08000000
Debug: 117 125 arm7_9_common.c:1433 arm7_9_debug_entry(): r3: 0x0840000a
Debug: 118 125 arm7_9_common.c:1433 arm7_9_debug_entry(): r4: 0x12000080
Debug: 119 125 arm7_9_common.c:1433 arm7_9_debug_entry(): r5: 0x00100022
Debug: 120 125 arm7_9_common.c:1433 arm7_9_debug_entry(): r6: 0x18000041
Debug: 121 125 arm7_9_common.c:1433 arm7_9_debug_entry(): r7: 0x00052303
Debug: 122 125 arm7_9_common.c:1433 arm7_9_debug_entry(): r8: 0x00005400
Debug: 123 125 arm7_9_common.c:1433 arm7_9_debug_entry(): r9: 0x00020010
Debug: 124 125 arm7_9_common.c:1433 arm7_9_debug_entry(): r10: 0x004400e4
Debug: 125 125 arm7_9_common.c:1433 arm7_9_debug_entry(): r11: 0x05010001
Debug: 126 125 arm7_9_common.c:1433 arm7_9_debug_entry(): r12: 0x8a89a202
Debug: 127 125 arm7_9_common.c:1433 arm7_9_debug_entry(): r13: 0x1100c100
Debug: 128 125 arm7_9_common.c:1433 arm7_9_debug_entry(): r14: 0x01020802
Debug: 129 125 arm7_9_common.c:1433 arm7_9_debug_entry(): r15: 0x001f8554
Debug: 130 125 arm7_9_common.c:1439 arm7_9_debug_entry(): entered debug state 
at PC 0x1f8554
Debug: 131 141 target.c:824 target_call_event_callbacks(): target event 4 
(early-halted)
Debug: 132 141 target.c:3335 target_handle_event(): event: 4 early-halted - no 
action
Debug: 133 141 target.c:824 target_call_event_callbacks(): target event 5 
(halted)
Debug: 134 141 target.c:3335 target_handle_event(): event: 5 halted - no action
User : 135 141 target.c:1086 target_arch_state(): target state: halted
User : 136 141 armv4_5.c:305 armv4_5_arch_state(): target halted in ARM state 
due to breakpoint, current mode: Supervisor
cpsr: 0xb00000d3 pc: 0x001f8554
Debug: 138 141 command.c:68 script_debug(): command - reset
Debug: 139 141 command.c:77 script_debug(): reset - argv[0]=ocd_reset
Debug: 140 141 command.c:77 script_debug(): reset - argv[1]=init
Debug: 141 141 target.c:4215 jim_target(): Target command params:
Debug: 142 141 target.c:4216 jim_target(): target names 
Debug: 143 141 target.c:3324 target_handle_event(): target: (0) sam7se512.cpu 
(arm7tdmi) event: 11 (reset-start) action:  jtag_khz 30 

Debug: 145 141 command.c:68 script_debug(): command - jtag_khz
Debug: 146 141 command.c:77 script_debug(): jtag_khz - argv[0]=ocd_jtag_khz
Debug: 147 141 command.c:77 script_debug(): jtag_khz - argv[1]=30
Debug: 148 141 core.c:1251 jtag_config_khz(): handle jtag khz
Debug: 149 141 core.c:1257 jtag_config_khz(): have interface set up
Debug: 150 141 ft2232.c:474 ft2232_speed(): 86 c7 00
User : 151 141 command.c:396 command_print(): 30 kHz
Debug: 152 141 core.c:1191 jtag_init_reset(): Trying to bring the JTAG 
controller to life by asserting TRST / RESET
Debug: 153 141 ft2232.c:1272 jtagkey_reset(): trst: 0, srst: 0, high_output: 
0x09, high_direction: 0x0f
Debug: 154 141 core.c:639 jtag_add_reset(): SRST line released
Debug: 155 141 core.c:646 jtag_add_reset(): JTAG reset with RESET instead of 
TRST
Debug: 156 141 core.c:281 jtag_call_event_callbacks(): jtag event: JTAG 
controller reset (RESET or TRST)
Debug: 157 141 core.c:793 jtag_reset_callback(): -
Debug: 158 141 ft2232.c:1272 jtagkey_reset(): trst: 0, srst: 1, high_output: 
0x01, high_direction: 0x0f
Debug: 159 141 core.c:635 jtag_add_reset(): SRST line asserted
Debug: 160 141 core.c:646 jtag_add_reset(): JTAG reset with RESET instead of 
TRST
Debug: 161 141 core.c:281 jtag_call_event_callbacks(): jtag event: JTAG 
controller reset (RESET or TRST)
Debug: 162 141 core.c:793 jtag_reset_callback(): -
Debug: 163 141 ft2232.c:1272 jtagkey_reset(): trst: 0, srst: 0, high_output: 
0x09, high_direction: 0x0f
Debug: 164 141 core.c:639 jtag_add_reset(): SRST line released
Debug: 165 141 core.c:1144 jtag_init_inner(): Init JTAG chain
Debug: 166 141 core.c:281 jtag_call_event_callbacks(): jtag event: JTAG 
controller reset (RESET or TRST)
Debug: 167 141 core.c:793 jtag_reset_callback(): -
Info : 168 157 core.c:860 jtag_examine_chain_display(): JTAG tap: sam7se512.cpu 
tap/device found: 0x3f0f0f0f (mfg: 0x787, part: 0xf0f0, ver: 0x3)
Info : 169 157 core.c:916 jtag_examine_chain_match_tap(): JTAG Tap/device 
matched
Debug: 170 172 target.c:4215 jim_target(): Target command params:
Debug: 171 172 target.c:4216 jim_target(): target names 
Debug: 172 172 embeddedice.c:370 embeddedice_write_reg(): 12: 0x00000000
Debug: 173 172 embeddedice.c:370 embeddedice_write_reg(): 20: 0x00000000
Debug: 174 172 target.c:4215 jim_target(): Target command params:
Debug: 175 172 target.c:4216 jim_target(): target names 
Debug: 176 172 target.c:3335 target_handle_event(): event: 12 reset-assert-pre 
- no action
Debug: 177 172 arm7_9_common.c:977 arm7_9_assert_reset(): target->state: halted
Debug: 178 172 embeddedice.c:370 embeddedice_write_reg(): 8: 0x00000000
Debug: 179 172 embeddedice.c:370 embeddedice_write_reg(): 9: 0x00000003
Debug: 180 172 embeddedice.c:370 embeddedice_write_reg(): 11: 0xffffffff
Debug: 181 172 embeddedice.c:370 embeddedice_write_reg(): 12: 0x00000100
Debug: 182 172 embeddedice.c:370 embeddedice_write_reg(): 13: 0x000000f7
Debug: 183 172 ft2232.c:1272 jtagkey_reset(): trst: 0, srst: 1, high_output: 
0x01, high_direction: 0x0f
Debug: 184 172 core.c:635 jtag_add_reset(): SRST line asserted
Debug: 185 172 core.c:646 jtag_add_reset(): JTAG reset with RESET instead of 
TRST
Debug: 186 172 core.c:281 jtag_call_event_callbacks(): jtag event: JTAG 
controller reset (RESET or TRST)
Debug: 187 172 core.c:793 jtag_reset_callback(): -
Debug: 188 172 target.c:3335 target_handle_event(): event: 13 reset-assert-post 
- no action
Debug: 189 172 target.c:4215 jim_target(): Target command params:
Debug: 190 172 target.c:4216 jim_target(): target names 
Debug: 191 172 target.c:3335 target_handle_event(): event: 14 
reset-deassert-pre - no action
Debug: 192 172 arm7_9_common.c:1047 arm7_9_deassert_reset(): target->state: 
reset
Debug: 193 250 ft2232.c:1272 jtagkey_reset(): trst: 0, srst: 0, high_output: 
0x09, high_direction: 0x0f
Debug: 194 250 core.c:639 jtag_add_reset(): SRST line released
Warn : 195 250 arm7_9_common.c:1055 arm7_9_deassert_reset(): srst pulls trst - 
can not reset into halted mode. Issuing halt after reset.
Debug: 196 250 embeddedice.c:370 embeddedice_write_reg(): 12: 0x00000000
Debug: 197 250 embeddedice.c:370 embeddedice_write_reg(): 20: 0x00000000
Debug: 198 250 embeddedice.c:370 embeddedice_write_reg(): 0: 0x00000005
Debug: 199 250 embeddedice.c:370 embeddedice_write_reg(): 12: 0x00000000
Debug: 200 250 arm7_9_common.c:1370 arm7_9_debug_entry(): target entered debug 
from ARM state
Debug: 201 297 arm7_9_common.c:1402 arm7_9_debug_entry(): target entered debug 
state in Supervisor mode
Debug: 202 297 arm7_9_common.c:1433 arm7_9_debug_entry(): r0: 0xb000009f
Debug: 203 297 arm7_9_common.c:1433 arm7_9_debug_entry(): r1: 0x00000000
Debug: 204 297 arm7_9_common.c:1433 arm7_9_debug_entry(): r2: 0x08000000
Debug: 205 297 arm7_9_common.c:1433 arm7_9_debug_entry(): r3: 0x0840000a
Debug: 206 297 arm7_9_common.c:1433 arm7_9_debug_entry(): r4: 0x12000080
Debug: 207 297 arm7_9_common.c:1433 arm7_9_debug_entry(): r5: 0x00100022
Debug: 208 297 arm7_9_common.c:1433 arm7_9_debug_entry(): r6: 0x18000041
Debug: 209 297 arm7_9_common.c:1433 arm7_9_debug_entry(): r7: 0x00052303
Debug: 210 297 arm7_9_common.c:1433 arm7_9_debug_entry(): r8: 0x00005400
Debug: 211 297 arm7_9_common.c:1433 arm7_9_debug_entry(): r9: 0x00020010
Debug: 212 297 arm7_9_common.c:1433 arm7_9_debug_entry(): r10: 0x004400e4
Debug: 213 297 arm7_9_common.c:1433 arm7_9_debug_entry(): r11: 0x05010001
Debug: 214 297 arm7_9_common.c:1433 arm7_9_debug_entry(): r12: 0x8a89a202
Debug: 215 297 arm7_9_common.c:1433 arm7_9_debug_entry(): r13: 0x1100c100
Debug: 216 297 arm7_9_common.c:1433 arm7_9_debug_entry(): r14: 0x01020802
Debug: 217 297 arm7_9_common.c:1433 arm7_9_debug_entry(): r15: 0x001f8580
Debug: 218 297 arm7_9_common.c:1439 arm7_9_debug_entry(): entered debug state 
at PC 0x1f8580
Debug: 219 297 target.c:824 target_call_event_callbacks(): target event 4 
(early-halted)
Debug: 220 297 target.c:3335 target_handle_event(): event: 4 early-halted - no 
action
Debug: 221 297 target.c:824 target_call_event_callbacks(): target event 5 
(halted)
Debug: 222 297 target.c:3335 target_handle_event(): event: 5 halted - no action
User : 223 297 target.c:1086 target_arch_state(): target state: halted
User : 224 297 armv4_5.c:305 armv4_5_arch_state(): target halted in ARM state 
due to breakpoint, current mode: Supervisor
cpsr: 0xb00000d3 pc: 0x001f8580
Debug: 225 297 arm7_9_common.c:1260 arm7_9_halt(): target->state: halted
Debug: 226 297 arm7_9_common.c:1264 arm7_9_halt(): target was already halted
Debug: 227 297 target.c:3335 target_handle_event(): event: 15 
reset-deassert-post - no action
Debug: 228 297 target.c:4215 jim_target(): Target command params:
Debug: 229 297 target.c:4216 jim_target(): target names 
Debug: 230 313 target.c:4215 jim_target(): Target command params:
Debug: 231 313 target.c:4216 jim_target(): target names 
Debug: 232 313 target.c:3324 target_handle_event(): target: (0) sam7se512.cpu 
(arm7tdmi) event: 20 (reset-init) action: 
        #
        # Init CPU and init SDRAM was taken from the EIR init script
        # More information about the EIR can be found here:
        # http://www.ethernut.de/en/hardware/eir/index.html
        #

        # 
        # Init CPU
        #
        
        # Disable watchdog
#       mww 0xfffffd44 0x00008000 # WDT_MR_OFF 
        
        # Use 2 cycles for flash access
#       mww 0xffffff60 0x00000100 # MC_FMR_OFF
        
        # Disable all interrupts
#       mww 0xfffff130 0xffffffff # AIC_EOICR_OFF       
#       mww 0xfffff124 0xffffffff # AIC_IDCR_OFF        
        
        #
        # Enable the main oscillator. Set startup time of 6 * 8 slow 
        # clock cycles and wait until oscillator is stabilized.
        #
#       mww 0xFFFFFC20 0x00000601 # CKGR_MOR_OFF
#       sleep 10

        #
        # Set PLL:
        # PLLfreq = crystal / divider * (multiplier + 1)
        # Wait 28 clock cycles until PLL is locked.
        #
#       mww 0xFFFFFC2C 0x00481c0e # CKGR_PLLR_OFF
#       sleep 10

        #
        # Set master clock prescaler.
        #
#       mww 0xFFFFFC30 0x00000004 # PMC_MCKR_OFF
#       sleep 10

        #
        # Switch to PLL clock.
        #
#       mww 0xFFFFFC30 0x00000007 # PMC_MCKR_OFF
#       sleep 10


        #
        # Enable SDRAM interface
        #

        # Enable SDRAM control at PIO A.
#       mww 0xfffff474 0x3f800000 # PIO_BSR_OFF
#       mww 0xfffff404 0x3f800000 # PIO_PDR_OFF

        # Enable address bus (A0, A2-A11, A13-A17) at PIO B
#       mww 0xfffff674 0x0003effd # PIO_BSR_OFF
#       mww 0xfffff604 0x0003effd # PIO_PDR_OFF

        # Enable 16 bit data bus at PIO C
#       mww 0xfffff870 0x0000ffff # PIO_ASR_OFF
#       mww 0xfffff804 0x0000ffff # PIO_PDR_OFF
        
        # Enable SDRAM chip select
#       mww 0xffffff80 0x00000002 # EBI_CSA_OFF

        # Set SDRAM characteristics in configuration register.
        # Hard coded values for MT48LC32M16A2 with 48MHz CPU.
#       mww 0xffffffb8 0x2192215a # SDRAMC_CR_OFF
#       sleep 10

        # Issue 16 bit SDRAM command: NOP
#       mww 0xffffffb0 0x00000011 # SDRAMC_MR_OFF
#       mww 0x20000000 0x00000000 

        # Issue 16 bit SDRAM command: Precharge all
#       mww 0xffffffb0 0x00000012 # SDRAMC_MR_OFF
#       mww 0x20000000 0x00000000 

        # Issue 8 auto-refresh cycles
#       mww 0xffffffb0 0x00000014 # SDRAMC_MR_OFF
#       mww 0x20000000 0x00000000 
#       mww 0xffffffb0 0x00000014 # SDRAMC_MR_OFF
#       mww 0x20000000 0x00000000 
#       mww 0xffffffb0 0x00000014 # SDRAMC_MR_OFF
#       mww 0x20000000 0x00000000 
#       mww 0xffffffb0 0x00000014 # SDRAMC_MR_OFF
#       mww 0x20000000 0x00000000 
#       mww 0xffffffb0 0x00000014 # SDRAMC_MR_OFF
#       mww 0x20000000 0x00000000 
#       mww 0xffffffb0 0x00000014 # SDRAMC_MR_OFF
#       mww 0x20000000 0x00000000 
#       mww 0xffffffb0 0x00000014 # SDRAMC_MR_OFF
#       mww 0x20000000 0x00000000 
#       mww 0xffffffb0 0x00000014 # SDRAMC_MR_OFF
#       mww 0x20000000 0x00000000 

        # Issue 16 bit SDRAM command: Set mode register  
#       mww 0xffffffb0 0x00000013 # SDRAMC_MR_OFF
#       mww 0x20000014 0xcafedede
        
        # Set refresh rate count ???
#       mww 0xffffffb4 0x00000013 # SDRAMC_TR_OFF

        # Issue 16 bit SDRAM command: Normal mode
#       mww 0xffffffb0 0x00000010 # SDRAMC_MR_OFF
#       mww 0x20000000 0x00000180

        #
        # Enable external reset key.
        #
#       mww 0xfffffd08 0xa5000001

        jtag_khz 6000


Debug: 234 313 command.c:68 script_debug(): command - jtag_khz
Debug: 235 313 command.c:77 script_debug(): jtag_khz - argv[0]=ocd_jtag_khz
Debug: 236 313 command.c:77 script_debug(): jtag_khz - argv[1]=6000
Debug: 237 313 core.c:1251 jtag_config_khz(): handle jtag khz
Debug: 238 313 core.c:1257 jtag_config_khz(): have interface set up
Debug: 239 313 ft2232.c:474 ft2232_speed(): 86 00 00
User : 240 313 command.c:396 command_print(): 6000 kHz
Debug: 241 313 target.c:4215 jim_target(): Target command params:
Debug: 242 313 target.c:4216 jim_target(): target names 
Debug: 243 313 target.c:3335 target_handle_event(): event: 21 reset-end - no 
action
Debug: 245 313 command.c:68 script_debug(): command - init
Debug: 246 313 command.c:77 script_debug(): init - argv[0]=ocd_init
Info : 247 4750 server.c:79 add_connection(): accepting 'telnet' connection 
from 0
Debug: 249 10110 command.c:68 script_debug(): command - mdw
Debug: 250 10110 command.c:77 script_debug(): mdw - argv[0]=ocd_mdw
Debug: 251 10110 command.c:77 script_debug(): mdw - argv[1]=0x200000
Debug: 252 10110 arm7_9_common.c:2224 arm7_9_read_memory(): address: 
0x00200000, size: 0x00000004, count: 0x00000001
User : 253 10266 command.c:396 command_print(): 0x00200000: 00000000 
Debug: 255 18782 command.c:68 script_debug(): command - mww
Debug: 256 18782 command.c:77 script_debug(): mww - argv[0]=ocd_mww
Debug: 257 18782 command.c:77 script_debug(): mww - argv[1]=0x200000
Debug: 258 18782 command.c:77 script_debug(): mww - argv[2]=0xffffffff
User : 260 18782 command.c:642 openocd_jim_vfprintf(): 
User : 261 18782 command.c:642 openocd_jim_vfprintf(): Runtime error, file 
"command.c", line 469:
    User : 262 18782 command.c:642 openocd_jim_vfprintf(): 
Debug: 264 22000 command.c:68 script_debug(): command - shutdown
Debug: 265 22000 command.c:77 script_debug(): shutdown - argv[0]=ocd_shutdown
Info : 266 22000 server.c:442 server_loop(): dropped 'telnet' connection - 
error -400
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to