Ticket #2309: openocd.txt

File openocd.txt, 10.2 KB (added by lindi, 8 years ago)

output of openocd session

Line 
1> reg
2===== ARM registers
3(0) r0 (/32): 0xC03193DC (dirty)
4(1) r1 (/32): 0x200000D3 (dirty)
5(2) r2 (/32): 0x00000000
6(3) r3 (/32): 0x200000D3
7(4) r4 (/32): 0xC03193DC
8(5) r5 (/32): 0xC0E4BDCC
9(6) r6 (/32): 0xFB000000
10(7) r7 (/32): 0xC0383CD4
11(8) r8 (/32): 0xC036E6C8
12(9) r9 (/32): 0x00000000
13(10) r10 (/32): 0xC036E6CC
14(11) r11 (/32): 0xC0E4BDAC
15(12) r12 (/32): 0xC0E4BDB0
16(13) sp_usr (/32)
17(14) lr_usr (/32)
18(15) pc (/32): 0xFFFF0010 (dirty)
19(16) r8_fiq (/32)
20(17) r9_fiq (/32)
21(18) r10_fiq (/32)
22(19) r11_fiq (/32)
23(20) r12_fiq (/32)
24(21) sp_fiq (/32)
25(22) lr_fiq (/32)
26(23) sp_irq (/32)
27(24) lr_irq (/32)
28(25) sp_svc (/32)
29(26) lr_svc (/32)
30(27) sp_abt (/32): 0xC028BD2C
31(28) lr_abt (/32): 0xFFFF0388
32(29) sp_und (/32)
33(30) lr_und (/32)
34(31) cpsr (/32): 0x200000D7
35(32) spsr_fiq (/32)
36(33) spsr_irq (/32)
37(34) spsr_svc (/32)
38(35) spsr_abt (/32): 0x200000DB
39(36) spsr_und (/32)
40===== EmbeddedICE registers
41(37) debug_ctrl (/4)
42(38) debug_status (/5)
43(39) comms_ctrl (/6)
44(40) comms_data (/32)
45(41) watch_0_addr_value (/32): 0x013A82A8
46(42) watch_0_addr_mask (/32): 0x00000003
47(43) watch_0_data_value (/32)
48(44) watch_0_data_mask (/32): 0xFFFFFFFF
49(45) watch_0_control_value (/9): 0x0000
50(46) watch_0_control_mask (/8): 0xF7
51(47) watch_1_addr_value (/32): 0x013A82A8
52(48) watch_1_addr_mask (/32): 0x00000003
53(49) watch_1_data_value (/32)
54(50) watch_1_data_mask (/32): 0xFFFFFFFF
55(51) watch_1_control_value (/9): 0x0000
56(52) watch_1_control_mask (/8): 0xF7
57(53) vector_catch (/8)
58> arm core_state
59core state: ARM
60> arm reg
61System and User mode registers
62      r0: c03193dc       r1: 200000d3       r2: 00000000       r3: 200000d3
63      r4: c03193dc       r5: c0e4bdcc       r6: fb000000       r7: c0383cd4
64      r8: c036e6c8       r9: 00000000      r10: c036e6cc      r11: c0e4bdac
65     r12: c0e4bdb0   sp_usr: ffffffff   lr_usr: ffffffff       pc: ffff0010
66    cpsr: 200000d7
67
68FIQ mode shadow registers
69  r8_fiq: ffffffff   r9_fiq: ffffffff  r10_fiq: ffffffff  r11_fiq: ffffffff
70 r12_fiq: ffffffff   sp_fiq: ffffffff   lr_fiq: ffffffff spsr_fiq: 00000010
71
72Supervisor mode shadow registers
73  sp_svc: c0e4bd85   lr_svc: c004f8e0 spsr_svc: f00000ff
74
75Abort mode shadow registers
76  sp_abt: c028bd2c   lr_abt: ffff0388 spsr_abt: 200000db
77
78IRQ mode shadow registers
79  sp_irq: c028bd20   lr_irq: ffffffff spsr_irq: 00000034
80
81Undefined instruction mode shadow registers
82  sp_und: c028bd38   lr_und: ffff0304 spsr_und: 200000d7
83> arm920t cache_info
84cache type: 0x0, separate caches
85D-Cache: linelen 16, associativity 32, nsets 16, cachesize 0x2000
86I-Cache: linelen 8, associativity 0, nsets 64, cachesize 0x200
87> jtag interface
88ft2232
89> s3c2440.cpu curstate
90halted
91> virt2phys 0x30000000
92Address translation failure
93Command handler execution failed
94in procedure 'virt2phys' called at file "command.c", line 650
95called at file "command.c", line 361
96> poll
97background polling: on
98TAP: s3c2440.cpu (enabled)
99target state: halted
100target halted in ARM state due to debug-request, current mode: Abort
101cpsr: 0x200000d7 pc: 0xffff000c
102MMU: enabled, D-Cache: enabled, I-Cache: enabled
103> target names
104s3c2440.cpu
105> mdb phys 0x30000000
1060x30000000: 1b
107> mdb phys 0x30000000 32
1080x30000000: 1b 00 00 ea 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5
109> mdb phys 0x34000000 32
1100x34000000: 9c 6d 00 00 00 00 00 00 00 00 0d 00 0f 02 00 00 9c 6d 00 00 40 00 00 00 02 00 0d 00 01 00 00 00
111> mdb phys 0x37f00000 32
1120x37f00000: 78 46 34 12 88 2c 90 0c 88 2c 98 0c 00 00 08 00 37 37 37 37 37 37 37 37 3e 3e 3e 3e 3e 3e 3a 3e
113> # ramconsole buffer looks ok, at least this part of RAM is alive and well
114> arm920t cache_info
115cache type: 0x0, separate caches
116D-Cache: linelen 16, associativity 32, nsets 16, cachesize 0x2000
117I-Cache: linelen 8, associativity 0, nsets 64, cachesize 0x200
118> arm920t read_cache fr.cache
119cache content successfully output to fr.cache
120> keep_alive() was not invoked in the 1000ms timelimit. GDB alive packet not sent! (17380). Workaround: increase "set remotetimeout" in GDB
121> arm920t read_mmu fr.mmu
122mmu content successfully output to fr.mmu
123> keep_alive() was not invoked in the 1000ms timelimit. GDB alive packet not sent! (1201). Workaround: increase "set remotetimeout" in GDB
124> dump_image fr.1 0x30000000 131072
125dumped 131072 bytes in 7.699061s (16.625 kb/s)
126> dump_image fr.1 0x30000000 134217728
127timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
128Command handler execution failed
129in procedure 'dump_image' called at file "command.c", line 650
130called at file "command.c", line 361
131> reg
132===== ARM registers
133(0) r0 (/32): 0xC03193DC (dirty)
134(1) r1 (/32): 0x200000D3 (dirty)
135(2) r2 (/32): 0x00000000 (dirty)
136(3) r3 (/32): 0x200000D3 (dirty)
137(4) r4 (/32): 0xC03193DC (dirty)
138(5) r5 (/32): 0xC0E4BDCC (dirty)
139(6) r6 (/32): 0xFB000000 (dirty)
140(7) r7 (/32): 0xC0383CD4 (dirty)
141(8) r8 (/32): 0xC036E6C8 (dirty)
142(9) r9 (/32): 0x00000000 (dirty)
143(10) r10 (/32): 0xC036E6CC (dirty)
144(11) r11 (/32): 0xC0E4BDAC (dirty)
145(12) r12 (/32): 0xC0E4BDB0 (dirty)
146(13) sp_usr (/32)
147(14) lr_usr (/32)
148(15) pc (/32): 0xFFFF000C (dirty)
149(16) r8_fiq (/32)
150(17) r9_fiq (/32)
151(18) r10_fiq (/32)
152(19) r11_fiq (/32)
153(20) r12_fiq (/32)
154(21) sp_fiq (/32)
155(22) lr_fiq (/32)
156(23) sp_irq (/32)
157(24) lr_irq (/32)
158(25) sp_svc (/32)
159(26) lr_svc (/32)
160(27) sp_abt (/32): 0xC028BD2C (dirty)
161(28) lr_abt (/32): 0x013A82AC (dirty)
162(29) sp_und (/32)
163(30) lr_und (/32)
164(31) cpsr (/32): 0x200000D7
165(32) spsr_fiq (/32)
166(33) spsr_irq (/32)
167(34) spsr_svc (/32)
168(35) spsr_abt (/32): 0x200000D7
169(36) spsr_und (/32)
170===== EmbeddedICE registers
171(37) debug_ctrl (/4)
172(38) debug_status (/5)
173(39) comms_ctrl (/6)
174(40) comms_data (/32)
175(41) watch_0_addr_value (/32): 0x013A82A8
176(42) watch_0_addr_mask (/32): 0x00000003
177(43) watch_0_data_value (/32)
178(44) watch_0_data_mask (/32): 0xFFFFFFFF
179(45) watch_0_control_value (/9): 0x0000
180(46) watch_0_control_mask (/8): 0xF7
181(47) watch_1_addr_value (/32): 0x013A82A8
182(48) watch_1_addr_mask (/32): 0x00000003
183(49) watch_1_data_value (/32)
184(50) watch_1_data_mask (/32): 0xFFFFFFFF
185(51) watch_1_control_value (/9): 0x0000
186(52) watch_1_control_mask (/8): 0xF7
187(53) vector_catch (/8)
188>   >   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
189>   >   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
190>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
191>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
192>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
193>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
194>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
195>   >   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
196>   >   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
197>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
198>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
199>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
200>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
201>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
202>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
203>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
204>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
205>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
206>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
207>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
208>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
209>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
210>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
211>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
212>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
213>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
214>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
215>   >   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
216>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
217>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
218>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
219>   >   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
220> halt
221>   >   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
222>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
223>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
224>   >   timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5
225>   invalid mode value encountered 0
226>   cpsr contains invalid mode value - communication failure
227>   unexpected error -4
228>   invalid mode value encountered 0
229>   cpsr contains invalid mode value - communication failure
230>   invalid mode value encountered 0
231>   cpsr contains invalid mode value - communication failure
232>   invalid mode value encountered 0
233>   cpsr contains invalid mode value - communication failure
234>   invalid mode value encountered 0
235>   cpsr contains invalid mode value - communication failure
236>   invalid mode value encountered 0
237>   cpsr contains invalid mode value - communication failure
238>   invalid mode value encountered 0
239>   cpsr contains invalid mode value - communication failure
240>   invalid mode value encountered 0
241>   cpsr contains invalid mode value - communication failure
242>   invalid mode value encountered 0
243>   cpsr contains invalid mode value - communication failure
244>   invalid mode value encountered 0
245>   cpsr contains invalid mode value - communication failure
246>   invalid mode value encountered 0
247>   cpsr contains invalid mode value - communication failure
248>   invalid mode value encountered 0
249>   cpsr contains invalid mode value - communication failure
250>   invalid mode value encountered 0
251>   cpsr contains invalid mode value - communication failure
252>   invalid mode value encountered 0
253>   cpsr contains invalid mode value - communication failure
254>   invalid mode value encountered 0
255>   cpsr contains invalid mode value - communication failure
256>   invalid mode value encountered 0
257>   cpsr contains invalid mode value - communication failure
258>   invalid mode value encountered 0
259>   cpsr contains invalid mode value - communication failure
260>   invalid mode value encountered 0
261>   cpsr contains invalid mode value - communication failure
262>   invalid mode value encountered 0
263>   cpsr contains invalid mode value - communication failure
264>   invalid mode value encountered 0
265>   cpsr contains invalid mode value - communication failure