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