LPC804 reading flash with openocd unstable

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC804 reading flash with openocd unstable

2,480 Views
falk_willberg
Contributor I

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

Labels (1)
Tags (2)
0 Kudos
Reply
2 Replies

2,410 Views
falk_willberg
Contributor I

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

0 Kudos
Reply

2,410 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply