Notices
ECU Flash

Tactrix cable and PDA/Pocket PC - working logger

Thread Tools
 
Search this Thread
 
Old Jan 14, 2008, 02:56 PM
  #1  
Evolving Member
Thread Starter
 
evo828's Avatar
 
Join Date: Apr 2007
Location: Slovakia
Posts: 195
Likes: 0
Received 1 Like on 1 Post
Tactrix cable and PDA/Pocket PC - working logger

I just wanted to post a thread where you can find a working version of a PDA/Pocket PC logger.

What is needed:
Tactrix cable
PDA/Pocket PC with USB Host adapter (in my case it is Acer n50 with USB host cable)
OS: the current version works with Windows Mobile 2003 and .Net compact framework 2.0

First you need to install FTDI drivers for Pocket PC - instructions are posted on FTDI website:
http://www.ftdichip.com/Documents/In...tion_Guide.pdf

I installed this driver into my pocket pc (Acer n50):
http://www.ftdichip.com/Drivers/D2XX...D2XXDriver.zip

I modified the inf file so it contains the PID ID of my cable. I do not use the serial emulation - connect directly through ftdi driver (attaching a zip file ftd2xx.zip which contains all 3 files that you just need to copy into your programs directory in pocket pc).

Attached is also a zipped exe file that you just copy to your PDA and run. Version with installed is zipped as well. For developers - zipped source code for Visual Basic enclosed enjoy

Credits go to johnbanks - his serial logger was my baseline
Attached Files
File Type: zip
JBL-FTDI exe only.zip (34.8 KB, 17 views)
File Type: zip
JBL-FTDI Installation.zip (36.2 KB, 13 views)
File Type: zip
JBL-FTDI source.zip (44.9 KB, 17 views)

Last edited by evo828; Jan 14, 2008 at 03:04 PM.
Old Jan 15, 2008, 07:51 AM
  #2  
Evolved Member
iTrader: (2)
 
chrisw's Avatar
 
Join Date: Mar 2003
Location: Santa Cruz
Posts: 2,218
Likes: 0
Received 0 Likes on 0 Posts
Cool! this is the 3rd version that I have seen...
Old Jan 17, 2008, 07:53 AM
  #3  
Evolving Member
Thread Starter
 
evo828's Avatar
 
Join Date: Apr 2007
Location: Slovakia
Posts: 195
Likes: 0
Received 1 Like on 1 Post
In average I get 3-4 rows/sec and when above 80% TPS it stops logging some redundant items - and it increases to 5-6 rows.

The bottleneck seems to be FTDI driver - which slows the communication. As I cannot edit the driver itself - at the moment I have no idea how to improve the logger speed further. If anyone is interested in some code optimising (multi-thread or change the way I work with the forms there - you are welcome.

May be when johns finishes the DMA logging - this could be the way to have faster speed on a pocket logger.
Old Jan 17, 2008, 08:43 AM
  #4  
Evolved Member
 
jcsbanks's Avatar
 
Join Date: May 2006
Location: UK
Posts: 2,399
Likes: 0
Received 5 Likes on 4 Posts
It is probably the latency timer which really runs at 1ms on the PC and doesn't on the Pocket PC? Therefore blocks of data would move faster?
Old Jan 17, 2008, 12:33 PM
  #5  
Evolving Member
Thread Starter
 
evo828's Avatar
 
Join Date: Apr 2007
Location: Slovakia
Posts: 195
Likes: 0
Received 1 Like on 1 Post
I am not sure - I just spoke with one guy who just knows more of this - and he told that while the system is communicating to USB it is just fully concentrating on this and doesnot allow for going to another "thread" - so this is what I know. That is why I think that doing one request and waiting for bulk of bytes - would be little bit faster.
Old Jan 17, 2008, 01:27 PM
  #6  
Evolved Member
 
jcsbanks's Avatar
 
Join Date: May 2006
Location: UK
Posts: 2,399
Likes: 0
Received 5 Likes on 4 Posts
Or do one request and do other things and then check for the bytes read? This is the way I thought of speeding up the PC stuff without going multithreaded.
Old Jan 17, 2008, 01:32 PM
  #7  
Evolving Member
Thread Starter
 
evo828's Avatar
 
Join Date: Apr 2007
Location: Slovakia
Posts: 195
Likes: 0
Received 1 Like on 1 Post
Good idea - thanks - I will test

edit: tested - no improvement

Last edited by evo828; Jan 17, 2008 at 02:44 PM.
Old Feb 11, 2008, 02:17 PM
  #8  
Evolving Member
iTrader: (13)
 
SuPeRNeT's Avatar
 
Join Date: Feb 2005
Location: Colorado
Posts: 423
Likes: 0
Received 0 Likes on 0 Posts
There should be a way that you could move the driver priorty up in the registry.. I just did it with my bluetooth and it fixed alot of issues..
Old Feb 11, 2008, 02:24 PM
  #9  
Evolved Member
 
jcsbanks's Avatar
 
Join Date: May 2006
Location: UK
Posts: 2,399
Likes: 0
Received 5 Likes on 4 Posts
A slow SD card slows my logging compared with a fast one or writing to device memory.
Old Feb 12, 2008, 03:10 AM
  #10  
Evolving Member
Thread Starter
 
evo828's Avatar
 
Join Date: Apr 2007
Location: Slovakia
Posts: 195
Likes: 0
Received 1 Like on 1 Post
Originally Posted by jcsbanks
A slow SD card slows my logging compared with a fast one or writing to device memory.
I will give it a try
Old Feb 20, 2008, 05:29 AM
  #11  
Evolving Member
Thread Starter
 
evo828's Avatar
 
Join Date: Apr 2007
Location: Slovakia
Posts: 195
Likes: 0
Received 1 Like on 1 Post
OK - I tried to log into memory instead of SD car - but still the same results.
With 27 items logged - I get cca 3 rows per second. It is enough for a dash display and informational logs as well.

Looking forward to have DMA logging built into this Pocket PC
Old Feb 20, 2008, 05:35 AM
  #12  
Evolved Member
iTrader: (29)
 
sharkm87's Avatar
 
Join Date: Jun 2005
Location: Dirty Jerz
Posts: 2,034
Likes: 0
Received 0 Likes on 0 Posts
does this work on phones?....its not PPC though, i have a att tilt with windows mobile...would be nice i guess
Old Feb 20, 2008, 06:33 AM
  #13  
Evolving Member
Thread Starter
 
evo828's Avatar
 
Join Date: Apr 2007
Location: Slovakia
Posts: 195
Likes: 0
Received 1 Like on 1 Post
You phone would need to have a "USB host" connector - I am not sure if any of the mobile phones has this.
Old Feb 21, 2008, 02:56 PM
  #14  
Evolved Member
iTrader: (12)
 
laakness's Avatar
 
Join Date: Mar 2004
Location: Fox Valley
Posts: 504
Likes: 0
Received 1 Like on 1 Post
Originally Posted by sharkm87
does this work on phones?....its not PPC though, i have a att tilt with windows mobile...would be nice i guess
Will not work on the Tilt, it doesn't have the USB host ability. There are only a handful of phones/pda's that do.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
CLaNZeR
General Engine Management / Tuning Forum
0
Jan 31, 2009 02:26 PM
galvitron
ECU Flash
90
Apr 22, 2008 07:23 PM
jcsbanks
ECU Flash
79
Feb 11, 2008 11:19 AM
jcsbanks
ECU Flash
3
Dec 5, 2007 02:46 PM



Quick Reply: Tactrix cable and PDA/Pocket PC - working logger



All times are GMT -7. The time now is 07:29 AM.