Author |
Message |
Topic: How to Set Internal Oscillator in the PIC18F4550 |
analog_world
Replies: 35
Views: 48076
|
Forum: General CCS C Discussion Posted: Tue Oct 21, 2008 11:25 pm Subject: How to Set Internal Oscillator in the PIC18F4550 |
whew , I have tried to debug this using various techniques, but still not working. Any ideas on this. I really appreciate any help to get over this hurdle. Thank you |
Topic: How to Set Internal Oscillator in the PIC18F4550 |
analog_world
Replies: 35
Views: 48076
|
Forum: General CCS C Discussion Posted: Tue Oct 21, 2008 6:58 pm Subject: How to Set Internal Oscillator in the PIC18F4550 |
Hi PCM,
What I finally did was to make my own buffer and use getc () in a loop to read in the characters. Then I used putc to display them again. I thought I could get around without having to use th ... |
Topic: How to Set Internal Oscillator in the PIC18F4550 |
analog_world
Replies: 35
Views: 48076
|
Forum: General CCS C Discussion Posted: Mon Oct 20, 2008 10:13 pm Subject: How to Set Internal Oscillator in the PIC18F4550 |
Hi PCM,
I did set up my SIOW.exe and am able to use getc and putc to display the strings perfectly. I did take care of that part thanks to all your help and support yesterday. But somehow, now that ... |
Topic: How to Set Internal Oscillator in the PIC18F4550 |
analog_world
Replies: 35
Views: 48076
|
Forum: General CCS C Discussion Posted: Mon Oct 20, 2008 8:45 pm Subject: How to Set Internal Oscillator in the PIC18F4550 |
the gets() and puts() function still don't work for some reason. I think I am messing up with the receiver buffer. Any suggestions would be greatly appreciated. Thank you so much. |
Topic: How to Set Internal Oscillator in the PIC18F4550 |
analog_world
Replies: 35
Views: 48076
|
Forum: General CCS C Discussion Posted: Mon Oct 20, 2008 12:28 am Subject: How to Set Internal Oscillator in the PIC18F4550 |
Hi PCM,
That was the problem. It finally works, but now there are some more glitches. The fgetc and fputc functions work perfectly, but no other functions like the fgets and fputs work. It is strange ... |
Topic: How to Set Internal Oscillator in the PIC18F4550 |
analog_world
Replies: 35
Views: 48076
|
Forum: General CCS C Discussion Posted: Sun Oct 19, 2008 9:41 pm Subject: How to Set Internal Oscillator in the PIC18F4550 |
I just changed my USART to be software configured. In that case, when I run the program all I see is some random characters on the SIOW continuously in a pattern like this.
\0A ... |
Topic: How to Set Internal Oscillator in the PIC18F4550 |
analog_world
Replies: 35
Views: 48076
|
Forum: General CCS C Discussion Posted: Sun Oct 19, 2008 8:53 pm Subject: How to Set Internal Oscillator in the PIC18F4550 |
I noticed that on my board, there is max232 chip connected between the serial port and PIC. Do you think this could be a source of problem since GPS outputs at a level compatible with the PIC. or am I ... |
Topic: How to Set Internal Oscillator in the PIC18F4550 |
analog_world
Replies: 35
Views: 48076
|
Forum: General CCS C Discussion Posted: Sun Oct 19, 2008 8:43 pm Subject: How to Set Internal Oscillator in the PIC18F4550 |
I took out the wizard code as you had suggested earlier. I am still not able to observe anything on the SIOW window using the simple main program.Infact, what i tried doing was testing if fputc actual ... |
Topic: How to Set Internal Oscillator in the PIC18F4550 |
analog_world
Replies: 35
Views: 48076
|
Forum: General CCS C Discussion Posted: Sun Oct 19, 2008 8:09 pm Subject: How to Set Internal Oscillator in the PIC18F4550 |
V 4.057 |
Topic: How to Set Internal Oscillator in the PIC18F4550 |
analog_world
Replies: 35
Views: 48076
|
Forum: General CCS C Discussion Posted: Sun Oct 19, 2008 7:58 pm Subject: How to Set Internal Oscillator in the PIC18F4550 |
Hi,
That's what I did though. It still does not show me the output for some reason. I am trying to use fgets this time around.
#use rs232(stream=GPS, baud=4800,parity=N,xmit=PIN_C6,rcv=PIN_C7 ... |
Topic: How to Set Internal Oscillator in the PIC18F4550 |
analog_world
Replies: 35
Views: 48076
|
Forum: General CCS C Discussion Posted: Sun Oct 19, 2008 7:08 pm Subject: How to Set Internal Oscillator in the PIC18F4550 |
Hi PCM,
Thanks for your valuable and timely suggestions. I did take out all that unnecessary stuff inserted by the PIC wizard. I have used the INTHS to write to the output port and I guess it does ... |
Topic: How to Set Internal Oscillator in the PIC18F4550 |
analog_world
Replies: 35
Views: 48076
|
Forum: General CCS C Discussion Posted: Sun Oct 19, 2008 5:30 pm Subject: How to Set Internal Oscillator in the PIC18F4550 |
Hi PCM,
I was actually able to write from the PIC to the PC by just using the wires as you had told me. It does work wonderfully. However, for some reason now I am trying to just read in the data fro ... |
Topic: How to Set Internal Oscillator in the PIC18F4550 |
analog_world
Replies: 35
Views: 48076
|
Forum: General CCS C Discussion Posted: Sun Oct 19, 2008 2:36 pm Subject: How to Set Internal Oscillator in the PIC18F4550 |
Hello PCM,
yes I have a serial cable and a serial to USB to connect to my laptop ( I am running vista). But the problem I am facing is that I need the serial port for receiving GPS strings, so I am c ... |
Topic: How to Set Internal Oscillator in the PIC18F4550 |
analog_world
Replies: 35
Views: 48076
|
Forum: General CCS C Discussion Posted: Sun Oct 19, 2008 1:44 pm Subject: How to Set Internal Oscillator in the PIC18F4550 |
Hi PCM,
Basically, my ultimate goal is to display the parsed information which really shouldn't be a problem one piece at a time on the LCD. As you pointed out, it is not necessary in my case. I have ... |
Topic: How to Set Internal Oscillator in the PIC18F4550 |
analog_world
Replies: 35
Views: 48076
|
Forum: General CCS C Discussion Posted: Sun Oct 19, 2008 12:19 pm Subject: How to Set Internal Oscillator in the PIC18F4550 |
Hi PCM,
This kind of seems redundant and I know that the search will show a lot of examples, but I am a little confused though. In my case, when I write a received GPS string to 16x2 display, it woul ... |
|