[info] Hello from South West England

Your chance to introduce yourself and your vehicle
Post Reply
mazdee
Posts: 22
Joined: Tue Jan 23, 2018 7:50 am

Hello from South West England

Post by mazdee »

Hi there.

I currently run an MX5 Turbo on Speeduino .

I found rusefi and I was curious if I can initially use it as a Standalone closed loop VVT / VICS controller / gpio. the vvt demo video looks good!

My question is, are we locked to and stm32407 or can other variants be used (relatively simply) by adding a board in the FW. I have tried an stm32446 nuclei and an stm32429i (with screen) both take the firmware ok but I cannot connect on serial to console and I suspect there is a FW fatal error.

I am very new to c++ and pretty green on arduino! however I have loaded the project into chibistudio and it seems to compile ok. that's where I'm at. if I could get the discovery with on-board tft to work that would be awesome! (could add some functionality there and maybe grab some values from speedy over serial) I have bits lying around to make input/ output circuits so I wouldn't need an official board yet...

cheers!
User avatar
AndreyB
Site Admin
Posts: 14328
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Hello from South West England

Post by AndreyB »

Hey there!

On the one hand we have two cars running STM32F469 chip on the alternative https://rusefi.com/forum/viewtopic.php?t=1215 board. On the other hand rusEfi uses 2016 version of ChibiOS as of Jan 2018 and latest chips could be not totally happy there - not sure if your chip would be affected by that or not. There are tickets for ChibiOS 2017 migration but that's not the highest priority. Is there a way to start with 407 to keep things easier?

FW fatal error you can research with an LED on the fatal and blinking pins? Do you have any way to debug to get the exact fatal error - chibistudio should give you debugging I believe?
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
mazdee
Posts: 22
Joined: Tue Jan 23, 2018 7:50 am

Re: Hello from South West England

Post by mazdee »

Hi thanks for your reply. I will probably get hold of a 407 then (China clone ok?)

. just wanted to check viability as I have the 2 boards mentioned to hand and would love to use the touchscreen *(might need a few years of training first :) )

regarding watchdogs, I get to red leds by the USB st-link port and nothing else. Windows does not recognise usb-user. the FW verifies ok. will figure out debugging and see what comes of it. !
User avatar
AndreyB
Site Admin
Posts: 14328
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Hello from South West England

Post by AndreyB »

90% that your boards should work as is. But the evil is in the details of correct configs and makefiles which could get tricky :)
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: Hello from South West England

Post by kb1gtt »

I have a project that displays some stuff on the STM32F429I-DISC1. I have a long lost and forgotten dream posted here. https://rusefi.com/forum/viewtopic.php?f=4&t=775&p=13394&hilit=coco+display#p13394

I have not posted the STM32F429I-DISC1 as it was part of a now defunt work related project. I could post it, if I go clean out some work stuff. This work project was allowing me to touch the screen to increase and decrease pulses in a parasitical pump motor. So display things on the screen, as well as allow for touch screen interaction.
Welcome to the friendlier side of internet crazy :)
mazdee
Posts: 22
Joined: Tue Jan 23, 2018 7:50 am

Re: Hello from South West England

Post by mazdee »

Thanks for your reply :D

I became interested in rusefi as I am also toying with a mega2560 gpio unit (with multiiple screen support)
written by the excellent Dazq from the speeduino world
https://github.com/Autohome2 which works on canbu s with TS integration.

I was going to try and write a closed loop VVT routine (and boost with switched settings) for gpio when I found rusefi which has CL VVT and tables for other stuff I want all ready to go.

If I can get it working , it could also grab values from my ecm over Serial (send an 'A' and build an array of values with what you get back is the simplest way)

currently building a rusefi firmware and got to the point it starts a debug session .
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Hello from South West England

Post by kb1gtt »

Did you happen to notice the Frankenso has a CAN interface? Would that be of help with your efforts? There could be something to be said about getting an already assembled board, and you just have to write some software for it, or finish writing software for it. I recall CAN has worked, but was for specific protocols or something like that. I recall the CAN code was used to communicate with a dash from some car. AKA nice tach, speed, etc gauges.
https://rusefi.com/wiki/index.php?title=Manual:Hardware_Frankenso_board
Welcome to the friendlier side of internet crazy :)
User avatar
AndreyB
Site Admin
Posts: 14328
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Hello from South West England

Post by AndreyB »

mazdee wrote:
Wed Jan 24, 2018 3:54 pm
I am also toying with a mega2560 gpio unit (with multiiple screen support)
written by the excellent Dazq from the speeduino world
https://github.com/Autohome2 which works on canbu s with TS integration.
What does this thing do exactly? Are there any demos?

mixing two open sources ECUs would be crazy :)
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
mazdee
Posts: 22
Joined: Tue Jan 23, 2018 7:50 am

Re: Hello from South West England

Post by mazdee »

Dazq's GPIO is for interfacing with Speeduino ecu.

it can transmit extra inputs like vss, oil temp etc to speeduino and receive info back to put on a display or use for other purposes. There will be some hardware boards coming soon to do signal processing and stuff.

it will work well.

regarding Rusefi

My setup is Speedy Ecu on a Turbo MX5

I use a cas from a mk1 for triggers (with a 24.1 T cas disc) meaning my own mk2.5 VVT triggers are begging to be used for VVT. as speedy only has open loop control, i can use rusEFI to process my crank/ cam signals to drive the VVT. if values can come over Serial from Speeduino, I could display those too. (could grab MAP values for boost control but sample time might be up near 200ms)

for now though....lots of googling. don't know what I am doing yet :D
Last edited by mazdee on Thu Jan 25, 2018 12:47 am, edited 1 time in total.
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Hello from South West England

Post by kb1gtt »

mazdee wrote:
Thu Jan 25, 2018 12:33 am
it can transmit extra inputs like vss, oil temp etc to speeduino and receive info back to put on a display or use for other purposes.
I understand the remote connection for a display. Does this board include a display? It sounds like the remote stuff could also be expansion which might not happen with the existing IO. So far rusEFI hasn't run out of IO, but I'm sure that could happen some day. I dream of doing a fiber optic back hall, such that you can pick and choose modules, and connect them to an optical bus. Put your injector drivers near the injectors, ignition near the ignition, etc. Then run the fiber everywhere. No crimp tools, no special tools, just a utility knife, and almost not EMI issues. It would be cool. Any how, back to what is available today....

If you are concerned with a dash, you might be able to do this. See about 30 seconds into this video. That's an OEM CAN dash, controlled via rusEFI.


Either that, or if you poke me, I could get around to doing the display thing that I linked a couple posts back.
Welcome to the friendlier side of internet crazy :)
mazdee
Posts: 22
Joined: Tue Jan 23, 2018 7:50 am

Re: Hello from South West England

Post by mazdee »

i just spilt 1/2 can of Stella over my f429i ........

oopsie
Post Reply