It was a system file for our project, I actually changed a setting for the PLL, because we changed the crystal. I did a system restore last night due to some other problems with my computer last night, and now the problem has changed. I can succesfully download, but about ten instructions into debugging it locks up without any indication of why. This is the boot strap from the project, and it locks on the last instruction.
/* disable interrupts */ move.w #0x2700,sr /* Setup initial stack */ move.l #__SP_AFTER_RESET, a7 /* Initialize RAMBAR: locate SRAM and validate it */ move.l #__RAMBAR + 0x21,d0 movec d0,RAMBAR /* Initalize IPSBAR */ move.l #__IPSBAR,d0 andi.l #0xC0000000,d0 // need to mask add.l #0x1,d0 move.l d0,0x40000000 /* Initialize FLASHBAR */ move.l #__FLASHBAR,d0 andi.l #0xFFF80000,d0 // need to mask add.l #0x61,d0 movec d0,FLASHBAR /* Setup final stack pointer */ lea _SP_INIT, a7 /* setup A6 dummy stackframe */ movea.l #0, a6 link a6, #0 /* Setup A5 SDA pointer */ lea _SDA_BASE, a5 /* Copy bootloader code and initialized data to RAM */ lea _BOOT_CODE_ROM_START, a0 lea _BOOT_CODE_RAM_START, a1
Again, any help is greatly appreciated,
Kevin