Firmware developent status

It's all about the code!
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: Firmware developent status

Post by AndreyB »

Good VVT progress today :)
Attachments
screenshot.png
screenshot.png (132.61 KiB) Viewed 18118 times
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
stefanst
contributor
contributor
Posts: 703
Joined: Wed Feb 17, 2016 12:24 am
Location: USA 08530

Re: Firmware developent status

Post by stefanst »

Ooooooh. VVT. Anxiously awaiting reports....
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: Firmware developent status

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
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: Firmware developent status

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
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: Firmware developent status

Post by AndreyB »

one of the current issues is caused by a combination of injection phase of 180 degrees and injection duty cycle transition from below 25% to above 25% and back - this case the injection sequence for engine cycle changes from 1-2-1-2 to 2-1-2-1
Attachments
low_duty_1_2_1_2.png
low_duty_1_2_1_2.png (2.82 KiB) Viewed 18056 times
high_duty_2_1_2_1.png
high_duty_2_1_2_1.png (4 KiB) Viewed 18056 times
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
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Firmware developent status

Post by AndreyB »

I think I've just made the fix at least for the first use-case of fuel miss due to duty cycle crossing the 50% threshold. Need to run more tests on a bench, but the unit test is showing what I want to see.

The whole issue probably has a much nicer solution and what I've implemented is quite a hack I do not like, but whatever. Let's see if that would make a noticeable different.

Still probably have an issue while duty cycle crosses 50% in the opposite direction so could be that only half of the fuel misses are cured. And still no idea about spark misses.
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
puff
contributor
contributor
Posts: 2961
Joined: Mon Nov 11, 2013 11:28 am
Location: Moskau

Re: Firmware developent status

Post by puff »

Is there a way to check if new project file is required to be created in tuner studio (all that compatibility mess)
still have the same problem with dev console. is there a special way of launching it? (right now I am launching it by /Library/Internet Plug-Ins/JavaAppletPlugin/blablabla/java -jar rusefi_console.jar /dev/tty.usbmodem261
or should I somehow point it to the rusefi.ini file? a
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: Firmware developent status

Post by AndreyB »

puff wrote:Is there a way to check if new project file is required to be created in tuner studio (all that compatibility mess)
Ins/JavaAppletPlugin/blablabla/java -jar rusefi_console.jar
tuner studio and rusefi_console.jar are not really related, I do not understand how you have both in the same question.

tuner studio rusefi.ini has 'firmware_version' variable in it, firmware has simular version in the source code - if project file and firmware do not match there will the a red indicator in the bottom indicator panel.

just created https://sourceforge.net/p/rusefi/tickets/309/ to have something similar for console.
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
puff
contributor
contributor
Posts: 2961
Joined: Mon Nov 11, 2013 11:28 am
Location: Moskau

Re: Firmware developent status

Post by puff »

actually those were two different questions.
same=old. I mean serial disconnects with some unexpected chunks of data, strange stuff. even more strange as tuner studio seems to work well (using the same java framework, as far as I understand)
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: Firmware developent status

Post by AndreyB »

puff wrote:actually those were two different questions.
http://rusefi.com/wiki/index.php?title=40

Exact steps to reproduce and maybe a video would help with the console issue.
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
puff
contributor
contributor
Posts: 2961
Joined: Mon Nov 11, 2013 11:28 am
Location: Moskau

Re: Firmware developent status

Post by puff »

will make a video soon. meanwhile... earlier I launched VM from another location (/Internet Plugins/blabla). this time I did which java, and launched it from usr/bin/java without pointing the port. the popup window showed suggesting the port. I agreed, and then I got the following error:


java.lang.IllegalStateException: java.lang.ArrayIndexOutOfBoundsException
at com.rusefi.TableEditorPane.showContent(TableEditorPane.java:39)
at com.rusefi.Launcher$5.onConnectionEstablished(Launcher.java:212)
at com.rusefi.io.serial.PortHolder.openPort(PortHolder.java:40)
at com.rusefi.io.serial.SerialConnector$1.run(SerialConnector.java:27)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ArrayIndexOutOfBoundsException
at com.romraider.maps.Table2D.populateTable(Table2D.java:122)
at com.romraider.maps.Rom.populateTables(Rom.java:159)
at com.romraider.editor.ecu.ECUEditor.openImage(ECUEditor.java:189)
at com.romraider.editor.ecu.ECUEditor.openImage(ECUEditor.java:174)
at com.rusefi.TableEditorPane.showContent(TableEditorPane.java:37)
... 6 more
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: Firmware developent status

Post by AndreyB »

puff wrote: Caused by: java.lang.ArrayIndexOutOfBoundsException
at com.romraider.maps.Table2D.populateTable(Table2D.java:122)
at com.romraider.maps.Rom.populateTables(Rom.java:159)
at com.romraider.editor.ecu.ECUEditor.openImage(ECUEditor.java:189)
at com.romraider.editor.ecu.ECUEditor.openImage(ECUEditor.java:174)
at com.rusefi.TableEditorPane.showContent(TableEditorPane.java:37)
... 6 more
Thank you for the error report, https://sourceforge.net/p/rusefi/tickets/310/
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
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Firmware developent status

Post by AndreyB »

A Good Samaritan from the opposite side of the globe has kindly reminded me about fixing defects, so https://sourceforge.net/p/rusefi/tickets/293/ and https://sourceforge.net/p/rusefi/tickets/311/ fixed.
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
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Firmware developent status

Post by AndreyB »

https://sourceforge.net/p/rusefi/tickets/229/ is a scary bug report from 9 months ago. Problem is I cannot reproduce this issue now :( See recordings with excel analyisys - https://svn.code.sf.net/p/rusefi/code/misc/logs/20160916_issue_229.7z

Closing issue for now, not the best way to close it but what else?
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
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Firmware developent status

Post by AndreyB »

@ has reported a scary bug: https://sourceforge.net/p/rusefi/tickets/319/

even if this is about the stimulation signal not matching the expectation a safer way of handling that would be needed.
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
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Firmware developent status

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
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: Firmware developent status

Post by AndreyB »

Tiny console usability improvements - image file names now contain seconds, "clear" buttons now automatically resume inputs.
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
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Firmware developent status

Post by AndreyB »

major improvement - https://sourceforge.net/p/rusefi/tickets/299/ seems to be finally fixed
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
stefanst
contributor
contributor
Posts: 703
Joined: Wed Feb 17, 2016 12:24 am
Location: USA 08530

Re: Firmware developent status

Post by stefanst »

That's awesome news! This seems to have been one of the major impediments to more widespread use as a daily driver ECU.
With promising preliminary results on the NB Miata alternator control, once we get the VVT sorted, I don't see any reason why rusefi couldn't be used to daily drive all generations of Miata from 1990 - 2005!

Not to mention all the other vehicles out there already using rusefi successfully.
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: Firmware developent status

Post by AndreyB »

little but annoying "trigger not happy" on startup bug fixed - https://sourceforge.net/p/rusefi/tickets/325/
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
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Firmware developent status

Post by AndreyB »

Usability improvement: it is now possible to disable new version reminder.
Attachments
screenshot.png
screenshot.png (57.51 KiB) Viewed 17565 times
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
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Firmware developent status

Post by AndreyB »

All three ways of producing a log file now include firmware build date - https://sourceforge.net/p/rusefi/tickets/318/

output channels data structure size increased - current firmware is not compatible with older TS project or rusEfi console, all three would need to be updated together.
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
puff
contributor
contributor
Posts: 2961
Joined: Mon Nov 11, 2013 11:28 am
Location: Moskau

Re: Firmware developent status

Post by puff »

are there changes in engine config files as well?
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: Firmware developent status

Post by AndreyB »

puff wrote:are there changes in engine config files as well?
nope, not related
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
RustyGargoyle
contributor
contributor
Posts: 55
Joined: Sat Dec 03, 2016 2:57 am

Re: Firmware developent status

Post by RustyGargoyle »

Is there a way to disable or pause the logging function. I was looking around and saw in the output folder a few logs taking up GIGS!.

Maybe they can be optimized?(compressed)

Also I like the console. But, it needs a serious diet. soo many gauges and images that do not square up when the window is resized. The gauges are useful but not when there are 25 all crammed together.
Or am I missing something?

Am not asking you to remove an features or add anything. Just remapping of the gui when you get teh chance.

https://imgur.com/a/vtOH4

The whole bench test tab can be made into a small menu item. IMO
just my two cents.
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: Firmware developent status

Post by AndreyB »

RustyGargoyle wrote:just my two cents.
Great comments, thank you!

As long as 99% of firmware development is just me there is no chance rusEfi console would be really nice, so for now TunerStudio is the official "nice" tuning too.

Maybe http://rusefi.com/forum/viewtopic.php?f=5&t=1139 would be the tool to use one day.

Still little improvements I can make :) Just added option to disable detailed logging - see https://sourceforge.net/p/rusefi/tickets/327/ - you know about the "#" button in the top-right corner of the gauges tab do you? The other control there allows to reduce the number of gauges displayed which could help with small screen.

Bench test layout just improved a little bit under https://sourceforge.net/p/rusefi/tickets/328/ but I've failed to make icons auto-scale within a reasonable effort, would probably not waste more time on it sorry. TS kind of supports IO testing as well. Hopefully one day somebody would make it better :)
Attachments
screenshot.png
screenshot.png (134.42 KiB) Viewed 17482 times
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: Firmware developent status

Post by kb1gtt »

The console is currently for development purposes, tuning should be done with TS.
Welcome to the friendlier side of internet crazy :)
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: Firmware developent status

Post by AndreyB »

if you get FATAL error: PB6 req by GPS tx used by CAN TX with latest firmware version please open TS Board->Connection dialog and set GPS pins to NONE
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
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Firmware developent status

Post by AndreyB »

russian wrote:output channels data structure size increased - current firmware is not compatible with older TS project or rusEfi console, all three would need to be updated together.
This was rolled back - something went wrong. TS integration got broken - all writes were failing.

Actually I've started diggin and even with the change rolled back I am seeing issues. I believe TS beta 3.0.6 was ok for us while TS beta 3.0.7 and everything later (including current 3.0.16) integration is broken :(

Just emailed EFI Analytics but the problem is probably not so clear probably somewhere between rusEfi, the ST VCP driver and TS serial driver so could be trickly. In my case this was on Windows. See also https://sourceforge.net/p/rusefi/tickets/330/
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
RustyGargoyle
contributor
contributor
Posts: 55
Joined: Sat Dec 03, 2016 2:57 am

Re: Firmware developent status

Post by RustyGargoyle »

Could it be beneficial to just connect threw an FTDI or similar interface chip?
The PL chinesium brand can be had for pennies and it is a solid serial to usb adapter/chip.
Post Reply