How do I retrieve the binary data from Flash?

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

How do I retrieve the binary data from Flash?

跳至解决方案
3,318 次查看
at-nakano
Contributor II

How do I retrieve the binary data from the flash on the chip?

IDE is LPCXpresso 7.0.0 and chip is LPC1763.

I need to maintain old product but there is no source and binary file are backed up, so before I load the new binary on the flash, I wanted to retrieve the data from the flash in case.

Regards

0 项奖励
回复
1 解答
3,240 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Hello at-nakano@kaijo.co.jp‌,

To do this please follow these steps:

Using ISP:

- Connect a USB2Serial Converter to the pins P0.2 and P0.3

- Enable the ISP mode putting the pin P2.10 to ground.

- Using the flash magic (link to download here) in the ISP section you can use the read option to dump the flash memory in a file:

pastedImage_2.png

Also, depending on the debugger you're using there's some additional option. For example, if you have a Segger debugger you can use the J-Link commander and use the command savebin to dump the memory in a binary file.

I hope this helps you.

Best Regards,

Alexis Andalon 

在原帖中查看解决方案

0 项奖励
回复
3 回复数
3,241 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Hello at-nakano@kaijo.co.jp‌,

To do this please follow these steps:

Using ISP:

- Connect a USB2Serial Converter to the pins P0.2 and P0.3

- Enable the ISP mode putting the pin P2.10 to ground.

- Using the flash magic (link to download here) in the ISP section you can use the read option to dump the flash memory in a file:

pastedImage_2.png

Also, depending on the debugger you're using there's some additional option. For example, if you have a Segger debugger you can use the J-Link commander and use the command savebin to dump the memory in a binary file.

I hope this helps you.

Best Regards,

Alexis Andalon 

0 项奖励
回复
3,240 次查看
at-nakano
Contributor II

Hi Alexis,

I did it!

As I mentioned in my previous comment, I'm using LPC-Link2 with J-Link F/W.

Regarding flash tool, I'm using and J-Flash, and this combination works fine.

Thank you for your support!

Regards,

0 项奖励
回复
3,240 次查看
at-nakano
Contributor II

Hi Alexis,

Thank you for your reply and apologize for late response.

Since I'm trapped with the other tasks, I have not tried the solutions you recommended, but I'll do the second solution first with my LPC-Link2.

I'll let you know the result soon.

Regards,

0 项奖励
回复