LPC804 reading flash with openocd unstable

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC804 reading flash with openocd unstable

2,486 次查看
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

标签 (1)
标记 (2)
0 项奖励
回复
2 回复数

2,416 次查看
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 项奖励
回复

2,416 次查看
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 项奖励
回复