Kalpesh Pandit

Porting existing C code from MC9S12DP512 to MC9S12XDP512

Discussion created by Kalpesh Pandit on Jan 7, 2008
Latest reply on Aug 16, 2011 by Tom Thompson
I m using MC9S12DP512. Now we have decided to switch to MC9S12XDP512 for some reasons
The existing 'C' code is going to be used as both controllers are pin 2 pin compatible
but it is giving many errors ,some of the registers in dp512 do not exist in xdp512 header file
MISC, PEAR, IBCR, IBFD,IBDR,IBSR,PORT_AD,PORT_K and of course INTCTR. Regarding interrupt logic it is fine.
we will decide it later but right now other than interrupt logic i want to port my existing code (with existing logic) to xgate controller
can anybody help me and suggest me the topics on which i should concentrate?????

Message Edited by kp2309 on 2008-01-07 06:13 AM