tosirius
Joined: 16 Nov 2005 Posts: 2 Location: Rockport, ME
|
Flaky H4 operation |
Posted: Mon Dec 05, 2005 10:14 am |
|
|
I have been seeing flaky 4x PLL operation on an 18F252. I was using a 20MHz crystal in HS mode and needed to speed up the processor. I switched to an 8MHz crystal and set the oscillator mode fuse to H4. It took a while (until I read comments in this forum) to figure out that I needed to do a POR to get it to work at 32MHz. Now, however, every time I recompile the code and load it into flash (using the CCS ICD-U40), I need to do a POR to get it to work at 4x. If I use the Reset MPU button in the debugger, it switches back to HS mode running at 8MHz. Is this normal?
I am using PCH 3.236/WinXP. |
|