Read back memory from LPC55S06 by J-flash

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

Read back memory from LPC55S06 by J-flash

3,262 次查看
jimmyli
Contributor IV

Hi,

      We programed a hex file to LPC55S06 (official demo) by J-Flash (v7.56 or v8.82f, connecting with Jlink v9) tool at the first time, then we readed back "Entire chip" sucessfully.

      Then, we ereased chip and re-programed the chip by the same hex file; After that, we tried to read back "entire chip", but it failed.

      We tried all the configurations in J-Flash tool, but failed to read back again.

      We can't find the reason, and this problem will affect our production.

      Hope you can help us to fix it.

      Thanks very much.

jimmyli_0-1671092556972.jpeg

 ----hardware link

jimmyli_1-1671092582538.jpeg

----read back "entire chip"

 

jimmyli_3-1671092816957.png

----read back error from the second time

 

 

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

3,210 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello All,

Yes,When reading an erased location, an uncorrectable error is flagged. Use the “blank
check” command to test for a successful erase.

About detail description, you can refer to:

https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/LPC55xx-Erased-Memory-State-0-or-1/ta-p/...  

 

BR

Alice

0 项奖励
回复

3,197 次查看
jimmyli
Contributor IV
Hi Alice, Got it. Thanks for your reply.
0 项奖励
回复

3,241 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @jimmyli 

What image did you programed? 

How about erase? How about read sector?

And how about enter ISP mode, using Blhost to read? I ask this just want to confirm it is tool issue or MCU.

 

BR

Alice

0 项奖励
回复

3,222 次查看
jimmyli
Contributor IV

Hi Alice,      

What image did you programed? 

hex image

How about erase? How about read sector?

Erase: J-Flash-->Target-->Manual Program-->Erase Chip

Read:  J-Flash-->Target-->Manual Program-->Read back-->Entire Chip

And how about enter ISP mode, using Blhost to read? I ask this just want to confirm it is tool issue or MCU.

using SWD interface, not by ISP mode.

 

Thanks very much.

0 项奖励
回复

3,232 次查看
Johnson_Ho
Contributor I

same issue: when a sector has been erasered, the j-flash can not readback the sector; the read back only works while the sector has been programed something.

0 项奖励
回复