Hi, If it is working ok in hyperterminal then I would suggest you have a problem in the PIC. I don't know how you are doing the rs232 receive routine but would start looking there. I suspect you are missing characters. A good idea is to set aside a RAM buffer to use for rs232 rx and all the rs232 rx interrupt does it put the character in it. Then in a main loop keep checking the last character in for a delimiter ie in this case should be a carriage return, then process the info in the buffer. Hope that is of some help. Cheers, Peter Mcalpine -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Jinx Sent: Wednesday, 17 March 2004 10:49 PM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC:] Anybody using Siemens MC35 and PIC ? > what is the exact command that you are sending to MC35? The sequence I'm using is at http://home.clear.net.nz/pages/joecolquitt/mc35.html > You are working in Text or PDU mode? Text The problem is that there isn't always a concluding OK coming from the MC35. The diagram at the above address shows the OK included on the top memory dump, and OK missing in the memory dump below that. And it appears the MC35 just sends garbage instead of terminating the message properly as it does in the top example Everything else I've tried seeems to be working OK (sending SMS from the MC35 to a cellphone or e-mail address for example). Part of the problem is that there are so many parameters for commands in the AT Manual and I'm fairly ignorant of what they all do. The lack of examples and very technicalese descriptions don't help. It's been on hold for a few days and I did plan to look up a user group The problem with CMGL hasn't manifested itself (yet) using Hyper- terminal and the same set-up commands, which is puzzling. Electrically the PIC+MAX232 and the PC are quite close. I've looked at the data stream with an oscilloscope and logic analyser but can'[t detect any kind of breakdown. The MC35 itself seems to be the source of the bad data If you can see anything wrong or missing I'd be grateful for any advice thanks -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads