Forums

JTAG emulator doesn't work on target board! Please help!

Started by Christian August 5, 2004
Hi there! 
I've got a problem with my DSP target board. 
I'm currently using an XDS510PP plus Emulator (from 
spectrum digital) and a target board with one single 
TMS320VC5409 CPU. Also changed to C5416 without affect. 
I'm currently using CCS free evaluation tool v.2.21 from texas 
on a Win 2000 machine.
When the emulator is connected to the C5416DSK, all 
functions well. But when I connect the emu to my target 
board, errors occur.
It says "failed software reset: error 0x80001020/-1058 Fatal 
error during execution, target, device driver: Emlator not 
responding..."
I don't think that there is something wrong with the port 
configuration or the driver, because on the dsk it works.
I checked all suply voltages, the clock, pll (right clock comes 
out of clkout pin) and so on. Nothing wrong. I replaced the 
C5409 by a C5416 to have the same configuration as on the 
dsk. At least I connected all "important" wires from the dsk. 
(jtag connection, clock, reset)to the target board (connected 
emu to dsk, cut the wires and connected them to the 
according wires on my target board)
But nothing happened. Errors are still the same.
Schematic of dsk jtag interface and target board are nearly 
the same.
Yesterday I took a "naked" board and put only the dsp, power 
supply and clock on it. Then i connected it to the emu and it 
worked. But only two hours. Then the same errors occured 
and are still present.

Does anyone have an idea how to fix it?

Thanks,

Christian.
On 5 Aug 2004 00:33:00 -0700, christian.scholz@alpha-com.biz
(Christian) wrote in comp.dsp:

> Hi there! > I've got a problem with my DSP target board. > I'm currently using an XDS510PP plus Emulator (from > spectrum digital) and a target board with one single > TMS320VC5409 CPU. Also changed to C5416 without affect. > I'm currently using CCS free evaluation tool v.2.21 from texas > on a Win 2000 machine. > When the emulator is connected to the C5416DSK, all > functions well. But when I connect the emu to my target > board, errors occur. > It says "failed software reset: error 0x80001020/-1058 Fatal > error during execution, target, device driver: Emlator not > responding..." > I don't think that there is something wrong with the port > configuration or the driver, because on the dsk it works. > I checked all suply voltages, the clock, pll (right clock comes > out of clkout pin) and so on. Nothing wrong. I replaced the > C5409 by a C5416 to have the same configuration as on the > dsk. At least I connected all "important" wires from the dsk. > (jtag connection, clock, reset)to the target board (connected > emu to dsk, cut the wires and connected them to the > according wires on my target board) > But nothing happened. Errors are still the same. > Schematic of dsk jtag interface and target board are nearly > the same. > Yesterday I took a "naked" board and put only the dsp, power > supply and clock on it. Then i connected it to the emu and it > worked. But only two hours. Then the same errors occured > and are still present. > > Does anyone have an idea how to fix it? > > Thanks, > > Christian.
There are a number of possible reasons we have come across developing for the F2812 with the XDS510PP. Are you powering the emulator with the plug in wall-wart power supply, or trying to power it from the target board? If you power it from the target board, the power must be +5V. If your board is 3.3V, the emulator only looks at that pin to see if the target is powered up or not, but cannot use 3.3V to run itself. If your power supply is not supplying enough current or is not well regulated, perhaps the voltage is just high enough when only the DSP is on the board, but too low with all the other components mounted. Or you could have some sort of design flaw that is pulling down the supply on a fully populated board. Another possibility is interference with the JTAG signals. One of our EE's, without thinking put transient absorbers on all I/O pins, including the JTAG pins, and their low pass filtering effect totally destroyed the 10 MHz JTAG signals used by the emulator. If you have any sort of transorbs, ferrites, R/C filters, or even resistors on your target board JTAG lines, pull them off and add jumpers as necessary. -- Jack Klein Home: http://JK-Technology.Com FAQs for comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html comp.lang.c++ http://www.parashift.com/c++-faq-lite/ alt.comp.lang.learn.c-c++ http://www.contrib.andrew.cmu.edu/~ajo/docs/FAQ-acllc.html
Jack Klein <jackklein@spamcop.net> wrote in message news:<9nq5h0539ah6o9ahf03h7dhd1gjngcnd77@4ax.com>...
> There are a number of possible reasons we have come across developing > for the F2812 with the XDS510PP. > > Are you powering the emulator with the plug in wall-wart power supply, > or trying to power it from the target board? If you power it from the > target board, the power must be +5V. If your board is 3.3V, the > emulator only looks at that pin to see if the target is powered up or > not, but cannot use 3.3V to run itself. If your power supply is not > supplying enough current or is not well regulated, perhaps the voltage > is just high enough when only the DSP is on the board, but too low > with all the other components mounted. Or you could have some sort of > design flaw that is pulling down the supply on a fully populated > board. > > Another possibility is interference with the JTAG signals. One of our > EE's, without thinking put transient absorbers on all I/O pins, > including the JTAG pins, and their low pass filtering effect totally > destroyed the 10 MHz JTAG signals used by the emulator. If you have > any sort of transorbs, ferrites, R/C filters, or even resistors on > your target board JTAG lines, pull them off and add jumpers as > necessary.
Power is provided to the emulator via the original supply. So i think it should be ok. And I also used a board with nothing exept dsp and power supply on it. All other parts were removed. There are no additional components in the JTAG schematic. Only tho two pullups on EMU0 and EMU1. Christian
Do you have the /RS pin pulled high?


"Christian" <christian.scholz@alpha-com.biz> wrote in message
news:980b0231.0408042333.5a6c6110@posting.google.com...
> Hi there! > I've got a problem with my DSP target board. > I'm currently using an XDS510PP plus Emulator (from > spectrum digital) and a target board with one single > TMS320VC5409 CPU. Also changed to C5416 without affect. > I'm currently using CCS free evaluation tool v.2.21 from texas > on a Win 2000 machine. > When the emulator is connected to the C5416DSK, all > functions well. But when I connect the emu to my target > board, errors occur. > It says "failed software reset: error 0x80001020/-1058 Fatal > error during execution, target, device driver: Emlator not > responding..." > I don't think that there is something wrong with the port > configuration or the driver, because on the dsk it works. > I checked all suply voltages, the clock, pll (right clock comes > out of clkout pin) and so on. Nothing wrong. I replaced the > C5409 by a C5416 to have the same configuration as on the > dsk. At least I connected all "important" wires from the dsk. > (jtag connection, clock, reset)to the target board (connected > emu to dsk, cut the wires and connected them to the > according wires on my target board) > But nothing happened. Errors are still the same. > Schematic of dsk jtag interface and target board are nearly > the same. > Yesterday I took a "naked" board and put only the dsp, power > supply and clock on it. Then i connected it to the emu and it > worked. But only two hours. Then the same errors occured > and are still present. > > Does anyone have an idea how to fix it? > > Thanks, > > Christian.
Hi there! I fixed it! It was an error in the *.gel file. After setting
the PMST Register there was an mismatch between the register and the
hardware configuration.

Christian