mohit
Newbie level 6
Hi all
I am using Pic18f4550 using ccsc MPLAb and i am a newbie and writing a program to communicate to PC through RS232 port .
I have used simply users232 directive
and simply did putc('S'); in main program.
But on Hyperterm i see many junk random characters ...
I have done lot of efforts on my own like
1)enabled interrupts both Global and INT_RDA
2)Disassembled program and matched it with a working version of assembly program i got with my kit
3)Only thing which was missing in my disassembled listing was ... that its not checking for TMRT bit in TXSTA anywhere ..i wrote assembly code for that ...still its not working ..
Please help
I am using Pic18f4550 using ccsc MPLAb and i am a newbie and writing a program to communicate to PC through RS232 port .
I have used simply users232 directive
and simply did putc('S'); in main program.
But on Hyperterm i see many junk random characters ...
I have done lot of efforts on my own like
1)enabled interrupts both Global and INT_RDA
2)Disassembled program and matched it with a working version of assembly program i got with my kit
3)Only thing which was missing in my disassembled listing was ... that its not checking for TMRT bit in TXSTA anywhere ..i wrote assembly code for that ...still its not working ..
Please help