Serial port of XDA - MDA, XDA, 1010 Accessories

Hello, all,
we try to connect to the serial port of the XDA, but I cannot open the port COM1:
We have the proper connector, but I have no chance to open the port by software. What can be the reason, do I have to make something on the connectors (bridges ?).
Thanks a lot ...

i initially had this problem using windows xp. i fixed it by changing the settings of the resources (I/O Range and IRQ) COM1 uses in the device manager.
hope this helps.

Thanks, but I do NOT mean the serial port of any connected PC, I mean the serial port at the bottom of XDA.
I programmed it by embedded VC, on other devices this works, but the phone edition seems to disable the port. I can see COM1: in the registry, but it's not getting active.
I read, that I need a null-modem cable, but this also wasn't sucessfull. What should be inside the cable to communicate with any serial device outside the XDA?
Thanks

Make sure the IR port isn't grabbing COM1:
Start/Settings/Connections Tab/Beam
"Receive all incoming beams and select discoverable mode" should be left unchecked. In addition, close (via Settings/System Tab/Memory/Running Programs Tab/Stop) any driver software for accessories like keyboards that connect to the sync/charge port. Then you should be able to connect to COM1.
With respect to a Null Modem: You need to also hardwire some handshaking lines together, so don't abandon the null modem.

Hi,
thanks for the first replies. I already switched off the IrDA, and I can open the COM1: of XDA. Everything seems okay, but no data on TX...
I saw the connector layout on this site, but can (want) somebody to tell me the layout, if I want to do serial data-connection to an external device(not activesync)? I think, I need more hardwires than known by me....
I connected:
RTS (pin 9) with CTS (pin 7)
DCD (pin 6) with DTR (pin 11)
RX (pin 10)
TX (pin 8)
GND (pin 16)
What else can I do ????

sjaeger said:
I connected:
RTS (pin 9) with CTS (pin 7)
DCD (pin 6) with DTR (pin 11)
RX (pin 10)
TX (pin 8)
GND (pin 16)
Click to expand...
Click to collapse
I would attempt to connect DCD to the DTR of the computer at the other end, but am unsure whether this woud make a difference.
We experienced problems with the sreial port in older versions of the ROM. if I remember correctly, things didn't work in 3.00.xx. But I doubt you're using something that old.
Good luck...

Thanks,
but are there any other bridges/hardwires inside to do inside the connector to acivate the serial activity of the port ?

Thanks,
but are there any other bridges/hardwires inside to do inside the connector to acivate the serial activity of the port ?
I also don't have a PC on the other side, it's a device, which has no handshaking ability...

sjaeger said:
Thanks, but I do NOT mean the serial port of any connected PC, I mean the serial port at the bottom of XDA.
I programmed it by embedded VC, on other devices this works, but the phone edition seems to disable the port. I can see COM1: in the registry, but it's not getting active.
I read, that I need a null-modem cable, but this also wasn't sucessfull. What should be inside the cable to communicate with any serial device outside the XDA?
Thanks
Click to expand...
Click to collapse
You do need a null modem adapter. If you are using one, it may not be a proper one.
Or you can use a "serial/modem interface cable" you can get from www.pc-mobile.net in the XDA page.

Does anybody know how to access the hardware serial port (on Blue Angel)? I can use IR (COM1) and Bluetooth (COM4) to send/recieve data, but the bottom pins don't give any voltage. I've tried other ports (to COM9) but the device hangs unless it's COM2.
Here's the test app, select port on the left and then click 'Open Port'. When the port is open, the device is showing what is read at the port. You can click 'Salji' to start/stop sending dummy data via port or "Lista Portova" to list the available ports.
http://www.megaupload.com/?d=T36RIZKE

marko_serb said:
Does anybody know how to access the hardware serial port (on Blue Angel)? I can use IR (COM1) and Bluetooth (COM4) to send/recieve data, but the bottom pins don't give any voltage. I've tried other ports (to COM9) but the device hangs unless it's COM2.
Here's the test app, select port on the left and then click 'Open Port'. When the port is open, the device is showing what is read at the port. You can click 'Salji' to start/stop sending dummy data via port or "Lista Portova" to list the available ports.
http://www.megaupload.com/?d=T36RIZKE
Click to expand...
Click to collapse
You have to deactivate IR to get Serial Port working, as thay use the same port!
(Settings/Connections/Beam/deactivate Receive all incoming beams )

I've tried that, when "Receive all incoming beams" is enabled - COM1 is invisible to the program and reports error, when disabled - the IR becomes COM1

marko_serb said:
I've tried that, when "Receive all incoming beams" is enabled - COM1 is invisible to the program and reports error, when disabled - the IR becomes COM1
Click to expand...
Click to collapse
Try the attached file by haicom.
Serial and USB crandle have different pin-out!
http://forum.xda-developers.com/wiki/index.php?title=Connectors
Serial should be Com2 and is usable when Com1/IR is disabled.

Thanks! I'll give it a try as soon as I find a way to disable IR (and find some time to play with it)

Related

USB solution for Wireless Modem??

Anyone have/know of a solution to use USB instead of Serial for the wireless modem fetures?
The Laptop systems I build are too small and dont offer LPT or Serial ports.
Thanx
Todd
-- I do have a USB to Serial adapter kit from Belkin but would rather not have to use that.
I know how to do it: there's just no freakin' time!
Could someone please do the following:
- Create a virtual serial port on the PC. (This is the only non-trivial part, especially if it must work under 98/ME as well as under NT/2000/XP.)
- Verify presence of special DLL upon ActiveSync, transfer DLL if it's not there.
- When COM port on host PC is opened, signal is sent to DLL, which proceeds to suspend TAPI and talk to the the modem. (See XDAunlock.exe source for details)
- Use the documented method for transferring streaming data via ActiveSync, from the virtual comm port, via the DLL, to the modem. And vice versa, ofcourse. Comm port can be at any speed, modem is 115k2.
- Revert to normal when virtual COM port is closed.
If someone has code for a virtual com-port lying around, the rest isn't hard, and it would make a lot of people very happy.
well i guess ill do this instead for now
here is a nice small adapter i found w a virtual port - similar to the Belkin i already have but smaller in size (and this is important)
http://www.iogear.com/products/product.php?Item=GUC232A
Hey can i please get a pole from the members on who is using the wireless modem - the quality they are getting and the provider (ie ATT, Tmobile...) they are using please?
WiFi anyone??
well here is an application im planning on emulating w the Wireless modem of the XDA. Currently Im using Wifi which is great but when i cant "stumble" on an open AP id like to use the wireless modem in the XDA
http://www.jonadams.com/pages/wifi/wifi_setup.htm

GPS for the PocketPC Phone Edition

I want to connect my Garmin Geko GPS to my PocketPC Phone Edition. It seems that regardless of what I do there's no receiving any data. It's only a three wire interface, so how hard can it be? The Geko puts out a NMEA format at 4800 baud, that's what the Pocket Streets application wants.
Q1: The Pocket Streets GPS Configuration screen shows that I have available COM2, COM3, COM8 and COM9. I thought I saw a COM1 in there before, but right now this is the list I see. Which COM port is wired to the connector?
Q2: I've heard that I may need to disable IR, a keyboard driver, or ??? to get this to accept input. Help out a newbie and tell me exactly how to turn off these features (it's not obvious to me).
Q3: I've loaded ZTerm on the PocketPC Phone Edition and used a serial cable to type back and forth with Hyperterminal on my XP system. This even down to 4800 baud. So I know it's possible to exchange data via serial port. Since it's only a three wire interface from the GPS, I've connected the Tx,Rx, and Gnd to the phone, but no data to the application or to ZTerm. I've tried tying the CTS, RTS and DSR lines together on the phone and made sure there was no handshaking, but still no data to ZTerm (or Pocket Streets). Wuzzup with this?
Thanks in advance! Bewildered with some cool toys :?
Ok I had a similar problem with TomTom.
Ok to disable IR go to Start/Settings the do to the connections.
Select Beam there should be a tick box labelled Receive all incoming beams.
Then go to pocket streets start it up and you should be able to select com1
Hope this helps, Just for information if the received all incoming beams is selected then it acts as your comm1, until this is de-selected you cant talk use the seial port on your bottom connecter.

serial connection for GPS

I want to connect a Holux GM-200 serial GPS unit to my M1000
The pin config for this device you is as follows:
Pin 1 is 5volts + supply
Pin 2 is TX
Pin 3 is RX
Pin 5 is Ground
Pin 9 is DGPS in
All other pins r not connected. I also need to now what settings I need to have the GPS receiver set to i.e. do I select SIRFstar II or NMEA settings I have a lead that I made and now am able to connect to the PC through the serial port. Using this I have now accessed the menu so that I can make relevant changes. i am using a programm called SiRFstar Demo 3.30a with this i can directly programm the GPS to give what ever info i want.
I will be using Tom tom navigator software and this has selection in drop down menu for GM-200 how ever I am not sure if the setting should be in
d*m’s’’ or d* m.m’ or d.d*
* is degrees – my keyboard doesn’t seem to have that symbol
I am connecting via serial cable COM port 1 I have disabled infa red so the port is free. My soldering is okay but i am not sure if my connections to the PDA are correct- is there a lead that can do this for me. or will i have no alternative but to recheck my connections on my home made lead.
Please help
Make sure you disable beams in settings/connections/beams, choose nmea 4800 and com 1. You will also need to disable external keyboard driver if installed.
How dou you connect the serial GPS to your device?
If you use a serial sync-cable you have to insert a null modem cable.
You have to ensure that tx goes to rx and rx goes to tx that they can talk to each other....
Look here:
http://www.lammertbies.nl/comm/cable/RS-232.html#pins
and here:
http://wiki.xda-developers.com/wiki/Connectors
HTH
Stefan
GPS lead
I have made a lead consisting of a serial sync cable and a RS232 connector lead which connectes to a Holux GM-200 serial GPS unit to my M1000
The pin config for this device you is as follows:
Pin 1 is 5volts + supply
Pin 2 is TX
Pin 3 is RX
Pin 5 is Ground
All other pins r not connected. I am connecting via serial cable COM port 1 I have disabled infa red so the port is free. I have recieved email from holux that TomTom will be able to read the sentence from NMEA standard setting. and extract relavent data. I will swap over TX and Rx as these were connected wrong. I will also purchace a null modem or make one from connectors from maplin.
Null Modem
Simple RS232 null modem without handshaking
RS232 null modem with loop back handshaking
RS232 null modem with partial handshaking
RS232 null modem with full handshaking
Which one?
Re: Null Modem
Ilyas Khan said:
Simple RS232 null modem without handshaking
Click to expand...
Click to collapse
Should be the right one.....

Bluetooth problems from a newbie

I have recently "upgraded" from xdaII to xdaIIs and I'm having a few problems. I have upgraded the BT stack to 3500 but I still can seem to connect to my tomtom gps. Device sees it but tomtom 3 cant. I'm completely confused by the connection wizard- none of the profiles seems to fit gps. I also dont seem to be able to send or receive files from my old xdaII. What am I doing wrong?
I'm also a little confused about roms. Do I need to upgrade my rom? Is there a simple way avoiding anything too technical (I've read about "country codes" and other wierd stuff). My current config is:
ROM: 1.12.62
Radio: 1.02.00
Protocol: 1337.32
ExtROM: 1.12.178
Could someone please help! I only have a few days to decide if I want to keep it or stick with my xdaII...
Gps's use the serial profile to transmit the data over - its like a virtual serial connection - so you need to tell tomtom to look on a com port AFAIK,.
For eample in my Tomtom list of connections there is one called 'BT on Com6, ' which is the bluetooth comport on my unit.
But there are also listed more com ports...
Com5
Com4
Bluetooth Serial port Com7
The XDA only actually has 1 com port (com1) so any other are virtual ports created by various software, you just need to find out which one is the one for the GPS...
So in "tomtom gps v3.07" I go to the gps tab and by default its set to infrared port. I change to "BT on com6" and click OK. When I restart the program it always resets to "infrared port" even if I try a different port. Really am stuck- never had any problems with my xdaII- just put in BT port and it picked it up automatically...
The problem is it's not always the same com port for different devices - firstly does your unit have the widcoom stack version of are you on the microsoft stack..
Whichever you have you need to find where the BT com port is configured..
On my widcomm i go to 'bluetooth setting' ; 'services' ; "serial port'; 'advanced'
in there it says...
inbound com port : 6
outbound com port : 7
so the incoming com port on my bluetooth is 6 hence the 'BT com port on 6' listed in my tomtom gps.
so you need to find your BLuetooth com port and find out which com port number it is set to. Not sure as to why tomtom gps does not save your settings, the only thing I can think of is becuase it never gets a valid signal from the comport select, and does not save the change unless it does.
Also: I assume the gps unti has a pairing with your XDA unit?
So does the widcom stack work on the xdaIIs? If so where can get it?
Sorry: I cannot be certiain the widcomm works with the IIs, but is can be downloaded from this site if you are willling to try, just do a search oin widcoom, and you will find a lot of entries...
For the MS BT stack; look under start, settings,System tab. There is a icon labeleld Bluetooth settings in there you can see/set the com ports for the bluetooth link. they also need to be enabled witch a check box before they will work...
So on "bluetooth seetings" serial port/advanced I have inbound COM port 5 and Outbound COM port 6. Below it says "Default device for outgoing serial connections: TomTom Wireless GPS. Display the device selection screen the next time an outgoing serial connection is attempted" next to a ticked box. I have tried bt com 5 and 6 in the gps settings and it wont save or recognise either. I can, however, pair and connect to the device in my BT manager but Tomtom doesnt recognise it...
Hmmm - all sound ok to me but I currently use a wired GPS, so I have not actually done it. I'm afraid I'm as stuk as you are now...
Sorry bro- I have sorted this now. Thanks...
For me, I just selected Comm 5 from the GPS status drop down and it works like magic!

Bluetooth Activesync problem....

I don't see the word "activesync" on the services list on my device, I only see "serial port" what could be wrong? I tried re-connecting again and again, made an incoming connection on the comport and assigned the comport number in Activesync and still it won't work. The last time I did these procedures, everything seems working fine. What could be wrong?
Any solution? Bump.
I did read the thread here ( http://forum.xda-developers.com/showthread.php?t=331394 ) and tried everything there but just can not get the Activesync service to show up on my Tilt. Funny thing is it was working before I tried to get Bluetooth PAN working.
By the way, AT&T branded device, Toshiba BT stack on Win XP SP2.\
FINALLY SOLVED:
-In control panels Bluetooth Local COM
-Removed COM6
-Added COM6 as Bluetooth virtual COM port for a SERVER
Then finally Activesync service showed up and all was a breeze from there.
jtphl said:
I don't see the word "activesync" on the services list on my device, I only see "serial port" what could be wrong? I tried re-connecting again and again, made an incoming connection on the comport and assigned the comport number in Activesync and still it won't work. The last time I did these procedures, everything seems working fine. What could be wrong?
Click to expand...
Click to collapse
had the same problem. hee is, what worked for me: delete all pairing from device and PC. connect to pc with USB and install the Kaiser as modem. in active sync - connections - select the right USB serial port. after this it worked for me
tried both solutions above , but cant get the activesync service on my device :S
FINALLY SOLVED:
-In control panels Bluetooth Local COM
-Removed COM6
-Added COM6 as Bluetooth virtual COM port for a SERVER
Can you explain this? Are those settins on the device? or pc?
thnx
yeah, a little more details would be nice. I can see the Bluetooth Local COM in the device manager but how do i install the virtual one?
problem solved here
- reinstalled activesync!!!!!
- added bluetooth paired device on ppc with my laptop
- in bluetooth settings on the laptop i added an incoming port , laptop added port 11 automaticly
- in active sync in connection settings, i said , use port 11 for incoming connections
- on pda i refreshed the services of the paired laptop , serial port service became activesync service!!
problem solved for me
If people are still having the problem (as I was using a Widcomm based BT adapter) you should go check out the registry entry at \HKLM\Software\Microsoft\Bluetooth\ActiveSync. If you've deleted all the pairings and you still see a folder in there with some numbers, open it up and check the value of RasEntry. If it says the name of any device that you've paired your phone with, go back out to the ActiveSync folder (one level up) and delete that folder. Then re-pair and set up the serial port on your local computer to be the same as the one that ActiveSync (on your desktop) allows connections from in the Connection Settings preferences.
Bellfazar said:
If people are still having the problem (as I was using a Widcomm based BT adapter) you should go check out the registry entry at \HKLM\Software\Microsoft\Bluetooth\ActiveSync. If you've deleted all the pairings and you still see a folder in there with some numbers, open it up and check the value of RasEntry. If it says the name of any device that you've paired your phone with, go back out to the ActiveSync folder (one level up) and delete that folder. Then re-pair and set up the serial port on your local computer to be the same as the one that ActiveSync (on your desktop) allows connections from in the Connection Settings preferences.
Click to expand...
Click to collapse
Tried that, but that didn't help. I have a Anycom USB-200 Widcomm based bluetooth dongle and a O2 XDA Neo (aka HTC Prophet) with Prophet Touch IX WM6 installed and I'm using Active Sync 4.5. It worked for me with WM5 before a while ago. I don't remember what I did differently that time.

Categories

Resources