Good day.
I have a WAVECOM 16 port GSM modem.
I have been able to connect to the device through a serial connection using PUTTY.
No matter what command I send I get back random rubbish responses.
Here is some information from the log file:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.11.08 09:58:54 =~=~=~=~=~=~=~=~=~=~=~= AT û[¯AT+CSMS=1 {ïßïïoïïïATDT27741481203 Ûï¿ïÿk¿ïïýÛïï¯AT&V [ïï¯ÿAT+CSQ {ïoï¯ÿ ëATI {ï¯ý ë+++ {ï¿ïÿCN=1 k¯{ï&FN = =1 {ïßï ûAT ûo¯AT {ÿAT â–’[â–’AT+CSMS=1 {â–’â–’â–’â–’oâ–’â–’â–’ATDT27741481203 â–’â–’â–’â–’kâ–’â–’â–’â–’â–’â–’â–’AT&V [â–’â–’â–’AT+CSQ {â–’oï¯â–’ â–’ATI {â–’â–’ â–’+++ {â–’â–’â–’CN=1 kâ–’{â–’&FN=1 â–’â–’â–’ â–’AT â–’oâ–’AT {â–’â–’
I am using windows 7 64 bit.
If anyone has any ideas what may be wrong please let me know.
Many thanks
Regards
Ben
Keil related?
Get a scope and verify the baud rate by measuring the bit timings.
If the modem has an auto-baud function, turn it off and select a fixed baud rate.
Serial communications issues should almost always involve a digital oscilloscope. It just saves so much time to be able to tick off: - baudrate ok - same number of data bits as expected - same parity as expected - at least a hint at number of stop bits, i.e. how soon next character follows - expected high and low logic levels - no false start bits - no noise - response time of handshake signals - ...
A scope image really do tell a lot.
I like to use a dirt-cheap Saleae logic analyzer after having verified noise+signal levels with an oscilloscope.
Not that it's anything to do with Keil, but have you got the modem stuck in debug mode?