CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 22 matches
CCS Forum Index
Author Message
  Topic: Please help! Modem <-> RS232 <-> 18F452
qleyo

Replies: 22
Views: 37278

PostForum: General CCS C Discussion   Posted: Sun Apr 09, 2006 7:44 am   Subject: Please help! Modem <-> RS232 <-> 18F452
After some mods and a bit more optimising, I got it working :D

Thank you Mark you've been very helpful and everyone else. I'm now working on adding more code to make the system more independent.
...
  Topic: Please help! Modem <-> RS232 <-> 18F452
qleyo

Replies: 22
Views: 37278

PostForum: General CCS C Discussion   Posted: Fri Mar 31, 2006 8:50 am   Subject: Please help! Modem <-> RS232 <-> 18F452
I modded my code!!! I got connect!!!! but look I got some more mess too...


ATE0
AT&K0AT0
OK
at#SKTSET= 0,80,"www.inden.co.uk",0,0; ...
  Topic: Please help! Modem <-> RS232 <-> 18F452
qleyo

Replies: 22
Views: 37278

PostForum: General CCS C Discussion   Posted: Fri Mar 31, 2006 8:30 am   Subject: Please help! Modem <-> RS232 <-> 18F452
Still no luck

Here is hyperterminal output

***Program started***

AT&K0
at#SKTSET= 0,80,"www.inden.co.uk",0,0;
at#sktto=0
at#sktsav
timeout Buffer contains
v
at#sktop
time ...
  Topic: Please help! Modem <-> RS232 <-> 18F452
qleyo

Replies: 22
Views: 37278

PostForum: General CCS C Discussion   Posted: Thu Mar 30, 2006 10:36 am   Subject: Please help! Modem <-> RS232 <-> 18F452
Still no luck, i'll mod the program back to your original function (i.e. send an argument of the string to look for into the function) and also add the print of whats in the buffer after an invalid re ...
  Topic: Please help! Modem <-> RS232 <-> 18F452
qleyo

Replies: 22
Views: 37278

PostForum: General CCS C Discussion   Posted: Thu Mar 30, 2006 9:13 am   Subject: Please help! Modem <-> RS232 <-> 18F452
Hmm I think I spotted something, well my supervisor and I did, the clear_buffer function I made is slightly useless.

At the same time if kbhit returns falls I added a 1ms delay which might cause th ...
  Topic: Please help! Modem <-> RS232 <-> 18F452
qleyo

Replies: 22
Views: 37278

PostForum: General CCS C Discussion   Posted: Thu Mar 30, 2006 8:44 am   Subject: Please help! Modem <-> RS232 <-> 18F452
I'm still getting no luck with this thing... :'( It seems to print OK all the time, but when I issue a command which returns something else such as CONNECT it just hangs.

THis is my HyperTerminal o ...
  Topic: Please help! Modem <-> RS232 <-> 18F452
qleyo

Replies: 22
Views: 37278

PostForum: General CCS C Discussion   Posted: Sat Mar 25, 2006 8:40 am   Subject: Please help! Modem <-> RS232 <-> 18F452
Hi Mark, I'm stuck on something else. What i've done is connected another COM port to HyperTerminal to print messages. (Could not be asked with setting up LCD)

Now the modem always seems to get OK ...
  Topic: Please help! Modem <-> RS232 <-> 18F452
qleyo

Replies: 22
Views: 37278

PostForum: General CCS C Discussion   Posted: Wed Mar 22, 2006 10:00 am   Subject: Please help! Modem <-> RS232 <-> 18F452
waheeeyyyy I got a phone call!!!! :D i'm skipping skipping and more skips :D <tears of joy in between>

I thought CCS couldn't take pointers, obviously wrong.

Thank you!
  Topic: Please help! Modem <-> RS232 <-> 18F452
qleyo

Replies: 22
Views: 37278

PostForum: General CCS C Discussion   Posted: Wed Mar 22, 2006 5:17 am   Subject: Please help! Modem <-> RS232 <-> 18F452
Ok i'm back, i've now done the cross over connection. RTS still grounded. I modified my code to check for khbit() from the mode. And i've stopped sending commands to the modem. All I do now is send it ...
  Topic: Please help! Modem <-> RS232 <-> 18F452
qleyo

Replies: 22
Views: 37278

PostForum: General CCS C Discussion   Posted: Wed Mar 22, 2006 2:18 am   Subject: Please help! Modem <-> RS232 <-> 18F452
Oh I see what you are saying. I was thinking about DTE and DCE in terms of who is "controlling". So you are saying that if my modem and PIC worked with my PC, they must be acting and configured as DCE ...
  Topic: Please help! Modem <-> RS232 <-> 18F452
qleyo

Replies: 22
Views: 37278

PostForum: General CCS C Discussion   Posted: Tue Mar 21, 2006 5:14 pm   Subject: Please help! Modem <-> RS232 <-> 18F452
So does the PC cross over on the inside? How come a straight connected cable works with PC. Also what I said was I did try a null connection and that did not work either, infact I had a null connectio ...
  Topic: Please help! Modem <-> RS232 <-> 18F452
qleyo

Replies: 22
Views: 37278

PostForum: General CCS C Discussion   Posted: Tue Mar 21, 2006 11:59 am   Subject: Please help! Modem <-> RS232 <-> 18F452

Your PIC development board and the modem are both (???) DTE's (???) or is it DCE's (???).


Nope controlling device is DTE so here PIC is DTE so is PC. Modem is DCE.

I tried a cross over conn ...
  Topic: Please help! Modem <-> RS232 <-> 18F452
qleyo

Replies: 22
Views: 37278

PostForum: General CCS C Discussion   Posted: Tue Mar 21, 2006 11:30 am   Subject: Please help! Modem <-> RS232 <-> 18F452
I've been trying to avoid opening a new topic, but have searched this forum high and low to no avail.

I am using a PIC millenium dev board, a pic18F452(with 4mhz crystal) and a round solutions GSM ...
  Topic: Sending and receiving fixed sms
qleyo

Replies: 9
Views: 13580

PostForum: General CCS C Discussion   Posted: Thu Mar 16, 2006 7:05 am   Subject: Sending and receiving fixed sms
I tried that too i.e. using printf, but I think my problem is from

#use rs232 (BAUD=9600,XMIT=PIN_A3,RCV=PIN_A2,ERRORS,bits=8,stream=modem)

1. I'm not sure if the XMIT pin should be spe ...
  Topic: Sending and receiving fixed sms
qleyo

Replies: 9
Views: 13580

PostForum: General CCS C Discussion   Posted: Thu Mar 16, 2006 4:36 am   Subject: Sending and receiving fixed sms
Heh my mate who works right next to me is doing something exactly the same lol so theres 4 of us (plus me) but without the SMS. I currently have this bit of code but I don't think it will work. Well i ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group