How do I retrieve the binary data from Flash?

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

How do I retrieve the binary data from Flash?

Jump to solution
1,936 Views
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 Kudos
1 Solution
1,858 Views
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 

View solution in original post

0 Kudos
3 Replies
1,859 Views
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 Kudos
1,858 Views
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 Kudos
1,858 Views
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 Kudos