Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/11/05 01:14
Modified:
  05/11/05 01:18

Read: times


 
#93284 - Protocol analyzer
Responding to: ???'s previous message
Mahmood Elnasser said:
Dear Nahid
What might be very helpful, since you managed to make microcontroller communicate with PC is build a modem simulator program on the PC, which responds to all your AT commands used before you actually connect the modem. This way things will be much easier for you to debug and understand whats going on. Once this has been successful then the microcontroller should connect directly to the modem.
Regards
Mahmood

Beyond Logic's freeware RS-232 Protocol Analyser is immensely useful for this kind of work; being able to see bytes go back and forth on the wire really speeds up debugging. I used this recently when developing a serial protocol for an 8051 <-> PC application. It's not a perfect solution; there were some synchronization problems (probably due to my PC), but it helped me quickly find some problems that would have taken a very long time to diagnose otherwise, such as the fact that Windows sent me a large number of bytes following the 8051's XOFF transmission before actually pausing. The protocol analyzer works as something of a passive observer on your RS-232 link; neither of the endpoints need be PCs in order to use it, making it perfect for debugging an 8051 <-> modem link.

--Sasha Jevtic

List of 26 messages in thread
TopicAuthorDate
interfacing serial modem with 89c51??            01/01/70 00:00      
   rs232 level converter.            01/01/70 00:00      
      interfacing serial modem with 89c51??            01/01/70 00:00      
   Modem Settings            01/01/70 00:00      
      interfacing serial modem with 89c51??            01/01/70 00:00      
         Read the modem manual!            01/01/70 00:00      
            interfacing serial modem with 89c51??            01/01/70 00:00      
               Evaluate what is different            01/01/70 00:00      
                  interfacing serial modem with 89c51??            01/01/70 00:00      
                     Modem            01/01/70 00:00      
   Rx Tx pins            01/01/70 00:00      
   interfacing serial modem with 89c51??            01/01/70 00:00      
      connecting the front end of two cars            01/01/70 00:00      
         Errr...what did I mention earlier?            01/01/70 00:00      
            interfacing serial modem with 89c51??            01/01/70 00:00      
               Still            01/01/70 00:00      
   Modem sinulator on PC            01/01/70 00:00      
      Protocol analyzer            01/01/70 00:00      
         interfacing external modem to at89c51            01/01/70 00:00      
            How do you know?            01/01/70 00:00      
   command Timing            01/01/70 00:00      
      command timming            01/01/70 00:00      
   I don't want to give any secrets away!            01/01/70 00:00      
      please help !!            01/01/70 00:00      
         SCOPE            01/01/70 00:00      
         STOP trying to fix it, learn what it is.            01/01/70 00:00      

Back to Subject List