Binary which can run at different address locations

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

Binary which can run at different address locations

700 Views
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.


Labels (1)
0 Kudos
Reply
1 Reply

653 Views
lpcware
NXP Employee
NXP Employee
bump
0 Kudos
Reply