Steve Underwood wrote:

Grant Edwards wrote:

On 2006-08-01, Walter Spicker <wspic...@salientsystems.com> wrote:



I've been experiencing a lock up problem with the parallel port FET tool. It works well for long periods of time, but occasionally it gets stuck in a mode where neither msp430-jtag.py nor msp430-gdbproxy will work. msp430-gdbproxy gives the error "Could not find device (or device not supported)"
I have similar symptoms.  It seems to be caused by the fact I'm
powering the target via the JTAG interface, and msp430-gdbproxy
isn't waiting long enough for the 32KHz oscillator to startup.
It only waits 250ms before it gives up on the target and shuts
off the power (the 32KHz oscillator takes about 700ms to
start).
Once it works, it keeps working because msp430-gdbproxy doesn't
shut off the power when it exits.  So the next time it runs,
the power has been on for >700ms and everything is fine.
Once msp430-gdbproxy gets unhappy, it shuts off the power.
Thereafter it won't leave the power on long enough for the
target oscillator to start.  If I power the target externally
for a second before starting msp430-gdbproxy, then it works.


You can disconnect the 32kHz crystal, and gdbproxy will still work. If it didn't, designs which have no 32kHz oscillator could not be debugged. In fact, since debug operation does not set the load capacitors for the crystal (it has no why to know what the appropriate setting might be), in a large number of designs with a 32kHz crystal, the oscillator will probably not start.

JTAG and Spy-Bi-Wire operation is completely independent of the 32kHz oscillator.



Does anyone know of a way to clear this condition remotely? Or, is there a way to prevent it from occurring?
Are you powering the target from the JTAG interface?

No, I don't power the target from the JTAG interface.



Regards,
Steve


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to