This is behavior I can't explain. The voltages power up correctly, they look stable, all clocks look good, and we can program the part via JTAG (spectrum debugger). We can even confirm, from the spi flash part, that we are able to successfully flash the spi flash ic. But when we try to run the code in the debugger things break down. The program doesn't run predictably and if we pause and come back the program counter is off in the weeds; not at all expected behavior.
This is a second spin of our board and we seemed to have a similar problem, only occasionally though, on the first spin and it had to do with the delay on the reset line. By adjusting an rc circuit we could get it to work. We've replaced the reset control with a small pic, but it seems we must not have it right.
So my question is this: should we expect to be able to program the device, but not have it run (or boot) correctly, if the reset control isn't correct? I don't want to spend a day chasing down ghost reset issues; because the thing programs fine I'm not sure what to think about why it won't run/boot. We've pulled TRST low with a 10K resistor.
Any ideas?
Many thanks.
David Havell