Is this the first time you use that PIC model?
What CONFIG settings are you using?
What version of PBP, MPASM, etc.
Robert
Is this the first time you use that PIC model?
What CONFIG settings are you using?
What version of PBP, MPASM, etc.
Robert
Thanks Robert.
this is the example which is not working :
Define OSC 20 ' 20 MHz oscillator
ADCON1 = 15 ' All I/O pins digital
Pause 100
Serout2 PORTC.6, 84, ["A,B,C"]
I am using PBP 3 - Microcode Studio Plus 5 - MPLAB IDE v8.80 and my device programmer is melabs U2 Programmer.
and I have put everything together based on SDFD schematics , connected to RS232 with a MAX232CPCE
Last edited by Vett58; - 22nd January 2012 at 21:00. Reason: additional info
Are you sure about the oscillator setting? Didn't that change with PBP 3.0? (not sure)
What CONFIG settings did you use? that's often a source of problems.
Thanks Robert.
It looks like PBP3 automatically sets the config and it works for every other PIC that I have but 18F4550.
I tested it with various PICs and I even used a brand new 18F4550 , still getting garbage out of portc.6 .
Did you try setting port C as output?
TRISC=0
Just looking at manual, they have a DEFINE for parity?
Not sure if this applies to 18F family.
Bookmarks