Don't use both _OSC_HS_1H and _OSC_HSPLL_1H Just use: _OSC_HSPLL_1H Bob Ammerman RAm Systems ----- Original Message ----- From: "Marcel Duchamp" To: "Microcontroller discussion list - Public." Sent: Monday, May 02, 2005 11:16 AM Subject: Re: [PIC] hspll mode not assembling correctly > Marcel Duchamp wrote: > As mentioned before, the config >> value in my program listing is 0xf2; it should be 0xf6. Again, my >> question is why is the assembler generating 0xf2? >> MD >> > > Further investigation has found that the correct code is assembled if > this line is used: > > __CONFIG 300001, 0x00f6 > > instead of this: > > __CONFIG _CONFIG1H, _OSC_HS_1H & _OSC_HSPLL_1H > > The pll does turn on and the expected 10mip performance does happen. I > still do not understand why the usual config statements are not > assembling correctly... and yes, I have this at the top: > > LIST P=18F4620 ;directive to define processor > #include ;processor specific variable definitions > > ??? > MD > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist