Reading out code

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

Reading out code

171 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by richas on Thu Feb 07 11:47:48 MST 2013
I have the need to read out the code from a LPC1114/301.  The device is not protected.  I see the LPCxpresso IDE and command line tools for programming but nothing for reading a device.

Is there a tool for reading a devices flash into a .axf or .bin file?

Thanks

Rich
0 Kudos
4 Replies

159 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by richas on Thu Feb 07 16:59:15 MST 2013
I am opening the debug perspective, and the a memory browser.  I find a point past the end of the code and export to a bin file.

This [U]seems [/U] to work...

Rich
0 Kudos

159 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by richas on Thu Feb 07 16:36:26 MST 2013
I am ok up until the viewing and exporting of memory.........


Rich
0 Kudos

159 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by wrighflyer on Thu Feb 07 15:22:12 MST 2013
When I first got the LPC812 Xpresso I wanted to read the code out. When I googled I hit an article on the Code Red site. It said to edit a debug profile and just change the option so it doesn't start by downloading code. When you start debugging you can then select the function to read back flash.
0 Kudos

159 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Thu Feb 07 12:52:34 MST 2013
[FONT=Trebuchet MS][SIZE=1]My usual plan is to debug the device (make sure you set load to false) then hit suspend.
I then open a memory view to cover the flash and use the export button.

I understand that FlashMagic has commands to read from the device.
I have never used it and don't know what (if any) export options it has.

Mike
[/SIZE][/FONT]
0 Kudos