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
Solved! Go to Solution.
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:
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
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:
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
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,
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,