If I disable the write burst mode, I get a different error on reset:

Disableing the burst mode:

(gdb) moni arm11 memwrite burst disable
memory write burst mode is disabled

with the log:

Debug: 1109 1770274 gdb_server.c:2147 gdb_input_inner(): received
packet: 'qRcmd,61726d3131206d656d77726974652062757273742064697361626c65'
Debug: 1110 1770274 command.c:133 script_debug(): command -
ocd_command ocd_command type ocd_arm11 memwrite burst disable
Debug: 1111 1770274 command.c:133 script_debug(): command - ocd_arm11
ocd_arm11 memwrite burst disable
Info : 1113 1770274 command.c:1553 handle_command_parse_bool(): memory
write burst mode is disabled

The reset command:

(gdb) moni reset
JTAG tap: imx31.etb tap/device found: 0x2b900f0f (mfg: 0x787, part:
0xb900, ver: 0x2)
JTAG tap: imx31.cpu tap/device found: 0x07b3601d (mfg: 0x00e, part:
0x7b36, ver: 0x0)
TAP imx31.whatchacallit does not have IDCODE
JTAG tap: imx31.smda tap/device found: 0x2190101d (mfg: 0x00e, part:
0x1901, ver: 0x2)
found ARM1136
invalid mode value encountered 1
Jazelle state handling is BROKEN!
Jazelle PC adjustment unknown
target state: halted
unrecognized psr mode: 0x1
target halted in Jazelle state due to undefined, current mode: UNRECOGNIZED
cpsr: 0xe31c0001 pc: 0xe31c0001

and the level 3 log:

Debug: 1114 3849713 gdb_server.c:2147 gdb_input_inner(): received
packet: 'qRcmd,7265736574'
Debug: 1115 3849714 command.c:133 script_debug(): command -
ocd_command ocd_command type ocd_reset
Debug: 1116 3849714 command.c:133 script_debug(): command - reset ocd_reset
Debug: 1118 3849714 command.c:133 script_debug(): command -
ocd_command ocd_command type ocd_target names
Debug: 1119 3849714 command.c:133 script_debug(): command - ocd_target
ocd_target names
Debug: 1120 3849714 command.c:133 script_debug(): command -
ocd_command ocd_command type ocd_imx31.cpu invoke-event reset-start
Debug: 1121 3849714 command.c:133 script_debug(): command -
ocd_imx31.cpu ocd_imx31.cpu invoke-event reset-start
Debug: 1122 3849714 command.c:133 script_debug(): command -
ocd_command ocd_command type ocd_jtag arp_init-reset
Debug: 1123 3849714 command.c:133 script_debug(): command - ocd_jtag
ocd_jtag arp_init-reset
Debug: 1124 3849714 core.c:1451 jtag_init_reset(): Initializing with
hard TRST+SRST reset
Debug: 1125 3849714 parport.c:179 parport_reset(): trst: 1, srst: 0
Debug: 1126 3849714 core.c:692 jtag_add_reset(): TRST line asserted
Debug: 1127 3849714 parport.c:179 parport_reset(): trst: 1, srst: 1
Debug: 1128 3849714 core.c:667 jtag_add_reset(): SRST line asserted
Debug: 1129 3849714 parport.c:179 parport_reset(): trst: 0, srst: 1
Debug: 1130 3849714 core.c:697 jtag_add_reset(): TRST line released
Debug: 1131 3849714 core.c:321 jtag_call_event_callbacks(): jtag
event: TAP reset
Debug: 1132 3849714 parport.c:179 parport_reset(): trst: 0, srst: 0
Debug: 1133 3849714 core.c:672 jtag_add_reset(): SRST line released
Debug: 1134 3849719 core.c:1364 jtag_init_inner(): Init JTAG chain
Debug: 1135 3849719 core.c:321 jtag_call_event_callbacks(): jtag
event: TAP reset
Debug: 1136 3849719 core.c:1017 jtag_examine_chain(): DR scan
interrogation for IDCODE/BYPASS
Debug: 1137 3849719 core.c:321 jtag_call_event_callbacks(): jtag
event: TAP reset
Info : 1138 3849722 core.c:917 jtag_examine_chain_display(): JTAG tap:
imx31.etb tap/device found: 0x2b900f0f (mfg: 0x787, part: 0xb900, ver:
0x2)
Info : 1139 3849722 core.c:917 jtag_examine_chain_display(): JTAG tap:
imx31.cpu tap/device found: 0x07b3601d (mfg: 0x00e, part: 0x7b36, ver:
0x0)
Info : 1140 3849722 core.c:1040 jtag_examine_chain(): TAP
imx31.whatchacallit does not have IDCODE
Info : 1141 3849722 core.c:917 jtag_examine_chain_display(): JTAG tap:
imx31.smda tap/device found: 0x2190101d (mfg: 0x00e, part: 0x1901,
ver: 0x2)
Debug: 1142 3849722 core.c:1182 jtag_validate_ircapture(): IR capture
validation scan
Debug: 1143 3849722 core.c:1243 jtag_validate_ircapture(): imx31.etb:
IR capture 0x01
Debug: 1144 3849722 core.c:1243 jtag_validate_ircapture(): imx31.cpu:
IR capture 0x01
Debug: 1145 3849722 core.c:1243 jtag_validate_ircapture():
imx31.whatchacallit: IR capture 0x00
Debug: 1146 3849722 core.c:1243 jtag_validate_ircapture(): imx31.smda:
IR capture 0x01
Debug: 1147 3849722 command.c:133 script_debug(): command -
ocd_command ocd_command type ocd_imx31.cpu cget -chain-position
Debug: 1148 3849722 command.c:133 script_debug(): command -
ocd_imx31.cpu ocd_imx31.cpu cget -chain-position
Debug: 1149 3849723 command.c:133 script_debug(): command -
ocd_command ocd_command type ocd_jtag tapisenabled imx31.cpu
Debug: 1150 3849723 command.c:133 script_debug(): command - ocd_jtag
ocd_jtag tapisenabled imx31.cpu
Debug: 1151 3849723 command.c:133 script_debug(): command -
ocd_command ocd_command type ocd_imx31.cpu arp_examine
Debug: 1152 3849723 command.c:133 script_debug(): command -
ocd_imx31.cpu ocd_imx31.cpu arp_examine
Info : 1153 3849723 arm11.c:1240 arm11_examine(): found ARM1136
Debug: 1154 3849723 arm11.c:1258 arm11_examine(): IDCODE 07b3601d
IMPLEMENTOR 41 DIDR 15110004
Debug: 1155 3849724 command.c:133 script_debug(): command -
ocd_command ocd_command type ocd_imx31.cpu invoke-event
reset-assert-pre
Debug: 1156 3849724 command.c:133 script_debug(): command -
ocd_imx31.cpu ocd_imx31.cpu invoke-event reset-assert-pre
Debug: 1157 3849724 command.c:133 script_debug(): command -
ocd_command ocd_command type ocd_imx31.cpu cget -chain-position
Debug: 1158 3849724 command.c:133 script_debug(): command -
ocd_imx31.cpu ocd_imx31.cpu cget -chain-position
Debug: 1159 3849724 command.c:133 script_debug(): command -
ocd_command ocd_command type ocd_jtag tapisenabled imx31.cpu
Debug: 1160 3849724 command.c:133 script_debug(): command - ocd_jtag
ocd_jtag tapisenabled imx31.cpu
Debug: 1161 3849724 command.c:133 script_debug(): command -
ocd_command ocd_command type ocd_imx31.cpu arp_reset assert 0
Debug: 1162 3849724 command.c:133 script_debug(): command -
ocd_imx31.cpu ocd_imx31.cpu arp_reset assert 0
Debug: 1163 3849724 parport.c:179 parport_reset(): trst: 0, srst: 1
Debug: 1164 3849724 core.c:667 jtag_add_reset(): SRST line asserted
Debug: 1165 3849724 command.c:133 script_debug(): command -
ocd_command ocd_command type ocd_imx31.cpu invoke-event
reset-assert-post
Debug: 1166 3849724 command.c:133 script_debug(): command -
ocd_imx31.cpu ocd_imx31.cpu invoke-event reset-assert-post
Debug: 1167 3849724 command.c:133 script_debug(): command -
ocd_command ocd_command type ocd_imx31.cpu invoke-event
reset-deassert-pre
Debug: 1168 3849724 command.c:133 script_debug(): command -
ocd_imx31.cpu ocd_imx31.cpu invoke-event reset-deassert-pre
Debug: 1169 3849724 command.c:133 script_debug(): command -
ocd_command ocd_command type ocd_imx31.cpu cget -chain-position
Debug: 1170 3849724 command.c:133 script_debug(): command -
ocd_imx31.cpu ocd_imx31.cpu cget -chain-position
Debug: 1171 3849724 command.c:133 script_debug(): command -
ocd_command ocd_command type ocd_jtag tapisenabled imx31.cpu
Debug: 1172 3849724 command.c:133 script_debug(): command - ocd_jtag
ocd_jtag tapisenabled imx31.cpu
Debug: 1173 3849724 command.c:133 script_debug(): command -
ocd_command ocd_command type ocd_imx31.cpu arp_reset deassert 0
Debug: 1174 3849724 command.c:133 script_debug(): command -
ocd_imx31.cpu ocd_imx31.cpu arp_reset deassert 0
Debug: 1175 3849724 parport.c:179 parport_reset(): trst: 0, srst: 0
Debug: 1176 3849724 core.c:672 jtag_add_reset(): SRST line released
Debug: 1177 3849724 core.c:321 jtag_call_event_callbacks(): jtag
event: TAP reset
Debug: 1178 3849724 core.c:537 jtag_add_statemove(): cur_state=RESET
goal_state=DRPAUSE
Debug: 1179 3849735 arm11.c:351 arm11_poll(): enter TARGET_HALTED
Debug: 1180 3849736 arm_dpm.c:178 dpm_read_reg(): READ: r0, e31c0001
Error: 1181 3849737 armv4_5.c:189 arm_mode_to_number(): invalid mode
value encountered 1
Error: 1182 3849737 armv4_5.c:388 arm_set_cpsr(): Jazelle state
handling is BROKEN!
Debug: 1183 3849737 armv4_5.c:397 arm_set_cpsr(): set CPSR 0xe31c0001:
User mode, Jazelle state
Debug: 1184 3849737 arm_dpm.c:178 dpm_read_reg(): READ: r1, e31c0001
Debug: 1185 3849738 arm_dpm.c:178 dpm_read_reg(): READ: r2, e31c0001
Debug: 1186 3849738 arm_dpm.c:178 dpm_read_reg(): READ: r3, e31c0001
Debug: 1187 3849739 arm_dpm.c:178 dpm_read_reg(): READ: r4, e31c0001
Debug: 1188 3849739 arm_dpm.c:178 dpm_read_reg(): READ: r5, e31c0001
Debug: 1189 3849740 arm_dpm.c:178 dpm_read_reg(): READ: r6, e31c0001
Debug: 1190 3849740 arm_dpm.c:178 dpm_read_reg(): READ: r7, e31c0001
Debug: 1191 3849740 arm_dpm.c:178 dpm_read_reg(): READ: r8, e31c0001
Debug: 1192 3849741 arm_dpm.c:178 dpm_read_reg(): READ: r9, e31c0001
Debug: 1193 3849741 arm_dpm.c:178 dpm_read_reg(): READ: r10, e31c0001
Debug: 1194 3849742 arm_dpm.c:178 dpm_read_reg(): READ: r11, e31c0001
Debug: 1195 3849742 arm_dpm.c:178 dpm_read_reg(): READ: r12, e31c0001
Debug: 1196 3849743 arm_dpm.c:178 dpm_read_reg(): READ: sp_usr, e31c0001
Debug: 1197 3849743 arm_dpm.c:178 dpm_read_reg(): READ: lr_usr, e31c0001
Warn : 1198 3849744 arm_dpm.c:160 dpm_read_reg(): Jazelle PC adjustment unknown
Debug: 1199 3849744 arm_dpm.c:178 dpm_read_reg(): READ: pc, e31c0001
Debug: 1200 3849745 target.c:968 target_call_event_callbacks(): target
event 2 (gdb-halt)
Debug: 1201 3849745 target.c:968 target_call_event_callbacks(): target
event 3 (halted)
User : 1202 3849745 target.c:1234 target_arch_state(): target state: halted
Error: 1203 3849745 armv4_5.c:152 arm_mode_name(): unrecognized psr mode: 0x1
User : 1204 3849745 armv4_5.c:603 arm_arch_state(): target halted in
Jazelle state due to undefined, current mode: UNRECOGNIZED
cpsr: 0xe31c0001 pc: 0xe31c0001
Debug: 1205 3849745 target.c:968 target_call_event_callbacks(): target
event 8 (gdb-end)
Debug: 1206 3849745 command.c:133 script_debug(): command -
ocd_command ocd_command type ocd_imx31.cpu invoke-event
reset-deassert-post
Debug: 1207 3849745 command.c:133 script_debug(): command -
ocd_imx31.cpu ocd_imx31.cpu invoke-event reset-deassert-post
Debug: 1208 3849746 command.c:133 script_debug(): command -
ocd_command ocd_command type ocd_imx31.cpu invoke-event reset-end
Debug: 1209 3849746 command.c:133 script_debug(): command -
ocd_imx31.cpu ocd_imx31.cpu invoke-event reset-end
Debug: 1210 3849746 arm11.c:366 arm11_poll(): enter TARGET_RUNNING

-- 
Edgar Grimberg
System Developer
Zylin AS
ZY1000 JTAG Debugger http://www.zylin.com/zy1000.html
Phone: (+47) 51 63 25 00
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to