Download *.axf FROM LPC1768?

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

Download *.axf FROM LPC1768?

1,172 次查看
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 项奖励
回复
3 回复数

1,124 次查看
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 项奖励
回复

1,124 次查看
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 项奖励
回复

1,124 次查看
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 项奖励
回复