Good day. I'm experimenting with openocd-2643 and imx31. I'm trying to read/write to the onboard SRAM-buffer. Discovered a strange behavior of openocd: 1. I write and read back the word: > mww 0xb8000600 0x12345678 > mdw 0xb8000600 1 0xb8000600: 12345678 (it's OK) 2. I read a group of bytes: > mdb 0xb80005f0 100 0xb80005f0: 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 0xb8000610: 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 0xb8000630: 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 0xb8000650: 78 78 78 78 (This is wrong) 3. I write the word again: > mww 0xb8000600 0x12345678 Data transfer failed. (1513377908) Runtime error, file "command.c", line 473:
Question: Is there a way to avoid failure? PS: memwrite burst disabled Thank you. -- Regards, Alexei Babich, circuit design engineer, Rezonans plc., Chelyabinsk, Russia http://www.rez.ru Jabber ID: imp...@jabber.ru
Debug: 189 40304 command.c:68 script_debug(): command - mww Debug: 190 40304 command.c:77 script_debug(): mww - argv[0]=ocd_mww Debug: 191 40304 command.c:77 script_debug(): mww - argv[1]=0xb8000600 Debug: 192 40304 command.c:77 script_debug(): mww - argv[2]=0x12345678 Debug: 193 40305 arm11.c:1297 arm11_write_memory(): ADDR b8000600 SIZE 00000004 COUNT 00000001 Debug: 195 49646 command.c:68 script_debug(): command - mdw Debug: 196 49646 command.c:77 script_debug(): mdw - argv[0]=ocd_mdw Debug: 197 49646 command.c:77 script_debug(): mdw - argv[1]=0xb8000600 Debug: 198 49646 command.c:77 script_debug(): mdw - argv[2]=1 Debug: 199 49646 arm11.c:1216 arm11_read_memory(): ADDR b8000600 SIZE 00000004 COUNT 00000001 User : 200 49648 command.c:400 command_print(): 0xb8000600: 12345678 Debug: 202 78941 command.c:68 script_debug(): command - mdb Debug: 203 78941 command.c:77 script_debug(): mdb - argv[0]=ocd_mdb Debug: 204 78941 command.c:77 script_debug(): mdb - argv[1]=0xb80005f0 Debug: 205 78941 command.c:77 script_debug(): mdb - argv[2]=100 Debug: 206 78941 arm11.c:1216 arm11_read_memory(): ADDR b80005f0 SIZE 00000001 COUNT 00000064 User : 207 79034 command.c:400 command_print(): 0xb80005f0: 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 User : 208 79034 command.c:400 command_print(): 0xb8000610: 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 User : 209 79035 command.c:400 command_print(): 0xb8000630: 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 78 User : 210 79035 command.c:400 command_print(): 0xb8000650: 78 78 78 78 Debug: 212 85250 command.c:68 script_debug(): command - mww Debug: 213 85250 command.c:77 script_debug(): mww - argv[0]=ocd_mww Debug: 214 85250 command.c:77 script_debug(): mww - argv[1]=0xb8000600 Debug: 215 85250 command.c:77 script_debug(): mww - argv[2]=0x12345678 Debug: 216 85250 arm11.c:1297 arm11_write_memory(): ADDR b8000600 SIZE 00000004 COUNT 00000001 Error: 217 85253 arm11.c:1381 arm11_write_memory(): Data transfer failed. (1513377908) Debug: 218 85253 command.c:444 run_command(): Command failed with error code -4 User : 219 85253 command.c:646 openocd_jim_vfprintf(): Runtime error, file "command.c", line 473: User : 220 85253 command.c:646 openocd_jim_vfprintf():
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development