Yo!

Your chance to introduce yourself and your vehicle
Post Reply
essess
Posts: 13
Joined: Thu Aug 10, 2017 7:12 pm

Yo!

Post by essess »

Hello!

I'm a long time lurker of many diyefi forums (libre/free/o5e). I recently tried using TI's 570 to get access to the HET. I don't think it'll work and I'm frustrated. I'm going to lurk here for a bit and see how you're able to pull off all this great work with a commodity microcontroller.
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Yo!

Post by AndreyB »

essess wrote:I'm going to lurk here for a bit and see how you're able to pull off all this great work with a commodity microcontroller.
To be honest https://github.com/rusefi/rusefi is a bit slow recently because rusEfi is kind of good enough for my purposes and I am not sure what is the next must have feature. Right now I am literally in the door to go race my rusEfi car at https://24hoursoflemons.com/race/?id=191 while the yellow FO' SHOGUN Racing goes to a true 24-hours race at https://www.chumpcar.com/entrantlist.php?eventid=319 also this weekend. So first time a rusEfi cars racing without me around and first time 24 hours endurance race for rusEfi.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Yo!

Post by kb1gtt »

Hey, essess, long time no speak. How's it going.

I understand the TI chips have lots of interlocks, which are a real pain to get operating. I seem to recall it runs 2 processors with one that is something like one cycle behind the other, and it's constantly checking that the outputs from the first processors matches the outputs from the second processor, and all sorts of crazy stuff like that which is intended to make sure the processor is running 100% accurate. If these interlocks and security features aren't 100% perfect, then no worky. I suspect your fighting with these interlocks, more than fighting with hardware.

Do you have a particular project your working on? If so is it something you can share or talk about? What drove you to look at the TI chip?
Welcome to the friendlier side of internet crazy :)
essess
Posts: 13
Joined: Thu Aug 10, 2017 7:12 pm

Re: Yo!

Post by essess »

No project. Just a platform 're-eval' of o5e. ARM is the future. I was interested in doing decode/fuel&spark scheduling with the HET since the assembler is free. The 570 is lockstep (we use it at work for an automotive controller prototype) -- but my problem was simply not enough HET horsepower to accomplish the precision I was shooting for. I'll probably go back to playing with the 56xx.

Even without all these fancy peripherals like tpu's or het's, rusefi seems to get the job done. I admire that and thought now might be a good time to understand it a little better.

I have a few f4 disco boards and some of the 12$ cheapo f4 boards from china to experiment with. Next week I should have some freetime to get something setup and see how you guys do things around here. Maybe it gives me a big enough 'mental shift' to figure out an alternative solution to my 570 shortcomings. Maybe it's just a port to see what happens !? Maybe it's the final nail in the coffin for my 570 dreams...
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Yo!

Post by kb1gtt »

While we are using generic STM chips, our most likely path to an automotive qualified chip is the 56xx. However making the jump would require that we overcome some software obstacle's. I understand we almost got a TPU compiler which would work with ChibiOS, but we are still faced with problems. Once we get ChibiOS operating with a compiler environment, then we are still faced getting drivers for ChibiOS such that it can interface with the hardware. See some comments in this thread.
http://rusefi.com/forum/viewtopic.php?f=4&t=973&start=50

We have also been considering the TI chips, but again lots of obstacle's to overcome. There is a thread in here some where about the TI chip(s), but we haven't made much progress. I seem to recall we compiled a hello world application, and our big issues were the ChibiOS drivers.

@ has been more of a results before pretty approach. Basically make it go, then if you see performance problems optimize. There are certainly areas which could be more elegant, but they haven't been creating performance issues, so they don't get prioritized. Right now as @ has noted, what he has works well for the engines that he's can see first hand. Other features can be added, but it's difficult for him as he doesn't have hardware to work with.

Keep us posted if you put in some efforts in porting to a TI chip or a 56XX chip. We'd be interested in learning what happens.
Welcome to the friendlier side of internet crazy :)
essess
Posts: 13
Joined: Thu Aug 10, 2017 7:12 pm

Re: Yo!

Post by essess »

eTPU is obsolete and everyone seems to be moving to GTM (Bosch IP). If the eTPU compiler was free (or there was a free assembler like the previous TPU generation), I wouldn't mind investing the time to become proficient. I'd really like to adapt to the 570 instead of the 56xx. My ultimate preference is commodity ARM+FPGA.

I'll just hangout, readup and browse some code and come back with my questions. Congrats russian, on building/maintaining a diyefi community -- that's not an easy thing to do!
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Yo!

Post by kb1gtt »

It's kind of hard to find FPGA developers. I've wanted to try the papilio and even bought the below board. It can flash the entire FPGA in about 0.25 seconds. AKA boot up your soft processor, then capture that memory into RAM. Then every time you boot, after 0.25 seconds from when you boot your ready to rock and roll. Not to mention the entire 5ns-ish signal delays, oh-la-la.
http://papilio.cc/index.php?n=Papilio.PapilioPro

While the Papilio is making great strides in making FPGA's much easier to work with similar to how Arduino's made it easier for embedded projects, it's still a huge undertaking to port to such a project to an FPGA based system.

Any how, enjoy the lurking, and feel free to ask questions or provide feedback. Any feedback is much appreciated.
Welcome to the friendlier side of internet crazy :)
Post Reply