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@...
Message
GPT and CPR bits
2003-04-29 by Aaron J. Grier
Attachments
- No local attachments were found for this message.