Author |
Message |
Topic: Problem on receiving RS232 data using hardware USART |
puppie7777
Replies: 15
Views: 18563
|
Forum: General CCS C Discussion Posted: Mon Sep 05, 2005 3:54 am Subject: Problem on receiving RS232 data using hardware USART |
Siemens modems usually includes a complete 16C550 compatible serial ports
(comm signals + control signals) that can be configured with jumpers.
Could you pls tell us a full description of the mo ... |
Topic: Problem on receiving RS232 data using hardware USART |
puppie7777
Replies: 15
Views: 18563
|
Forum: General CCS C Discussion Posted: Mon Sep 05, 2005 3:54 am Subject: Problem on receiving RS232 data using hardware USART |
Siemens modems usually includes a complete 16C550 compatible serial ports
(comm signals + control signals) that can be configured with jumpers.
Could you pls tell us a full description of the mo ... |
Topic: Problem on receiving RS232 data using hardware USART |
puppie7777
Replies: 15
Views: 18563
|
Forum: General CCS C Discussion Posted: Tue Aug 30, 2005 7:47 pm Subject: Problem on receiving RS232 data using hardware USART |
Hi,ckielstra,
Thanks. I have tried the ERRORS but still doesnt work. The code is really as simple as standard one:
#use rs232(baud=115200, parity=N, BITS=8, xmit=TXD2, rcv=RXD2)
#byte R ... |
Topic: Problem on receiving RS232 data using hardware USART |
puppie7777
Replies: 15
Views: 18563
|
Forum: General CCS C Discussion Posted: Tue Aug 30, 2005 3:57 am Subject: Problem on receiving RS232 data using hardware USART |
Hi, asmallri,
Thank you also! |
Topic: Problem on receiving RS232 data using hardware USART |
puppie7777
Replies: 15
Views: 18563
|
Forum: General CCS C Discussion Posted: Tue Aug 30, 2005 3:50 am Subject: Problem on receiving RS232 data using hardware USART |
Thank you, ckielstra!
Your problem description is indeed not very clear, but
1) You are using the hardware UART of the PIC?
2) Your program is working when using a MAX232 to a PC?
3) This same pr ... |
Topic: Problem on receiving RS232 data using hardware USART |
puppie7777
Replies: 15
Views: 18563
|
Forum: General CCS C Discussion Posted: Tue Aug 30, 2005 3:49 am Subject: Problem on receiving RS232 data using hardware USART |
Thank you, ckielstra!
Your problem description is indeed not very clear, but I've got an idea what your problem might be. First let me confirm the following:
1) You are using the hardware UART of th ... |
Topic: Problem on receiving RS232 data using hardware USART |
puppie7777
Replies: 15
Views: 18563
|
Forum: General CCS C Discussion Posted: Mon Aug 29, 2005 9:35 pm Subject: Re: RE: |
Hi,
I don't think you can use getc() function to receive a string like "OK", for this you need to use gets().
getc() only receives a single character, whereas gets() an entire string...
Also ... |
Topic: Problem on receiving RS232 data using hardware USART |
puppie7777
Replies: 15
Views: 18563
|
Forum: General CCS C Discussion Posted: Mon Aug 29, 2005 9:31 pm Subject: Problem on receiving RS232 data using hardware USART |
If you have a scope, check the voltage level on the pin. The default 'receive' input voltage for the idle state (high), is 0.8 of the supply voltage. The 'high' input for a MAX232 (assuming this is wh ... |
Topic: Problem on receiving RS232 data using hardware USART |
puppie7777
Replies: 15
Views: 18563
|
Forum: General CCS C Discussion Posted: Tue Aug 23, 2005 12:40 am Subject: Problem on receiving RS232 data using hardware USART |
Hi, there,
i got a very confusing problem. I am sure that the data reached my pic RECV pin (i use a transmitter circuit to tap out and dump to pc COM port, i can see all the data correctly), but my k ... |
Topic: Seq Number and Ack Number in TCP stack |
puppie7777
Replies: 2
Views: 8084
|
Forum: General CCS C Discussion Posted: Fri Sep 24, 2004 4:11 am Subject: Seq Number and Ack Number in TCP stack |
Hi, there!
Now i have found out the reason, it is because my pic directly connect to GPRS modem (i m not using NIC), so there is not a "retransmit" mechanism on the virtural MAC layer to retra ... |
Topic: Seq Number and Ack Number in TCP stack |
puppie7777
Replies: 2
Views: 8084
|
Forum: General CCS C Discussion Posted: Mon Sep 20, 2004 3:24 am Subject: Seq Number and Ack Number in TCP stack |
Hi, There!
i have built in a tcp stack which uses the ported tcp for CCS from Microchip TCP/IP stack. my pic now works as client, it works fine just except one "small" problem, if anyone has the ... |
Topic: memory problem on pic18f452 |
puppie7777
Replies: 3
Views: 9529
|
Forum: General CCS C Discussion Posted: Thu Sep 09, 2004 9:35 pm Subject: memory problem on pic18f452 |
HI,
There! I am so sorry that i came back to this forum so late, cos leave for quite time.
For the problem of the RAM size of pic18f452, i have to modify the RWIN size for the receive window ... |
Topic: memory problem on pic18f452 |
puppie7777
Replies: 3
Views: 9529
|
Forum: General CCS C Discussion Posted: Thu Aug 19, 2004 1:25 am Subject: memory problem on pic18f452 |
Hi, there.
I have built in a tcp/ip ppp protocol stack on pic18f452 which is connected with a GPRS modem through RS232. As is known, the standard buffer of tcp/ip protocol stack should be 1024 b ... |
Topic: can i put delay after calling stacktask of TCP/IP? |
puppie7777
Replies: 19
Views: 33367
|
Forum: General CCS C Discussion Posted: Sun Aug 01, 2004 8:07 pm Subject: can i put delay after calling stacktask of TCP/IP? |
actually at the very beginning i also tried on the iosoft's code, but seems no luck, so later on i switched to microchip's one.
the Tick.c in microchip's stack did use Timer_ISR.
one more thing i ... |
Topic: can i put delay after calling stacktask of TCP/IP? |
puppie7777
Replies: 19
Views: 33367
|
Forum: General CCS C Discussion Posted: Sun Aug 01, 2004 7:54 pm Subject: can i put delay after calling stacktask of TCP/IP? |
My ccs version is PCH 3.184.
The stacktask of microchip looks like:
switch(smStack)
{
case SM_STACK_IDLE:
case SM_STACK_MAC:
.. ... |
|