Download *.axf FROM LPC1768?

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

Download *.axf FROM LPC1768?

1,155 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by borisw37 on Mon Mar 17 11:28:31 MST 2014
Is it possible to download existing compiled code from the LPC1768 device. I'm using the (LPC-LINK2).
I have a working device that I need to upgrade the code on, source is available, but I wanted to preserve the current compiled code just in case something goes wrong and I need to restore the device to the original configuration.

0 Kudos
Reply
3 Replies

1,107 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Mon Mar 17 13:05:36 MST 2014

Quote: borisw37
Do I need to "connect" to the target MCU 1st, without clicking "debug" or "program flash"?



Yes.

Create a new LPC1768 project and change Launch Configuration->Debugger

Attach Only : [color=#f00]True[/color]
Load image  : [color=#f00]False[/color]

Now you can start to debug the target without flashing it before.
Of course there's only the Disassembly View available...

If you store the Flash content in RAW Binary (*.bin) 'Flash Utility'
can flash your target again with this file...
0 Kudos
Reply

1,107 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by borisw37 on Mon Mar 17 12:28:52 MST 2014
Do I need to "connect" to the target MCU 1st, without clicking "debug" or "program flash"?
0 Kudos
Reply

1,107 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Mon Mar 17 11:43:25 MST 2014
See: http://www.lpcware.com/content/faq/lpcxpresso/import-export-memory
0 Kudos
Reply