I realized that 5529 is 80 pin and 5525 is 64 pin. I had just changed the header file in device.h from 5529.h to 5525.h would that be any problem or do I have to change any other files. Also I am not sure why my device doesn't seem to work with external crystals both XT1 and XT2 10 MHz which are required for USB communication. If I enable any one of these oscillators the OFIFG flag is always set and I see the DCO clock not external clock on SMCLK. I use the MSP-FET430UIF USB debuuging interface to download my code. My USB device is also not recognized by PC.