I've been able to download, build, install, and run (from the device) MetroTRK on a SE P910.
When I run MT from the device, the main view shows:
Welcome to MetroTrk for Symbian OS Version 2.0 Implementing MetroTrk API version 3.0
No other status information is shown.
However, when I attempt to run MT from CW (Debug->Symbian Devices->Launch P800 MetroTrk), I get:
Launching MetroTrk... dialog for a few seconds Failed to launch MetroTrk. Please check the connection settings on the device. Cable status should be set to modem.
Twice, I've actually seen it launch MT, but it gives the above dialog anyway. Most times, though, it fails to launch MT.
I've confirmed that the cable settings are "correct" on the device:
From control panel.Connections->Cable Cable status: modem Baud rate: 115200 Parity: none Stop bits: 1 Char len: 8 flow control: none
I've experimented with USB and a serial connection, changing flow control, etc. but to no avail.
Thanks for the reply. I tried your .ini file and changing the port # around a bit, but I have the same result: I can launch MetroTRK from CodeWarrior, but not do anything further.
I've never launched MetroTRk from CodeWarrior, but always from my P900. It's looks like it gets blocked because you should see :
Quote
Welcome to MetroTrk for Symbian OS Version 1.10 Implementing MetroTrk API version 3.0 PDD: EUART1 LDD: ECOMM CSY: ECUART Port number: 4 Baud rate : 115200
or any error. Sorry can't help more.
By the way you apparently you re using version 2.0. Did you compile it by yourself ? I tried to compile the one I found on Metrowerks web site, with no success.
There is a .sis file for the SEMC phones (P800/P900/P910). It is available from the Metrowerks website in the OEM and Pro 2.5.1 patch. I'll post it here if someone can tell me how.[/img]
It's looks like it gets blocked because you should see : Welcome to MetroTrk for Symbian OS Version 1.10 Implementing MetroTrk API version 3.0 PDD: EUART1 LDD: ECOMM CSY: ECUART Port number: 4 Baud rate : 115200 or any error. Sorry can't help more.
I was wondering about this. Perhaps my build of version 2.0 is bad.
Quote
By the way you apparently you re using version 2.0. Did you compile it by yourself ? I tried to compile the one I found on Metrowerks web site, with no success.
Yes, I downloaded and built it myself. I'm going to try an earlier version to see if that gets me any further. Thanks again for the help!
Thanks to Wapa and stephbel, I was able to resolve my problem. The solution was to use the MetroTrk_1.10_P800.sis file that comes with the 2.5.1 upgrade to CodeWarrior. Getting this was a bit of a challenge because I had already upgraded to CW 3.0 and didn't want to risk polluting the install with an old upgrade. So, I found a 2.8 version of CW and "sacrificed" it with the 2.5.1 "upgrade".
Could you please be a little more specific as to how you got this working? I'm trying to do the same thing....
I have a p800 and I have installed the 1.10 sis on it. I have device in the cradle and have tried to with and without COM port selected in the SE software (Link Properties system tray icon). It seems to make no difference. Tried both ways after PC and Device reboot
1. If I try to start the debugger up through cw 3. I get a dialog that says it was unable to start metroTRK. "MetroTrkProtocolPlugin : Unable to open communications port". Nothing else....
2. If I hit the menu item Debug->Symbian Devices->Launch p800 metroTRK, causes a nearly endless stream of dialogs showing a generic error. Then if I hit any further menu items I also get warnings, asserts, etc. The IDE becomes completely unusable.
3. If I start up metroTRK on the device, I get the dreaded -21 error, so unfortunantly that doesn't work either.
The serial port on the phone is locked so each time you reboot the phone you have to unlock it by sending an AT command. That is what the 'Launch P800 MetroTrk' is trying to do. It sounds like the COM port is in use though. You either have a terminal program open or more likely the mRouter software is running and is listening on that port. Double click on the 'Phone connection link' icon on your Win32 task bar and make sure the COM port is unchecked.
I`m trying to connect my codewarrior debugger through the MetroTRK program. I've installed CodeWarrior professional edition V3.0. However, since I didn't have the MetroTRK.sis file, I downloaded the update patch for pro_OEM edition V2.5.1, and then installed the MetroTRK.sis file found in the update on my SE P910i phone.
I've followed the settings as prescribed in one of the papers of on-device debugging of C++ applications on SE P800/P900, but they don't work at all.
Also when I try to run the installed MetroTRK on the SE P910i phone, I get an error, stating " Failed to Find Port. Error Code:-21"
I'd really appreciate if anyone could point out the correct steps or procedure as to where am I going wrong or what do I need to do.
From the Debug menu in the CW IDE, Symbian Devices->Launch P800 MetroTrk. First make sure that the phone is connected via the serial cable or cradle, and that the port in question is NOT in use by another process. If you have the PC suite software installed then it will have both ports (USB and serial) by default. There would be a moving black arrow looking icon on the Win32 task bar. Double click on that and it will display a dialog telling you which ports it is listening on. Uncheck the port you are using (USB or serial).
When you "Launch P800 MetroTrk" you should not get any errors. You should then see MetroTrk started on the phone with no errors.
Forum posts: 36
[SERIALCOMM]
PDD EUART1
LDD ECOMM
CSY ECUART
PORT 4
RATE 115200
Forum posts: 8
Forum posts: 36
It's looks like it gets blocked because you should see :
Implementing MetroTrk API version 3.0
PDD: EUART1
LDD: ECOMM
CSY: ECUART
Port number: 4
Baud rate : 115200
By the way you apparently you re using version 2.0.
Did you compile it by yourself ? I tried to compile the one I found on Metrowerks web site, with no success.
Forum posts: 68
Forum posts: 8
Welcome to MetroTrk for Symbian OS Version 1.10
Implementing MetroTrk API version 3.0
PDD: EUART1
LDD: ECOMM
CSY: ECUART
Port number: 4
Baud rate : 115200
or any error. Sorry can't help more.
Did you compile it by yourself ? I tried to compile the one I found on Metrowerks web site, with no success.
Yes, I downloaded and built it myself. I'm going to try an earlier version to see if that gets me any further. Thanks again for the help!
Forum posts: 8
Thanks again for your help!
Mark
Forum posts: 1
Could you please be a little more specific as to how you got this working? I'm trying to do the same thing....
I have a p800 and I have installed the 1.10 sis on it. I have device in the cradle and have tried to with and without COM port selected in the SE software (Link Properties system tray icon). It seems to make no difference. Tried both ways after PC and Device reboot
1. If I try to start the debugger up through cw 3. I get a dialog that says it was unable to start metroTRK. "MetroTrkProtocolPlugin : Unable to open communications port". Nothing else....
2. If I hit the menu item Debug->Symbian Devices->Launch p800 metroTRK, causes a nearly endless stream of dialogs showing a generic error. Then if I hit any further menu items I also get warnings, asserts, etc. The IDE becomes completely unusable.
3. If I start up metroTRK on the device, I get the dreaded -21 error, so unfortunantly that doesn't work either.
I'm stumped here, Please, anyone have any ideas?
edited
Forum posts: 68
Forum posts: 57
I`m trying to connect my codewarrior debugger through the MetroTRK program.
I've installed CodeWarrior professional edition V3.0. However, since I didn't have the MetroTRK.sis file,
I downloaded the update patch for pro_OEM edition V2.5.1, and then installed the MetroTRK.sis file
found in the update on my SE P910i phone.
I've followed the settings as prescribed in one of the papers of on-device debugging of C++ applications on SE P800/P900, but they don't work at all.
Also when I try to run the installed MetroTRK on the SE P910i phone, I get an error, stating
" Failed to Find Port. Error Code:-21"
I'd really appreciate if anyone could point out the correct steps or procedure as to where am I going wrong or what do I need to do.
Thanks & regards,
Asheesh
Forum posts: 68
When you "Launch P800 MetroTrk" you should not get any errors. You should then see MetroTrk started on the phone with no errors.
Thanks,
Wapa