LPC804 reading flash with openocd unstable

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC804 reading flash with openocd unstable

2,483件の閲覧回数
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,413件の閲覧回数
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,413件の閲覧回数
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 件の賞賛
返信