Notices
ECU Flash

Tactrix cable and PDA/Pocket PC - working logger

Thread Tools
 
Search this Thread
 
Old Jan 14, 2008 | 02:56 PM
  #1  
evo828's Avatar
Thread Starter
Evolving Member
 
Joined: Apr 2007
Posts: 195
Likes: 1
From: Slovakia
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.
Reply
Old Jan 15, 2008 | 07:51 AM
  #2  
chrisw's Avatar
Evolved Member
iTrader: (2)
 
Joined: Mar 2003
Posts: 2,217
Likes: 0
From: Santa Cruz
Cool! this is the 3rd version that I have seen...
Reply
Old Jan 17, 2008 | 07:53 AM
  #3  
evo828's Avatar
Thread Starter
Evolving Member
 
Joined: Apr 2007
Posts: 195
Likes: 1
From: Slovakia
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.
Reply
Old Jan 17, 2008 | 08:43 AM
  #4  
jcsbanks's Avatar
Evolved Member
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
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?
Reply
Old Jan 17, 2008 | 12:33 PM
  #5  
evo828's Avatar
Thread Starter
Evolving Member
 
Joined: Apr 2007
Posts: 195
Likes: 1
From: Slovakia
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.
Reply
Old Jan 17, 2008 | 01:27 PM
  #6  
jcsbanks's Avatar
Evolved Member
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
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.
Reply
Old Jan 17, 2008 | 01:32 PM
  #7  
evo828's Avatar
Thread Starter
Evolving Member
 
Joined: Apr 2007
Posts: 195
Likes: 1
From: Slovakia
Good idea - thanks - I will test

edit: tested - no improvement

Last edited by evo828; Jan 17, 2008 at 02:44 PM.
Reply
Old Feb 11, 2008 | 02:17 PM
  #8  
SuPeRNeT's Avatar
Evolving Member
20 Year Member
iTrader: (13)
 
Joined: Feb 2005
Posts: 423
Likes: 0
From: Colorado
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..
Reply
Old Feb 11, 2008 | 02:24 PM
  #9  
jcsbanks's Avatar
Evolved Member
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
A slow SD card slows my logging compared with a fast one or writing to device memory.
Reply
Old Feb 12, 2008 | 03:10 AM
  #10  
evo828's Avatar
Thread Starter
Evolving Member
 
Joined: Apr 2007
Posts: 195
Likes: 1
From: Slovakia
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
Reply
Old Feb 20, 2008 | 05:29 AM
  #11  
evo828's Avatar
Thread Starter
Evolving Member
 
Joined: Apr 2007
Posts: 195
Likes: 1
From: Slovakia
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
Reply
Old Feb 20, 2008 | 05:35 AM
  #12  
sharkm87's Avatar
Evolved Member
iTrader: (29)
 
Joined: Jun 2005
Posts: 2,034
Likes: 0
From: Dirty Jerz
does this work on phones?....its not PPC though, i have a att tilt with windows mobile...would be nice i guess
Reply
Old Feb 20, 2008 | 06:33 AM
  #13  
evo828's Avatar
Thread Starter
Evolving Member
 
Joined: Apr 2007
Posts: 195
Likes: 1
From: Slovakia
You phone would need to have a "USB host" connector - I am not sure if any of the mobile phones has this.
Reply
Old Feb 21, 2008 | 02:56 PM
  #14  
laakness's Avatar
Evolved Member
iTrader: (12)
 
Joined: Mar 2004
Posts: 504
Likes: 1
From: Fox Valley
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.
Reply
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




All times are GMT -7. The time now is 11:02 PM.