change startup address

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

change startup address

733 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Hubert Wu on Wed Apr 07 07:57:29 MST 2010
Does any way to direct the startup address at 0x00001000 instead of 0x00000000? Keil can setting at memory area directly. Where is the setting of LPCXpresso or how to do? Thanks.
0 Kudos
Reply
2 Replies

717 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by renan on Wed Apr 07 09:03:21 MST 2010
You could see the CodeRed examples for RDB1768v2.

RDB1768cmsis_AudioMeter_64k
RDB1768cmsis_LedFlash_64k
RDB1768cmsis_uIP_dhcp_64K

These three examples do not start at 0x0. See the linker scripts in linkscripts directory.

Renan
0 Kudos
Reply

717 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Apr 07 08:58:26 MST 2010
To change the link address from the default 0x0, you will need to use a modified linker script. For more information on this, please see:

http://lpcxpresso.code-red-tech.com/LPCXpresso/node/31

I also suggest that you take a look at the following thread which gives useful information on relocation of the vector table:

http://knowledgebase.nxp.com/showthread.php?t=227

Regards,
CodeRedSupport
0 Kudos
Reply