Firmware developent status
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Firmware developent status
Open tickets are always waiting for volunteers.
In the meantime, I have made some progress towards MAP averaging within a specific angle window - hopefully this value would be much better than just a single MAP reading at a random point of time.
I have implemented tiny oscilloscope feature for the dev console, here are the first screen shots - these pictures show a full camshaft revolution worth of MAP data on idle. Even with noise you can see four spikes for four intake phases:
In the meantime, I have made some progress towards MAP averaging within a specific angle window - hopefully this value would be much better than just a single MAP reading at a random point of time.
I have implemented tiny oscilloscope feature for the dev console, here are the first screen shots - these pictures show a full camshaft revolution worth of MAP data on idle. Even with noise you can see four spikes for four intake phases:
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Firmware developent status
Perhaps worth mention, this is an opensource mixed scope software. http://dangerousprototypes.com/2011/07/10/sump-logic-analyzer-with-2-scope-channels/ it's handy as it also can decode SPI streams and such in side by side with the analog signals. Perhaps you can make your serial stream match the SUMP data packets such the decoding features of SUMP can be used.
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Good idea, I will see if that could be done easily
In the meantime, I have written the first meaningful paragraph of the architecture description.
In the meantime, I have written the first meaningful paragraph of the architecture description.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
@ has implemented some code to blink out OBD-II codes with the MIL light
Over the weekend I have made some progress on getting the main trigger/fuel/spark logic closer to 'how it should be' then to 'it's one huge hack but it works'
Also some improvements to the dev console - it now shows the time & relative angle at the mouse cursor position, it's now much easier to see what's going on and when is stuff happening.
Over the weekend I have made some progress on getting the main trigger/fuel/spark logic closer to 'how it should be' then to 'it's one huge hack but it works'
Also some improvements to the dev console - it now shows the time & relative angle at the mouse cursor position, it's now much easier to see what's going on and when is stuff happening.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
@ and I have made some progress on SD logging - now I just need to get back home & test it.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
I've added a new command for fuel testing on a bench - I am not totally happy with the timing precision of the current implementation, but this is a good enough first version.
Need help with development - the number of open tickets is constantly growing, and some of them are totally worth implementing.
Need help with development - the number of open tickets is constantly growing, and some of them are totally worth implementing.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
r1017 - totally innocent change if you ask me - has broken Makefile compilation - everything does compile but the firmware just would not run.
Lovely. Upgrading to the current gcc version 4.8.1 (Sourcery CodeBench Lite 2013.11-24) did not help. Changing -O2 to -O1 did help... You cannot trust anyone.
Lovely. Upgrading to the current gcc version 4.8.1 (Sourcery CodeBench Lite 2013.11-24) did not help. Changing -O2 to -O1 did help... You cannot trust anyone.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
#11 is closed - we have logs on SD card
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
It's a long shot - but we now have integration with simple UART GPS modules. Thank you @!
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Firmware developent status
could you explain what it is and how to use it?
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Not much - we can read data from Neo-6M GPS modules, but we have not yet implemented any features which would use this data. It's an open question how exactly we would use it, I just think that it's cool to have it and it could be useful. First feature will be logging GPS speed together with all the information we are currently logging.puff wrote:could you explain what it is and how to use it?
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Firmware developent status
like tracking speed dynamics vs throttle position/engine load? if it suports nmea, i have a module to use.
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Usability improvement: java console now shows it's own build date and firmware build date in the window title
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
As it usually happens I was planing to get this done in 2 hours and I have spend 12 hours and I am not totally finished, but...
We now have rusefi_simulator.exe
It does not do much yet, but tomorrow you would be able to at least connect to it with the devcon.
See also have http://rusefi.com/wiki/index.php?title=Manual:Software:quality_assurance
We now have rusefi_simulator.exe
It does not do much yet, but tomorrow you would be able to at least connect to it with the devcon.
See also have http://rusefi.com/wiki/index.php?title=Manual:Software:quality_assurance
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
http://rusefi.com/wiki/index.php?title=Manual:Software:firmware_simulator
Needless to say this would require a fresh version of the devconsole.
Unfortunately this does not go smooth - sending command to the simulator is unstable, I have reported an issue to ChibiOS. I suspect something is wrong with their win32 port
Needless to say this would require a fresh version of the devconsole.
Unfortunately this does not go smooth - sending command to the simulator is unstable, I have reported an issue to ChibiOS. I suspect something is wrong with their win32 port
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Things are looking up for the simulator - Chibi has found the issue https://sourceforge.net/p/chibios/bugs/468/ - we will have reliable communication with windows version of the firmware. Also I have learned that linux version of the simulator would be also possible
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
C++ is real now - I've just got some C++ code mixed into our C code, and it works! I am not planning to do anything crazy, just want objects instead of structures and methods to make the code more readable.
Still need to merge this prototype into the primary development branch, that's probably tomorrow.
Still need to merge this prototype into the primary development branch, that's probably tomorrow.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Firmware developent status
I understand that those that make it to C# / mono often like C# /mono for a variety of reasons, mostly it takes care of lots of work the developer typically needs to keep track of. Is C# /mono physically an option for this project? If so would it be worth while to consider for this project?
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
No, at this point C# and Java are out of the question - both these languages have the concept of dynamic memory allocation and Garbage_collection and this would kill precise timingkb1gtt wrote:Is C# /mono physically an option for this project?
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Made some good progress on http://rusefi.com/wiki/index.php?title=Development:Software:firmware_simulator
I know this might looks weird - why the heck would I need a simulator? That's for my piece of mind: a piece of special software is firing this simulator every time I commit code into SVN, and if simulator reactions have changed unexpectedly I am getting an email alert. This way I can fix bugs right when they appear and not three weeks later.
I know this might looks weird - why the heck would I need a simulator? That's for my piece of mind: a piece of special software is firing this simulator every time I commit code into SVN, and if simulator reactions have changed unexpectedly I am getting an email alert. This way I can fix bugs right when they appear and not three weeks later.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
The simulator proves to be really useful - made some good progress with the firmware today, using simulator as a quick way to test the changes without the hassle of flashing/connecting the real controller.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Firmware developent status
Another cool feature of the soft simulator is that a developer doesn't need anything more than a PC to developer the firmware. It's a very cool option.
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Fixed two ignition bugs in the last 24 hours - one while playing with the real car, another while playing with the simulator.
Making progress on output events scheduling - getting closer to eliminating manual injection/ignition configuration coding.
Making progress on output events scheduling - getting closer to eliminating manual injection/ignition configuration coding.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Finally made scheduling code universal - events are now scheduled based on firing order and fuel injection strategy. Now it's time to document it
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Someone better start reading code rev. 2546void prepareTimingMap(void) {
for (int k = 0; k < FUEL_LOAD_COUNT; k++)
timing_ptrs[k] = engineConfiguration->fuelTable[k];
initialized = TRUE;
}
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Now with some engines running we know rusEfi is kind of functional. Now I want to focus on improving output scheduling precision and performance, so that we can actually rev these engines safely.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
@ has fixed the LED character screen driver, no more random symbols! rev. 2745
I am working on a better event scheduler.
I am working on a better event scheduler.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Getting closer...russian wrote:I am working on a better event scheduler.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
The hard part is ready - events are now scheduled by SingleTimerExecutor.cpp, it's a 32bit 1MHz timer - so, microsecond scheduling.
Now need to migrate to microsecond time measurements, that's relatively easy.
Now need to migrate to microsecond time measurements, that's relatively easy.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute