It is currently Wed Jul 18, 2018 9:50 pm



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: GreenAsJade
PostPosted: Tue Jul 08, 2014 2:33 am 
Offline
User avatar

Joined: Tue Jul 08, 2014 1:42 am
Posts: 5
Hi,

Martin "GreenAsJade" Gregory here.

I work for a company that makes ECU simulators ("Virtual ECUs) for software development. Auto T2 suppliers use these tools (Virtual ECUs) for developing software for the improved debugability - better control, instrumentation etc.

http://vlabworks.com/

I'm looking around for some interesting realistic ECU software to bring up on a Virtual 5674 ... hence how I arrived here.

Any advice on where to start with o5e, or whether indeed this is a good choice, will be welcome. Who knows, having o5e up on a virtual ECU could be helpful all-round!

Thanks,

Martin


Top
 Profile  
 
 Post subject: Re: GreenAsJade
PostPosted: Wed Jul 30, 2014 9:07 pm 
Offline
User avatar

Joined: Tue Jul 08, 2014 1:42 am
Posts: 5
Just FYI, I got back to this exercise yesterday, and compiled o5e under Codewarrior and booted it on a virtual 5674f. I got to main() :)

I don't have valid Flash "tune" contents, so I get Flash_OK == False.

I'm poking around trying to figure out the shortest path to getting Flash_OK == True (short of just writing 'A' to 0x8000, which I presume will get me started, but not go far with invalid contents for the rest of it).


Top
 Profile  
 
 Post subject: Re: GreenAsJade
PostPosted: Fri Aug 01, 2014 3:18 am 
Offline
User avatar

Joined: Tue Jul 08, 2014 1:42 am
Posts: 5
OK - what I need is to flash a "tune" from tuner studio.

This means connecting tuner studio over COM port to my simulation, which I have to figure out.

If I had a binary image of a "tune" I could just poke it into memory....


Top
 Profile  
 
 Post subject: Re: GreenAsJade
PostPosted: Thu Aug 07, 2014 3:06 pm 
Offline
User avatar

Joined: Sat May 11, 2013 9:52 am
Posts: 304
Location: Over here, doing 'over here' things.
Surprised Mark (mke) hasn't jumped in to comment yet.
He should be able to explain how the values get from Tuner Studio to O5E. But, maybe if you can find the 'ini' file Tuner Studio uses, that will help.

_________________
/me goes off to the corner feeling like Jerry Springer with a mullet.

My O5E candidate: 1982 Honda CX500TC motorcycle.


Top
 Profile  
 
 Post subject: Re: GreenAsJade
PostPosted: Thu Aug 07, 2014 5:51 pm 
Offline
User avatar

Joined: Sat May 11, 2013 9:45 am
Posts: 729
Location: PA, USA
abecedarian wrote:
Surprised Mark (mke) hasn't jumped in to comment yet.
He should be able to explain how the values get from Tuner Studio to O5E. But, maybe if you can find the 'ini' file Tuner Studio uses, that will help.


We exchanged a couple emails off-line so I didn't "re-answer" on-line is all.


Top
 Profile  
 
 Post subject: Re: GreenAsJade
PostPosted: Thu Aug 07, 2014 8:31 pm 
Offline
User avatar

Joined: Tue Jul 08, 2014 1:42 am
Posts: 5
Yeah - in summary, Mark said that:

- The code doesn't mess with setting up peripherals if it detects there isnt a tune, so it doesn't blow anything up
- In this instance, it goes to wait for a tune to be loaded
- I won't get far without a tune, things will go haywire rapidly
- Mark doesn't himself know of a way to get an image of a tune that I could poke into memory

I'm tinkering on this little project around the edges, and so haven't moved any further yet, but I have two paths to explore:

1) Connect tunerstudio to my Virtual ECU. In theory very doable, but the pieces aren't in place yet.

2) Fake that I have a tune and step through the code to see what it needs as it goes.

Since the second one is the path of least resistance, I plan to do that until it proves unworkable.

In the mean time, if anyone can supply an image of a tune that'd be fantastic.

The other thing that I'm soon going to start needing to know is "what engine inputs and outputs connect to what ECU outputs and inputs"? Any pointers on that would also be great.

Thanks,

Martin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC - 5 hours [ DST ]