I have patched openocd 0.10 to support LPC804. I can erase and write flash but reading from flash shows errors:
mdb 0x7b30 16
0x00007b30: 87 b5 67 4a 80 80 8d 04 ba 22 51 1e 83 6a 47 a5
mdb 0x7b30 16
0x00007b30: 87 b5 67 4a 80 80 8d 04 ba 22 55 5e 83 6a 47 a5
...
mdb 0x7b30 16
0x00007b30: 87 b5 67 4a 80 80 8d 04 ba 22 51 1e 83 7a 47 a5
A logic analyzer connected to CN1 of my LPC804 Devboard shows that data read from the LPC804 also differs in 1-2 bits between requests.
Using different SWD adapters (KL25 devboard, gpio on raspberry) gives the same results.
Any idea?
Best regards,
Falk
Hi, XiangJun,
thank you for your answer.
I found that I can use crt_emu_cm_redlink as gdb-server. So there is no more need for me to use openocd at this time.
As crt_emu_cm_redlink is working well, I think the bug is in my openocd patches.
Best Regards,
Falk
Hi, Falk,
Can you provide more information about the tools you are using, the screenshot you have read, the device so that we can have a review.
BR
XiangJun Rong