Hi I want to connect GSM modem to the STRE912 board I configured the uart which can recieve interrupt from modem I am using uart 0 for connecting the modem and uart 2 to debug the application but the modem is giveing timeout errorthe processor is str912Fw44 I used both ways ( by RS232 as well as TTL level to connect to the modem) but it gives timeout error
I am sorry it was www.olimex.com/.../index.html
STR-E912 based board
Good.
Now, how about answering my earlier questions about this "timeout" that you're seeing...?
I get AT+CMIS then I get the error time out
oone more thing is there any effective way to debug the modem
previously I used uart0 to connect my modem then I used uart 2 to see the printf messages actually I need some effective way how to see wat is transmitting to modem and what modem transmitting to the controller?
Is it not that a serial port can be full-duplex? you have a separate RX and a separate TX line (but they are not compelled). so, you can get along with one UART. And, isn't looking at the serial data actually "debugging the modem"?
"I get AT+CMIS then I get the error time out"
You still haven't said exactly what this "timeout" error is? Or where does it come from?
What do you mean "I get AT+CMIS"?
Surely, AT+CMIS is a command that you send to the modem?
Another thing that can be done - but most often when you do not have access to the source code or do not want to change anything in a system - is to connect a sniffer.
Take tx and ground and wire to a separate RS232 connector.
Take rx and ground and wire to a separate RS232 connector.
Now you can use a PC with two serial ports - one serial port will monitor data sent in one direction, and one serial port will monitor data sent in the other direction.
Buy or locate a good log program that will time-stamp all data, and that can be taught to look at framing when time-stamping and presenting the transmitted data.
Your Olimex board has JTAG - use it!
www.olimex.com/.../str-e912.html
IF you don't have a JTAG adaptor, debug you code in the Keil Simulator - direct the USART IO to a COM port, and connect the modem to that COM port
Have you actually tested the command sequence you are trying to use - eg, by sending it manually from hyperterminal, and observing the modem's responses...?
eg, what is AT+CMIS supposed to do...?
dear neil
I solved the problem it was due to not properbaud rate thanks for your valuable time and reply now I have to convert same code to RTX kernel
thanks