Problem with MetroTRK on-device debugging from CodeWarrior 3
| Wed, 2005-02-09 21:35 | |
|
Hi,
I'm having a problem running MetroTRK from CodeWarrior 3.0. My config: SE P910 CodeWarrior for Symbian Pro 3.0 WinXP desktop My Metrotrk.ini file reads: [SERIALCOMM] PDD EUART%d LDD ECOMM CSY ECUART PORT 0 RATE 115200 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. The instructions found at: http://developer.sonyericsson.com/getDocument.do?docId=65024 refer to CW 2.0 and I have 3.0. Has anyone gotton CW 3.0 working with MT? Any ideas? Thanks in advance, Mark |
|






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: 58
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