RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 10:56 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 48 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: How to log data to micro SD card
PostPosted: Sun Feb 07, 2010 11:30 pm 
Offline
Experienced

Joined: Wed Jun 18, 2008 7:46 am
Posts: 106
Hi,

Do anybody know how to log data to micro SD card via OpenPort2.0 cable?
I try to use it without laptop connection but it only produce a file "logcfg.out" on my micro SD.
Any idea how to use it? Or I should input any software command into the file.

Thanks and Regards,
Sega


Top
 Profile  
 
 Post subject: Re: How to log data to micro SD card
PostPosted: Mon Feb 08, 2010 1:00 am 
Offline
Moderator

Joined: Wed Nov 22, 2006 10:23 pm
Posts: 2565
I haven't messed with it at all yet, but try here:

http://forums.openecu.org/viewforum.php?f=57

_________________
2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, BC 272, LC, FFS, OMG
Please don't send questions via PM. Post a thread and send me a link to it instead. Thanks!


Top
 Profile  
 
 Post subject: Re: How to log data to micro SD card
PostPosted: Wed Feb 10, 2010 12:46 am 
Offline
RomRaider Donator
User avatar

Joined: Sat Mar 03, 2007 5:58 pm
Posts: 98
Here also: topic5581.html

PM me if you want to give it a try.

_________________
Current Mods and tune


Top
 Profile  
 
 Post subject: Re: How to log data to micro SD card
PostPosted: Mon Mar 01, 2010 1:16 pm 
Offline
Experienced

Joined: Mon Jan 18, 2010 10:31 pm
Posts: 191
I dont understand the scaling with this... I mean I understand the revers polish notation and I could make calculations with it... I dont get how to scale... I mean how do we now how to change the raw ecu data? I get how we would subtract our atmospheric pressure from manifold pressure to get calculated boost... But why would we need to calculate for rpm? I mean where do I find what I need to calculate for and how to calculate for it?


Top
 Profile  
 
 Post subject: Re: How to log data to micro SD card
PostPosted: Mon Mar 01, 2010 2:11 pm 
Offline
RomRaider Donator
User avatar

Joined: Sat Mar 03, 2007 5:58 pm
Posts: 98
Look in your logging definitions file (logger.xml).

Example:
Code:
<parameter id="P8" name="Engine Speed" desc="" ecubyteindex="8" ecubit="0">
  <address length="2">0x00000E</address>
  <conversions>
    <conversion units="rpm" expr="x/4" format="0" />
  </conversions>
</parameter>


See the conversion part? Convert to RPN.

Does that help?

_________________
Current Mods and tune


Top
 Profile  
 
 Post subject: Re: How to log data to micro SD card
PostPosted: Mon Mar 01, 2010 7:26 pm 
Offline
Experienced

Joined: Mon Jan 18, 2010 10:31 pm
Posts: 191
Right but where do we get the conversion units from? IE I dont know what the raw ecu data is in order to convert for it... Like what would the conversion equation be for say engine load and base timing? With total timing I would think it would be a formula made from base plus or minus the ECU's other perameters. But then wouldnt you have to log the other periameters to make the conversion? And then wouldn't that slow down your record rate?

I guess im looking at this like writing a script... But with out knowing what the conversion factors should be how do we wright the formula to get the proper data spit onto the cvs file? Im just a little confused on the reverse polish code... IE why are we doing that?


Top
 Profile  
 
 Post subject: Re: How to log data to micro SD card
PostPosted: Mon Mar 01, 2010 7:54 pm 
Offline
RomRaider Donator
User avatar

Joined: Sat Mar 03, 2007 5:58 pm
Posts: 98
poohbear wrote:
Right but where do we get the conversion units from? IE I dont know what the raw ecu data is in order to convert for it... Like what would the conversion equation be for say engine load and base timing? With total timing I would think it would be a formula made from base plus or minus the ECU's other perameters. But then wouldnt you have to log the other periameters to make the conversion? And then wouldn't that slow down your record rate?

I guess im looking at this like writing a script... But with out knowing what the conversion factors should be how do we wright the formula to get the proper data spit onto the cvs file? Im just a little confused on the reverse polish code... IE why are we doing that?


I read that there is not a floating point processor built in to the OP2 or something to that effect.

I have something that already generates config files. Are you interested in helping me test it so I can release it?

_________________
Current Mods and tune


Top
 Profile  
 
 Post subject: Re: How to log data to micro SD card
PostPosted: Mon Mar 01, 2010 9:40 pm 
Offline
Experienced

Joined: Mon Jan 18, 2010 10:31 pm
Posts: 191
PM SENT! :mrgreen:


Top
 Profile  
 
 Post subject: Re: How to log data to micro SD card
PostPosted: Tue Mar 16, 2010 5:01 pm 
Offline
Newbie

Joined: Sat Mar 06, 2010 3:08 am
Posts: 31
been trying to figure this out for a couple weeks now, tried 2 different SD cards, formatted both of them over 3 times trying to get it to work and still nothing...all the info out there is somewhat useless because it is so cryptic...any clear english on how to do this yet?


Top
 Profile  
 
 Post subject: Re: How to log data to micro SD card
PostPosted: Tue Mar 16, 2010 5:18 pm 
Offline
RomRaider Donator
User avatar

Joined: Sat Mar 03, 2007 5:58 pm
Posts: 98
xdarkn3ss wrote:
been trying to figure this out for a couple weeks now, tried 2 different SD cards, formatted both of them over 3 times trying to get it to work and still nothing...all the info out there is somewhat useless because it is so cryptic...any clear english on how to do this yet?


Step 1. Did you update the firmware on your OP2?

http://forums.openecu.org/viewtopic.php?f=57&t=4319
Code:
Here is how to install and use this beta:

* Download and install http://www.tactrix.com/index.php?option=com_content&view=category&layout=blog&id=44&Itemid=65 (this is the official beta download page from here on)
* Run EcuFlash and do a Help|Licensing operation. This will cause a firmware update to 1.10.xxxx, which has the logging support.
* If you go to the C:\Program Files\OpenECU\EcuFlash\samples\logging directory you will see some example logging configuration files. These are text files you can open in a text editor and read.
* Copy the appropriate text file to your microSD card and rename it logcfg.txt. Make sure your text editor does not end up writing the file as logcfg.txt.txt.
* Disconnect the OP2 from your PC and plug it in to your car and go for a drive.
* Come back and connect your OP2 to the PC and examine the CSV files.

_________________
Current Mods and tune


Top
 Profile  
 
 Post subject: Re: How to log data to micro SD card
PostPosted: Tue Mar 16, 2010 7:00 pm 
Offline
Newbie

Joined: Sat Mar 06, 2010 3:08 am
Posts: 31
enthusiast wrote:
xdarkn3ss wrote:
been trying to figure this out for a couple weeks now, tried 2 different SD cards, formatted both of them over 3 times trying to get it to work and still nothing...all the info out there is somewhat useless because it is so cryptic...any clear english on how to do this yet?


Step 1. Did you update the firmware on your OP2?

http://forums.openecu.org/viewtopic.php?f=57&t=4319
Code:
Here is how to install and use this beta:

* Download and install http://www.tactrix.com/index.php?option=com_content&view=category&layout=blog&id=44&Itemid=65 (this is the official beta download page from here on)
* Run EcuFlash and do a Help|Licensing operation. This will cause a firmware update to 1.10.xxxx, which has the logging support.
* If you go to the C:\Program Files\OpenECU\EcuFlash\samples\logging directory you will see some example logging configuration files. These are text files you can open in a text editor and read.
* Copy the appropriate text file to your microSD card and rename it logcfg.txt. Make sure your text editor does not end up writing the file as logcfg.txt.txt.
* Disconnect the OP2 from your PC and plug it in to your car and go for a drive.
* Come back and connect your OP2 to the PC and examine the CSV files.


Yep, Firmware updated, I have tried manually creating a logcfg.txt file and using the utility to create one, all that ever happens is a logcfg.out file is created with headers (ie. the parameter headers I was trying to log but no data) but it's not in CSV format and contains no actual data. I would loooove to get this working.


Top
 Profile  
 
 Post subject: Re: How to log data to micro SD card
PostPosted: Wed Mar 17, 2010 6:56 pm 
Offline
Newbie

Joined: Sun Jan 04, 2009 8:41 pm
Posts: 46
Be warned that if you use the latest SD logging beta on openecu it will stop you being able to use Romraider logging.


Top
 Profile  
 
 Post subject: Re: How to log data to micro SD card
PostPosted: Wed Mar 24, 2010 2:52 pm 
Offline
Newbie

Joined: Sat Mar 20, 2010 1:34 pm
Posts: 7
mdedwar wrote:
Be warned that if you use the latest SD logging beta on openecu it will stop you being able to use Romraider logging.


Really? It doesnt seem like Colby would do that, can someone confirm?


Top
 Profile  
 
 Post subject: Re: How to log data to micro SD card
PostPosted: Wed Mar 24, 2010 3:23 pm 
Offline
RomRaider Donator
User avatar

Joined: Sat Mar 03, 2007 5:58 pm
Posts: 98
ninja007 wrote:
mdedwar wrote:
Be warned that if you use the latest SD logging beta on openecu it will stop you being able to use Romraider logging.


Really? It doesnt seem like Colby would do that, can someone confirm?


He made a post here talking about it.

topic5948.html

_________________
Current Mods and tune


Top
 Profile  
 
 Post subject: Re: How to log data to micro SD card
PostPosted: Wed Mar 24, 2010 9:35 pm 
Offline
RomRaider Donator

Joined: Sun Sep 20, 2009 12:39 am
Posts: 221
Location: Lost
In the log file creator utility, make sure you tick the box for K-line communication at the top. If you choose CANbus you will get no logs created.

I have a card installed and can log to it when RR is not running. With RR logger running and connected, it logs as normal and nothing goes to the card. I would imagine that is as Colby intended.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 48 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl