I have designed a custom board using the LogicPD c6748 SOM. We had got most of the board working when it was decided to change some signal connections to simplify the software. the original board used fro debug was not reworked. When the board came back with the white wire corrections, I installed the SOM and tried to load the program using an XDS100V2 emulator. There is an 74HVC541 between the SOM and the emulator connector. As the circuit worked at one time, this is not a problem.
So this is what happens:
1) I select "debug active project" from the Target drop down. The program loads and I see "main" in the window to the right. It is ready to go.
2) I hit "go" (the green arrow on the tool bar) and this is what I get:
C674X_0: Trouble Reading PC Register: (Error -1044 @ 0x0) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Release 5.0.333.0)
C674X_0: Trouble Reading Register B3: (Error -180 @ 0x23) The controller has detected a target power loss. The user must turn-on or connect the power supply for the target. (Release 5.0.333.0)
C674X_0: Call Stack: Cannot unwind further: Target failed to read the register B3
C674X_0: Trouble Reading Register CSR: (Error -180 @ 0x41) The controller has detected a target power loss. The user must turn-on or connect the power supply for the target. (Release 5.0.333.0)
C674X_0: Trouble Reading Register CSR: (Error -180 @ 0x41) The controller has detected a target power loss. The user must turn-on or connect the power supply for the target. (Release 5.0.333.0)
C674X_0: Trouble Reading Memory Block at 0xc018f000 on Page 0 of Length 0x1000: (Error -180 @ 0xC018F000) The controller has detected a target power loss. The user must turn-on or connect the power supply for the target. (Release 5.0.333.0)
C674X_0: Trouble Reading Memory Block at 0xc0143980 on Page 0 of Length 0x581: (Error -180 @ 0xC0143980) The controller has detected a target power loss. The user must turn-on or connect the power supply for the target. (Release 5.0.333.0)
C674X_0: JTAG Communication Error: (Error -180 @ 0x0) The controller has detected a target power loss. The user must turn-on or connect the power supply for the target. (Release 5.0.333.0)
C674X_0: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
Some Points:
I checked the power an it is present everywhere I look (including on the SOM and on the JTAG connector)
The board everything used to work on does not work, same error message.
I replaced the emulator, same error message.
Any ideas?