To connect fastrack M1306B with a device through RS232 inter


#1

Hi,

I’ m trying to connect the fastrack M1306B with a device through RS232 interface

This device has one memory and when it receives a particular command it
gives the memory data.

My questions are many:

  1. Is This possible?

  2. Which API can I use?

  3. Can I find samples that they can help me ?

Thank


#2

Yes

Use the ADL Flow Control Manager (FCM) APIs:
adl_fcmSubscribe()
adl_fcmSendData()
etc…

wavecom.com/modules/movie/sc … .php?t=498


#3

Hi awneil,

thanks for your answer.

But if I connect M1306B - Device through Sub HD 15-pin connector ,
how can I effect the debug if my PC is not connected to the M1306B?


#4

You can’t! :frowning:

However, take a look at Figure 39 on page 41 of the Tools Manual for Open AT v3.03
This shows you how to use the ‘External Com’ feature of the Wavecom Terminal Emulator (in association with the Target Monitoring Tool) so that you connect the M1306B to one COM port on your PC, your application serial data flow will be “piped through” to another COM port on your PC, and you can also access all the debug on the PC! 8)

If your PC has insufficient serial ports, this all works perfectly fine with USB-to-Serial adaptors. :slight_smile:

Note added:
If you do this, set the speed between the PC and the M1306B as fast as possible (115200), as this link has to carry all the debug stuff plus your application data!
You can set the other serial port to any speed you like…