Yahoo Groups archive

68300

Index last updated: 2026-04-29 00:01 UTC

Thread

how long to wait for FREEZE to come high?

how long to wait for FREEZE to come high?

2004-03-10 by Aaron J. Grier

I've got a 68331CFC25 in a circuit.  we've been shuffling debugging
duties between machines, and having some gremlins appear.

the current device driver we use for BDM does bit-banging to an ICD32
pod.  one of the oddities we've been seeing shows a BDM request being
made without the FREEZE line coming up.  since the FREEZE line doesn't
come up, the driver assumes the system isn't in background mode, and
tries again.  usually this second BDM request works and things continue
on as usual.  however, occationally the situation arises where even
after this second try the FREEZE line still remains low, and the BDM
device driver throws up its hands.  (of course after hooking up the
logic analyzer the gremlins haven't shown up, but that's the way it
goes...)

how long should we be waiting for FREEZE to come up after attempting to
get into BDM mode?

the 68331 is running a 32kHz crystal, so before the PLL is programmed,
it's running at 8MHz, correct?  we have a 1k pullup on RESET\ line.
currently the device driver is waiting ~15ms for FREEZE to come up after
pulling BKPT\ low and pulling RESET\ low (we are seeing the CPU pull it
back up high).

-- 
  Aaron J. Grier  |   Frye Electronics, Tigard, OR   |  aaron@...

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.