Hello from Poland

Your chance to introduce yourself and your vehicle
Post Reply
Vexatus
Posts: 3
Joined: Fri Aug 23, 2019 6:57 am

Hello from Poland

Post by Vexatus »

Greetings All,

Greg here, living in beautiful Polish mountains. Computer sience engineer, tinkerer, did some electronics and software developement in my life :)
Planning to build a turbo M50B30 car, so I've found RusEFI and Speeduino projects very interesting while searching for an alternative SA solution.

After I met Kris ans his SCG-ECU and his idea to use STM32F407VE board as a core for Speeduino I had eve more crazy idea: Create one board compatible with both softwares, so I plan to use STM32F407VG (1MB of flash). The plan is to make a hybrid of Frankenso and SCG-ECU 1.0, add some EEPROM, build a reasonable hardware arround it, try to put that into one of the AliExpress ECU enclosures, add Ion Sensing knock detection (3 channels for up to 12 cylinders). There are already 12 high current channels on both boards, so with batch igniotion there's a chance to aim at V12 engines I believe.

The idea brings my first quesion here:
Where does RusEFi store all the maps? There's no EEPROM on the board. So? Battery backed-up SRAM? And if bat dies, then loading maps fro mthe scratch? Why not store that in an SPI EEPROM and load on boot to the SRAM?

Looking forward
Greg
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: Hello from Poland

Post by AndreyB »

Vexatus wrote:
Fri Aug 23, 2019 7:11 am
Where does RusEFi store all the maps?
rusEfi stores all maps in stm32f* own flash

microRusEfi board has an additional external memory chip which we have not started to use yet.
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
Vexatus
Posts: 3
Joined: Fri Aug 23, 2019 6:57 am

Re: Hello from Poland

Post by Vexatus »

In Flash? Ok, have you seen the STM32F407ZG board? You have an EEPROM on it an you can solder in an extra 1MB SRAM chip. Which gives you 5x more RAM and saves some extra space in the FLASH when maps are removed from it.
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: Hello from Poland

Post by AndreyB »

Vexatus wrote:
Fri Aug 23, 2019 1:21 pm
have you seen the STM32F407ZG board?
I do not understand. STM32F407ZG is a chip, not a board.

rusEfi is not a highly loaded webserver, we do not benefit from additional RAM allocated on demand :) At the moment we do not have the code to use extra RAM - we need more software developers to implement more features :)
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
Vexatus
Posts: 3
Joined: Fri Aug 23, 2019 6:57 am

Re: Hello from Poland

Post by Vexatus »

Sorry for doing it in the short way :) I meant a board with STM32F407ZG, here's an example:
https://www.aliexpress.com/item/32827402179.html
The "ZG" has a bit more pins (144 instaead of 100 in "VG") therefore it can support some more stuff. Plus the board has a space for the extra SRAM and a FLASH memory on board so no need to use space in the internal flash. That gives you space for the extra code.
I'm looking into the hardware at the moment, but wil ltry to dig into the code too. I've never been coding for these chips before, but that's just another language, right :) Need to get familiat with the program structure. Is there any documentation on what to find where?
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: Hello from Poland

Post by AndreyB »

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
Post Reply