Peripheral addresses

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

Peripheral addresses

1,095 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nmariner on Tue Apr 29 05:59:35 MST 2014
Does anyone know how LPCXpresso 'knows' the peripheral addresses of a certain chip?
Is this built in to the program or is it held in external data files somewhere?
I don't think it is taken from the chip header file (although I could be wrong!)

Regards,
Nigel.
0 Kudos
Reply
4 Replies

1,083 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Fri May 02 07:45:42 MST 2014
The definitions of the registers in the Peripheral view are not available for editing - they are created during the LPCXpresso product build.

Regards,
LPCXpresso Support
0 Kudos
Reply

1,083 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nmariner on Fri May 02 07:39:54 MST 2014
I have searched for .svd files in my expresso directories and nothing found.
Unless these files are just used for installation of the chip information.
0 Kudos
Reply

1,083 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by starblue on Fri May 02 01:43:29 MST 2014
I would guess from .svd files. For example

http://www.lpcware.com/content/nxpfile/lpc1500-svd-file
0 Kudos
Reply

1,083 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Tue Apr 29 06:10:06 MST 2014

Quote: nmariner
I don't think it is taken from the chip header file...



What's wrong with chip.h?
#define LPC_IOCON_BASE            0x400F8000
...
#define LPC_IOCON                 ((LPC_IOCON_T            *) LPC_IOCON_BASE)
...
0 Kudos
Reply