Trying DOTA example in SDK 4.22a


#1

I just installed SDK v4.22a and development toolkit v2.9.6
I’m using a Q2687.

I ran the hello world example, no troubles at all in RTE mode.

I then used the project wizard to create a project based off of sample DOTA using the linked plug-in WIP. I ran that in RTE mode, entered my bearer info using the AT+APNPARAMS. connected to bearer ok. I then sent in the SMS for FTP instruction and it parsed that OK. But when the FTP actually started, with dots printing in the terminal emulator, i got a crash in \mingw\out\kernel.exe File:afxtemp.h Line:666
I then hit “ignore” button, but the pause probably caused the ftp server to time out. here is my trace from TMT:

Trace CUS4 1 Embedded Application : Main -858993460
Trace CUS4 1 DOTA_AnDEventHandler: Event 0, Progress 0
Trace CUS4 1 SIM Event = 1
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 8
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 16
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 24
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 33
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 41
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 49
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 57
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 66
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 74
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 82
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 90
Trace CUS4 1 DOTA_AnDEventHandler: Event 2, Progress 100
Trace ATI 1 Unable to find the string of the remote trace in the file (ID = 8842)
Trace DEV 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace DEV 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace DEV 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace DEV 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace DEV 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace ATI 1 Unable to find the string of the remote trace in the file (ID = 8842)
Trace DEV 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace DEV 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace DEV 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace DEV 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace DEV 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace CUS4 1 Embedded Application : Main -858993460
Trace CUS4 1 DOTA_AnDEventHandler: Event 0, Progress 0
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 8
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 16
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 24
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 33
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 41
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 49
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 57
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 66
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 74
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 82
Trace CUS4 1 DOTA_AnDEventHandler: Event 1, Progress 90
Trace CUS4 1 DOTA_AnDEventHandler: Event 2, Progress 100
Trace CUS4 1 SIM Event = 5
Trace CUS4 1 ADL_SIM_STATE_FULL_INIT
Trace CUS4 1 [GPRS]: initialized.
Trace CUS4 1 [GSM]: initialized.
Trace CUS4 1 [UART1]: initialized.
Trace CUS4 1 [UART2]: initialized.
Trace CUS4 1 []: initialized.
Trace CUS4 1 [GPRS]: open: -> DISCONNECTED
Trace CUS4 1 wip_bearerOpen: 0
Trace CUS4 1 wip_bearerSetOpts: 0
Trace CUS4 1 [GPRS]: start: -> CONNECTING
Trace CUS4 1 wip_bearerStart: -27
Trace CUS4 1 [GPRS]: GPRS EVENT SETUP OK (cid=1): GPRS activate
Trace CUS4 1 [GPRS]: GPRS EVENT: 27 (cid=1)
Trace RLU 1 Unable to find the string of the remote trace in the file (ID = 528)
Trace CUS4 1 [GPRS]: GPRS EVENT ACTIVATE OK (cid=1): FCM open
Trace CUS4 1 [GPRS]: FCM subscribe: 0
Trace CUS4 1 [GPRS]: FCM EVENT FLOW OPENNED: -> CONNECTED
Trace CUS4 1 DOTA_GprsEvHandler: event 2
Trace CUS4 1 WIP_BEV_IP_CONNECTED
Trace RLU 1 Unable to find the string of the remote trace in the file (ID = 528)
Trace L3RR 1 Unable to find the string of the remote trace in the file (ID = 4867)
Trace MMT 1 Unable to find the string of the remote trace in the file (ID = 11368)
Trace MMT 1 Unable to find the string of the remote trace in the file (ID = 11368)
Trace CUS4 1 FTP filename
Trace CUS4 1 gcc_DOTA_256KB.wpb.dwl
Trace CUS4 1 path
Trace CUS4 1 ./
Trace CUS4 1 FTP Server
Trace CUS4 1 66.252.141.3
Trace CUS4 1 FTP Server UN
Trace CUS4 1 anonymous
Trace CUS4 1 FTP Server PW
Trace CUS4 1 ass@hat.com
Trace CUS4 1 wip_FTPCreateOpts: 4886c8
Trace CUS4 1 FileName=
Trace CUS4 1 .//gcc_DOTA_256KB.wpb.dwl
Trace MMT 1 Unable to find the string of the remote trace in the file (ID = 11368)
Trace CUS4 1 [FTP=>] “220 Please visit sourceforge.net/projects/filezilla/
Trace CUS4 1 [FTP<=] USER anonymous

Trace CUS4 1 [FTP=>] “331 Password required for anonymous”
Trace CUS4 1 [FTP<=] PASS ass@hat.com

Trace CUS4 1 [FTP=>] “230 Logged on”
Trace CUS4 1 [FTP<=] TYPE I

Trace CUS4 1 [FTP=>] “200 Type set to I”
Trace CUS4 1 DOTA_FtpSessionHandler: Event: 2
Trace CUS4 1 WIP_CEV_OPEN
Trace CUS4 1 [FTP<=] PASV

Trace CUS4 1 [FTP=>] “227 Entering Passive Mode (66,252,141,3,10,27)”
Trace CUS4 1 [FTP<=] RETR .//gcc_DOTA_256KB.wpb.dwl

Trace CUS4 1 DOTA_FTPFileDataHandler Event = 2
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 6
Trace CUS4 1 [FTP=>] “150 Connection accepted”
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace SNDCP 1 Unable to find the string of the remote trace in the file (ID = 1115)
Trace SNDCP 1 Unable to find the string of the remote trace in the file (ID = 1115)
Trace SNDCP 1 Unable to find the string of the remote trace in the file (ID = 1115)
Trace SNDCP 1 Unable to find the string of the remote trace in the file (ID = 1115)
Trace SNDCP 1 Unable to find the string of the remote trace in the file (ID = 1115)
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace SNDCP 1 Unable to find the string of the remote trace in the file (ID = 1115)
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace SNDCP 1 Unable to find the string of the remote trace in the file (ID = 1115)
Trace SNDCP 1 Unable to find the string of the remote trace in the file (ID = 1115)
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 Length Read = 536
Trace CUS4 1 [FTP=>] “426 Connection timed out, aborting transfer”
Trace CUS4 1 DOTA_FtpSessionHandler: Event: 1
Trace CUS4 1 WIP_CEV_ERROR 426
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 1
Trace CUS4 1 FTP WIP_CEV_ERROR
Trace CUS4 1 [FTP=>] “421 Connection timed out.”
Trace CUS4 1 ERRLOG ftp_evh.c:126: Unexpected reply arriving from server
Trace CUS4 1 DOTA_FtpSessionHandler: Event: 3
Trace CUS4 1 WIP_CEV_PEER_CLOSE
Trace CUS4 1 [WIP] closing TCPCLIENT 0x4789c8
Trace CUS4 1 DOTA_FTPFileDataHandler Event = 5
Trace CUS4 1 ERRLOG ch_channel.c:148: returned WIP_CERR_CSTATE
Trace RLU 1 Unable to find the string of the remote trace in the file (ID = 528)

I have not yet tried to run in in target mode, will try.
but the RTE kernel died right when the FTP transfer started.


#2

There have been limitations meaning that WIP doesn’t work with remote mode - are you sure these are supposed to be fixed in this version?

The thing to remember is that all the data is still coming through the actual wireless CPU - therefore it has to be transferred across the serial link to the PC, along with all the other event data, etc.
I gave up trying to use remote mode with large data transfers like this because I found that the link just couldn’t keep up! :frowning:
See: wavecom.com/modules/movie/sc … ght=remote
That was CSD and XMODEM, but I guess the same issues would apply - even assuming that WIP does now work properly with Remote Mode…