> Debug: 269 156510 embeddedice.c:451 embeddedice_write_reg(): 0: 0x00000004 > Debug: 270 156520 embeddedice.c:451 embeddedice_write_reg(): 0: 0x00000005 > Debug: 271 156530 embeddedice.c:451 embeddedice_write_reg(): 0: 0x00000004 > Debug: 272 156540 embeddedice.c:451 embeddedice_write_reg(): 0: 0x00000005 > Debug: 273 156550 embeddedice.c:451 embeddedice_write_reg(): 0: 0x00000004 > Debug: 274 156560 embeddedice.c:451 embeddedice_write_reg(): 0: 0x00000005 > Debug: 275 156580 arm7_9_common.c:2264 arm7_9_read_memory(): address: > 0xc0000020, size: 0x00000002, count: 0x00000001 > Debug: 276 156590 arm7_9_common.c:2264 arm7_9_read_memory(): address: > 0xc0000022, size: 0x00000002, count: 0x00000001 > Debug: 277 156610 arm7_9_common.c:2264 arm7_9_read_memory(): address: > 0xc0000024, size: 0x00000002, count: 0x00000001 > Debug: 278 156620 cfi.c:2219 cfi_probe(): CFI qry returned: 0x20 0xf0 0x80 > Debug: 279 156630 embeddedice.c:451 embeddedice_write_reg(): 0: 0x00000004 > Debug: 280 156640 embeddedice.c:451 embeddedice_write_reg(): 0: 0x00000005 > Debug: 281 156650 embeddedice.c:451 embeddedice_write_reg(): 0: 0x00000004 > Debug: 282 156670 embeddedice.c:451 embeddedice_write_reg(): 0: 0x00000005 > Error: 283 156680 cfi.c:2233 cfi_probe(): Could not probe bank: no QRY > User : 284 156690 command.c:400 command_print(): probing failed for > flash bank '#0' at 0xc0000000
Ok, it seems that when trying to read QRY string it is not in CFI mode but in normal mode, because it is reading values stored in the flash instead of CFI parameters. Please see data stored in flash: 0xc0000000: ea000012 e59ff014 e59ff014 e59ff014 e59ff014 e59ff014 e59ff014 e59ff014 0xc0000020: a3f00120 a3f00180 a3f001e0 a3f00240 a3f002a0 a3f00300 a3f00360 deadbeef Address Value 0xc0000020 0x20 0xc0000022 0xf0 0xc0000024 0x80 However this does not happen when trying to read manufacturer ID. Have you got any similar problem with another flash model? > -- > Javier Martin > Vista Silicon S.L. > CDTUC - FASE C - Oficina S-345 > Avda de los Castros s/n > 39005- Santander. Cantabria. Spain > +34 942 25 32 60 > www.vista-silicon.com > -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
