DSPRelated.com
Forums

TI 5402 emulator software reset failed.

Started by Andrew Xiang June 27, 2003
When I connect xds510pp to the target system, sometimes I get Software
Reset Failed error. And when downloading a program, it finishes
downloading a program okay, but at the last stage, it tries to reset
the chip, and it fails.

I suspect it is my power supply. I used 2 non-TI LDO to power the DSP,
instead of TI's dual LDO configuration. I read in the spec that the
5402 might be picky on the power synchronization.

Anyone had similar problem ?

thanks
Andrew
andrew_xiang@yahoo.com
Andrew Xiang wrote:
> > When I connect xds510pp to the target system, sometimes I get Software > Reset Failed error. And when downloading a program, it finishes > downloading a program okay, but at the last stage, it tries to reset > the chip, and it fails. > > I suspect it is my power supply. I used 2 non-TI LDO to power the DSP, > instead of TI's dual LDO configuration. I read in the spec that the > 5402 might be picky on the power synchronization. > > Anyone had similar problem ? > > thanks > Andrew > andrew_xiang@yahoo.com
Hello Andrew, I'm not sure what the problem is, but there are a few things I can ask you about and/or you can check: 1. A software reset shouldn't affect power, so I don't think it's your regulators. 2. Are you sure you implemented the JTAG interface correctly, being careful to provide the pullups they specify? Has the board ever worked properly with the emulator? 3. Sometimes you can get these kinds of errors if the hardware reset or CLKIN signals glitch or go away - perhaps you can get on them with a scope when the problem happens and check them out. 4. Are you trying to download anything into ROM (FF80-FFFF)? Just a few ideas. -- % Randy Yates % "...the answer lies within your soul %% Fuquay-Varina, NC % 'cause no one knows which side %%% 919-577-9882 % the coin will fall." %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO http://home.earthlink.net/~yatescr
1. JTAG seems to be working. I ran diagostics for one hour with many
loops. no error.

2. The problem happens when I try to Gel->RESET. Of course it will
happen when I download program. But I have not got to the stage yet.

3. I can read internal CPU register and peripheral registers, and
internal memory. But NOT external memory under this condition.

4. I did have some instance where it worked fine. But I don't know why
it is not consistent.

5. I can launch CCS 2.1 and CCS2.2 without any problem, only when I
want to GEL->RESET.

I suspect it tries to reset the CPU and the CPU does not respond? I
suspect some logic is not turned on because of the power up sequence.
Really frustrating.

-Andrew



Randy Yates <yates@ieee.org> wrote in message news:<3EFDB23C.3E95851D@ieee.org>...
> Andrew Xiang wrote: > > > > When I connect xds510pp to the target system, sometimes I get Software > > Reset Failed error. And when downloading a program, it finishes > > downloading a program okay, but at the last stage, it tries to reset > > the chip, and it fails. > > > > I suspect it is my power supply. I used 2 non-TI LDO to power the DSP, > > instead of TI's dual LDO configuration. I read in the spec that the > > 5402 might be picky on the power synchronization. > > > > Anyone had similar problem ? > > > > thanks > > Andrew > > andrew_xiang@yahoo.com > > Hello Andrew, > > I'm not sure what the problem is, but there are a few things > I can ask you about and/or you can check: > > 1. A software reset shouldn't affect power, so I don't think it's > your regulators. > > 2. Are you sure you implemented the JTAG interface correctly, being > careful to provide the pullups they specify? Has the board ever > worked properly with the emulator? > > 3. Sometimes you can get these kinds of errors if the hardware reset > or CLKIN signals glitch or go away - perhaps you can get on them with > a scope when the problem happens and check them out. > > 4. Are you trying to download anything into ROM (FF80-FFFF)? > > Just a few ideas.