Yahoo Groups archive

68300

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

Message

GPT and CPR bits

2003-04-29 by Aaron J. Grier

hi Charlie and gang...

I have a 68331 target and am in a quandary.  I'd like to be able to
re-set the CPR bits of the GPT a second time.

section 7.7 of the 68331 manual states:

	[...] The PPR bits can be written at any time but the
	CPR bits can only be written once after reset unless the
	GPT is in test or freeze mode.

I had a definite head-slapping moment a few minutes ago after reading
this.  it explains why my software runs fine out of RAM but not from
ROM, where it is being called through a bootloader which is setting the
CPR bits, thus preventing me from resetting them.

freeze mode is externally-generated (right?), so it doesn't appear to be
an option, but I don't have any documentation on test mode.

as a last resort, I think I could bully my co-worker into changing his
bootloader code, but it would be nice if there's a simple fix so the two
software pieces could remain somewhat independent.

any suggestions?

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

Attachments

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.