I see the same problem here when I try the address range you used (less the data transfer error) but if I use a different address range, e.g. 0, then byte read operations work fine. The data transfer error *could* be a followon result on using unsupported(byte) operations on that memory region?
Could it be that the ram at that address does not support byte operations? Test script: reset init mww 0xb8000600 0x12345678 mdw 0xb8000600 1 mdw 0xb80005f0 0x8 mdh 0xb80005f0 0x10 mdb 0xb80005f0 0x20 mww 0xb8000600 0x12345678 mdw 0 0x8 mdh 0 0x10 mdb 0 0x20 Result: > mww 0xb8000600 0x12345678 > mdw 0xb8000600 1 0xb8000600: 12345678 > mdw 0xb80005f0 0x8 0xb80005f0: c157a29f 75a3207f 538e458f 9894432b 12345678 3097ec49 576cdd68 3c5bd5e4 > mdh 0xb80005f0 0x10 0xb80005f0: a29f c157 207f 75a3 458f 538e 432b 9894 5678 1234 ec49 3097 dd68 576c d5e4 3c5b > mdb 0xb80005f0 0x20 0xb80005f0: 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b > mww 0xb8000600 0x12345678 > mdw 0 0x8 0x00000000: e59ff018 e59ff018 e59ff018 e59ff018 e59ff018 e1a00000 e59ff014 e59ff014 > mdh 0 0x10 0x00000000: f018 e59f f018 e59f f018 e59f f018 e59f f018 e59f 00 e1a0 f014 e59f f014 e59f > mdb 0 0x20 0x00000000: 18 f0 9f e5 18 f0 9f e5 18 f0 9f e5 18 f0 9f e5 18 f0 9f e5 00 00 a0 e1 14 f0 9f e5 14 f0 9f e5 -- Øyvind Harboe Embedded software and hardware consulting services http://www.zylin.com _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
