I have a DSP/BIOS program that is working on an F2808 eZdsp board, but it isn't starting on a new custom board I created. I set a breakpoint for the first instruction in main(), and it never gets there. Here's what is happening and working:
JTAG works fine: can load programs, set breakpoints, set register values, etc.
I've stepped through the assembly code, and it runs for a while (maybe 100 opcodes or so) until the following ASM instruction (which is after the BIOS_init section in the .s28 dsp/bios config file):
008F78 76408FE9 LCR 0x008FE9
After this instruction executes I get the following CCS error message:
"Can't Single Step Target Program: Error 0x00000022/-1137 Error during: Memory, Execution, It appears that the target is being held in reset. This may be due to Wait-In-Reset (WIR) configuration set by the EMU0=0 and EMU1=1 pin settings. If this is the case, DISCONNECT all CONNECTED devices including icepick and then select RETRY to clear the WIR configuration. If this is a multi-core system, the master CPU may not be releasing the DSP/MCU from reset. Please check your configuration in CC_setup and/or your GEL file to ensure that nothing is blocking the DSP/MCU from being released from reset"
This exact same executable runs on my eZdsp just fine. Before I start tearing my board apart, are there any ideas on things to try or look for?
I'm using CCS Platinum 3.3 with DSP/BIOS 5.33.03.