Binary which can run at different address locations

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

Binary which can run at different address locations

701 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by veejaykarthik on Fri Mar 11 04:41:00 MST 2016
Hi Members,

We are using LPC2148 and we would like to know the following.

How to build a single binary file which can run from different locations Eg: 0x4000 and 0x10000

The binary file will be transferred to LPC2148 over usb and copied to different locations in Flash. Using bootloader, the binary can be invoked.

Is it possible to create a single binary which can run from different address locations?

Eg: Using position independent options like --rwpi. --ropi.


标签 (1)
0 项奖励
回复
1 回复

654 次查看
lpcware
NXP Employee
NXP Employee
bump
0 项奖励
回复