Hi,
Which Pic ??? , please ...
may I suppose a 40 pins package ???
Alain
Hi,
Which Pic ??? , please ...
may I suppose a 40 pins package ???
Alain
Last edited by Acetronics2; - 3rd March 2009 at 12:53.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Hi
Use CAPITAL LETTERS in your define for your OSC, that might fix the problem.
Always use capitals in the defines and remember any problem or typo in the defines will not generate a PBP error.
thanks for your quick reply's. sorry i forgot to write the pic. i am using 16f876A.tommorow i will try with capital the define's and i will inform you . i also thinking that may be timing because the garbage that i am receiving look like to be wrong baund rate
When switching from the PM assembler to MPASM, and not including config settings in your
code, make sure your config settings in 16f876A.INC are the same for both assemblers.
For a 12MHz oscillator both should use HS_OSC. XT_OSC may not be providing enough drive
for your 12MHz crystal or resonator, resulting in some odd harmonic of the fundamental
crystal frequency.
That would for sure cause garbage to be displayed in a serial terminal. The actual PBP
library code generated at compile time should be pretty much the same for either
assembler. Both assemble the same library code.
the problem was the capitals....before i wrote DEFINE osc 12 and not working.when i changed to DEFINE OSC 12 it works fine.thanks everyone for their reply's.
Bookmarks