Author |
Message |
Topic: USB program wont move forward |
madtoilet
Replies: 8
Views: 7677
|
Forum: General CCS C Discussion Posted: Mon Sep 08, 2008 2:38 pm Subject: USB program wont move forward |
yes! it is a strange way of handling, i re did the whole code and fixed it. The whole approach that i was using was very wrong. I found a much simpler way to do it that actually makes sense. Thanks fo ... |
Topic: USB program wont move forward |
madtoilet
Replies: 8
Views: 7677
|
Forum: General CCS C Discussion Posted: Fri Sep 05, 2008 1:06 pm Subject: USB program wont move forward |
oh i'm sorry. I'm using the rs232 to receive information from a GSM unit. whenever i send out a command, the rs232 will receive serial data from the GSM. |
Topic: USB program wont move forward |
madtoilet
Replies: 8
Views: 7677
|
Forum: General CCS C Discussion Posted: Thu Sep 04, 2008 2:22 pm Subject: USB program wont move forward |
I'm also getting USB re-entrancy warnings. I'm not entirely sure how to get rid of those. When i do get rid of them, the program wont work. I may be getting rid of it wrongly |
Topic: USB program wont move forward |
madtoilet
Replies: 8
Views: 7677
|
Forum: General CCS C Discussion Posted: Thu Sep 04, 2008 2:18 pm Subject: USB program wont move forward |
i was on a break for a while.
if there is a problem with my int_rda picking up from the same port, should i configure my serial port for my USB to another port? |
Topic: USB program wont move forward |
madtoilet
Replies: 8
Views: 7677
|
Forum: General CCS C Discussion Posted: Fri Aug 01, 2008 9:23 am Subject: USB program wont move forward |
i'll try to remove the getc(). However, if the problem is with reading from the same port, how do i go around this? would a serial->usb solution not work in my case then? |
Topic: USB program wont move forward |
madtoilet
Replies: 8
Views: 7677
|
Forum: General CCS C Discussion Posted: Thu Jul 31, 2008 12:10 pm Subject: USB program wont move forward |
hi, i'm having issues with my USB CDC code. I'm using the example but when combined with my code the program wont move forward unless i hit the keyboard.
the code is as follows:
#define __US ... |
Topic: USB_serial confusion |
madtoilet
Replies: 10
Views: 10063
|
Forum: General CCS C Discussion Posted: Thu Jul 24, 2008 12:12 pm Subject: USB_serial confusion |
i got it to interrupt properly. Thanks!
however, the code makes me do a keyboard hit before it will move the program forward.
this code seems to do it:
if (kbhit()) ... |
Topic: USB_serial confusion |
madtoilet
Replies: 10
Views: 10063
|
Forum: General CCS C Discussion Posted: Wed Jul 23, 2008 9:36 am Subject: USB_serial confusion |
my serial interrupt is simlar to the example interrupt buffer. It's just a little bigger, i guess. Anyway, these interrupts have worked alone for separate programs for me but i can see what you're say ... |
Topic: USB_serial confusion |
madtoilet
Replies: 10
Views: 10063
|
Forum: General CCS C Discussion Posted: Tue Jul 22, 2008 4:13 pm Subject: USB_serial confusion |
ho ho ho! ok. We got the USB to work but now i am trying to get it to work with my GSM unit. I'm still grasping the serial usb example. I have a code like such:
//#include "H:\Senior Proj ... |
Topic: USB_serial confusion |
madtoilet
Replies: 10
Views: 10063
|
Forum: General CCS C Discussion Posted: Tue Jul 22, 2008 10:24 am Subject: USB_serial confusion |
i think we got it to work. Windows is seeing the device now. thanks again guys |
Topic: USB_serial confusion |
madtoilet
Replies: 10
Views: 10063
|
Forum: General CCS C Discussion Posted: Fri Jul 18, 2008 4:13 pm Subject: USB_serial confusion |
thank you very very much guys, you've been great help, yet again!
i got it to detect on the PC but i have a question about the drivers for it. Windows is requesting a driver here but i'm stumped. W ... |
Topic: USB_serial confusion |
madtoilet
Replies: 10
Views: 10063
|
Forum: General CCS C Discussion Posted: Tue Jul 15, 2008 2:55 pm Subject: USB_serial confusion |
Hi, I'm back. I'm working with the PIC18F4550. I'm using the USB_SERIAL example provided with no modification. I'm encountering various problems however.
1. it's giving me a problem with interrupt ... |
Topic: ideas on how to interrupt my program |
madtoilet
Replies: 4
Views: 7321
|
Forum: General CCS C Discussion Posted: Fri May 02, 2008 2:48 pm Subject: ideas on how to interrupt my program |
i'm trying to understand how interrupts work. I've used a number of examples from the forums as well as the example from CCS. I've simplified my code down to:
#include "G:\Senior Project\b ... |
Topic: ideas on how to interrupt my program |
madtoilet
Replies: 4
Views: 7321
|
Forum: General CCS C Discussion Posted: Tue Apr 29, 2008 1:42 pm Subject: ideas on how to interrupt my program |
The following is my code. I've removed the whole checking of the keypad routine because it was quite long.
Anyway, during the my_get_string function, i'd like to be able to interrupt it so that it ... |
Topic: help with buffer code |
madtoilet
Replies: 10
Views: 8860
|
Forum: General CCS C Discussion Posted: Tue Apr 29, 2008 1:35 pm Subject: help with buffer code |
Hey, thanks a bunch for helping me out. I did break the whole thing down and did it slow and i figured out some of it and am receiving the characters like i should. I've still got to figure out some o ... |
|