This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

c5505 stops responding - C55xx: Trouble Writing Register PC

I am having an issue where the processor jumps to some part in memory. I am getting the following error messages in the console sometimes, but not every time,  when this issue occurs.

C55xx: Trouble Writing Register PC: (Error -1024 @ 0x0) Requested JTAG operation failed. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.569.0)
C55xx: Can't Run Target CPU: (Error -1141 @ 0x0) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.569.0)

To repeat this issue, I only have to set a pointer to an array and use a printf statement. When I do not set a pointer to an array the program will run fine. When I do have a pointer set to an array, I can step through the program until the first printf statement, after which the debugger/emulator loses track and the processor jumps to some other memory location. I have tried stepping through the assembly of the printf function. It has jumped at the end of a routine called something like pp_fflags.

I have made sure the .cio and .data sections are in different parts in memory.  Although, like the other person who seemed to have this issue, I feel that I may have made some error in my linker.

I have had this issue on CCS 4.2 as well as CCS 5.1.1. I am using the EZdsp5505 and I have tried this with both the XDS100 v1 and v2 emulator with device USBSTK5505.

If you can think of any reason that this might be happening, or anything I could try, let me know.

Thanks!