gemellocattivo.com

Which means "Evil Twin". Lets see your projects where you change boring into fun or create the fun from scratch.
It is currently Tue Dec 07, 2021 5:29 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 52 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: o5e firmware
PostPosted: Fri Jun 12, 2020 11:53 am 
Offline

Joined: Fri Jun 12, 2020 11:49 am
Posts: 14
Hi there, i ended up here after searching a bit about the old o5e ecu project, i have been testing the firmware that i randomly found online and got it to compile load and connect to tunerstudio, also got most inputs to work, but can't figure it out why inj outputs are not working and a few other things, does any one know if this has ever started an engine?

cheers


Top
 Profile Send private message  
 
 Post subject: Re: o5e firmware
PostPosted: Fri Jun 12, 2020 6:35 pm 
Offline

Joined: Thu Jan 01, 2015 6:47 pm
Posts: 3607
Well done!

So you have the crank/cam simulator pins jumpered to the the crank/cam input pins or have some other crank/cam simulated input? You won't get fuel or spark without a good rpm sync.

Then, and I'm reach back into the memory vault there are a couple other things that can disable fuel. For 1 there is a fuel enable setting, make sure that is a 1. then there is a rev limiter fuel cut.....make sure the rev limiter is disabled or the rpm set very high.

We never actually ran an engine. mine wasn't ready and the people with engine didn't have the skills, the people with the skills didn't have engines....so it waited....then I discovered enginelab and moved on, its everything I ever hoped o5e could be :). That said everything in o5e has been bench tested and should work....I think the logic I created for my enginelab setup is better than what what I did for o5e, but it should work.

Another place you might be interested in looking is rusEFI, they have many engines running and quite a few features working....there is a question in my mind about the accuracy and robustness of the fuel/spark outputs but they have many engines running so I might be paranoid.


Top
 Profile Send private message  
 
 Post subject: Re: o5e firmware
PostPosted: Fri Jun 12, 2020 6:43 pm 
Offline

Joined: Fri Jun 12, 2020 11:49 am
Posts: 14
I know everything about rusefi and speeduino, im. On the trade lets say...
In regards to o5e i had another external simulator andnit syncs right, the spark channels fire which are etpu 2,3,4,5 but fuel 6,7, 8,9 only stay LOW can't get anything out of them, and because i don't know much about etpu i was wondering if there was somehting else..

All the options on tunerstudio are ON, other thing i could not get to work also was the fuel pump i even tried to change the pins on the firmware but nothing... The tacho output works....

Do you still have anything from those times? Or is whats on google code the best we can get?


Top
 Profile Send private message  
 
 Post subject: Re: o5e firmware
PostPosted: Fri Jun 12, 2020 6:56 pm 
Offline

Joined: Thu Jan 01, 2015 6:47 pm
Posts: 3607
hmmmm google code went away and we moved to github

did you get the code from here:
https://github.com/o5e

I think that is the latest but I could check on my usb drive to see what I have

Fuel pump also has an enable...I suspect you haven't found those 2 yet


Top
 Profile Send private message  
 
 Post subject: Re: o5e firmware
PostPosted: Fri Jun 12, 2020 7:02 pm 
Offline

Joined: Fri Jun 12, 2020 11:49 am
Posts: 14
I have everything enabled on tunerstudio, if you mean an enable on firmware, no i didn't found!
Yes i have the firmware from that github and thats the one im using...
Are the etpu channels supposed to behave as normal gpio channels or they have to be connected to another ic like the mc33xx from nxp i notice that on the schematics those are the ones used and they have an spi connection if i understand right


Top
 Profile Send private message  
 
 Post subject: Re: o5e firmware
PostPosted: Fri Jun 12, 2020 7:19 pm 
Offline

Joined: Thu Jan 01, 2015 6:47 pm
Posts: 3607
ok.

The eTPU pins on the 5634 board behave like any i/o channel....they ground when active

Do you have numbers in all the fuel tables? So should there be a fuel output is the new question? Did you load the TS example file where I set everything up to work with numbers in all the tables?


Top
 Profile Send private message  
 
 Post subject: Re: o5e firmware
PostPosted: Fri Jun 12, 2020 7:20 pm 
Offline

Joined: Thu Jan 01, 2015 6:47 pm
Posts: 3607
also are you in run or test mode?


Top
 Profile Send private message  
 
 Post subject: Re: o5e firmware
PostPosted: Sat Jun 13, 2020 2:46 am 
Offline

Joined: Fri Jun 12, 2020 11:49 am
Posts: 14
Yes i can confirm that all tables are populated and it is set to run mode!
The outputs do ground, but they don't produce a square wave, they only stay low, same for the fuel pump output it stays low all the time instead of priming and then going low again when engine is runing.
I have also tried to install a pullup resistor but made no difference.
If you find any files in regards to this just send it to me.
By the way, do you know if it is possible to add more types of trigger wheel patterns/decoders on the eTPU user guides it says its possible!


Top
 Profile Send private message  
 
 Post subject: Re: o5e firmware
PostPosted: Sat Jun 13, 2020 9:01 am 
Offline

Joined: Thu Jan 01, 2015 6:47 pm
Posts: 3607
very strange then.

And spark is working?

fuel and spark are basically the same so that's what surprises me....and it shouldn't be on like that, I know there is a setting to invert the spark output and thing there is also one for fuel...I know its down in the eTPU code but don't recall is we put a switch in TS but with the fuel pump acting odd as well I'm confused a bit.

For sure you don't need a pullup...which has me questioning what I told you...."ON" could be 5V, I just don't remember.

Are the fake cam and crank signals working? We always used those for all the basic testing by jumping them to the inputs....I would try that and set TS for a 36-1. I did also do testing with a real crank wheel, also a 36-1.....what crank/cam signal are you feeding it?

the eTPU can be programmed to read any crank/cam signal...if you have an eTPU compiler which is like $5k. The free code that we used does missing tooth(s) at a single location so 36-1 or 60-2, stuff like that.....but I think there is a newer version that will do multiple missing locations but that was after we stopped so I don't know it well.


Top
 Profile Send private message  
 
 Post subject: Re: o5e firmware
PostPosted: Sat Jun 13, 2020 9:15 am 
Offline

Joined: Sun Oct 11, 2015 2:07 pm
Posts: 134
The MPC5xxx family can do push-pull or open drain on all output pads. Unless you specifically configured open drain, they should be push-pull (driven high and driven low). You would of course need to set the SIU.PCRx.OBE bit to enable the output at all.

"On" is either 5v or 3.3v depending on the voltage fed to the pad bank. The chip runs internally at 1.25v, so there are different voltage sources for the IO buffers and you can configure them. I believe the TRK-MPC5634M has all of the IO banks at 5v.

_________________
"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack

"Any sufficiently advanced technology is indistinguishable from magic" ~Arthur C. Clarke


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 52 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next

All times are UTC - 5 hours [ DST ]


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

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group