Hi,
there's some user here using DsPic, unfortunately here it's for Melabs PICBasic PRo compiler.. which don't support any DsPIC. I would suggest you to go on the MicroChip Forum.

http://forum.microchip.com/

Could be a code problem...