Hello
-
- contributor
- Posts: 236
- Joined: Sat Aug 02, 2014 2:30 am
- Location: Texas
Hello
New guy here, just kicking the tires for now, but I've been reading a lot on the forums here. My background is embedded software, unix/linux, C development, some experience with micro-controllers, and interest in Miata's. I have two, a 1990 daily driver and a 1996 for a spare. I'm still debating on what to do with the '96 which was beat up in a hail storm. I'm interested in learning more about tuning optimizations for gas mileage and a switchable mode for performance.
I don't have a lot of time to put into this right now, but I've been tinkering some trying the simulator on Ubuntu. I have it started up under wine and can connect TunerStudio to it. I get a java error trying to start the rusefi_console. And I get the same error running under Windows7.
Any ideas on that?
I don't have a lot of time to put into this right now, but I've been tinkering some trying the simulator on Ubuntu. I have it started up under wine and can connect TunerStudio to it. I get a java error trying to start the rusefi_console. And I get the same error running under Windows7.
Any ideas on that?
You do not have the required permissions to view the files attached to this post.
- AndreyB
- Site Admin
- Posts: 14727
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Hello
Welcome to the forum! We can definitely use some help with software development, embedded/C should fit the bill perfectly
Have you seen http://rusefi.com/wiki/index.php?title=Development:Source_code_intro?
As for your exception, interesting - I have not see this before.
What does your java -version report under unix and Win7?
It also prints the exception stacktrace into console - can you paste it here? And I've just updated the console so that it would write the stack trace to the log file in the out/ directory if it does not show up in the console.
Where did you have the console .jar?

As for your exception, interesting - I have not see this before.
What does your java -version report under unix and Win7?
It also prints the exception stacktrace into console - can you paste it here? And I've just updated the console so that it would write the stack trace to the log file in the out/ directory if it does not show up in the console.
Where did you have the console .jar?
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
-
- contributor
- Posts: 236
- Joined: Sat Aug 02, 2014 2:30 am
- Location: Texas
Re: Hello
Here is debug data from linux, I'll have to reboot or grab my other laptop to get the output from Windows. I prefer to do development in linux, and I'm working on getting a build going in Ubuntu 12.04.
Code: Select all
java -version
java version "1.7.0_55"
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1~0.12.04.2)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
Code: Select all
java -jar rusefi_console.jar
r Writing to out/MAIN_rfi_report_2014-08-02 21_38.csv
Console 20140730
java.lang.NoSuchMethodError: com.rusefi.ui.widgets.UpDownImage.trueRepaint(Ljavax/swing/JComponent;)V
at com.irnems.LogViewer.refreshCountPanel(Unknown Source)
at com.irnems.LogViewer.<init>(Unknown Source)
at com.irnems.Launcher.<init>(Unknown Source)
at com.rusefi.PortLookupFrame$2.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3311)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
- AndreyB
- Site Admin
- Posts: 14727
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Hello
That's weird, I cannot explain it 
I've just changed the build parameters so should be no more "Unknown Source" in the stacktrace if you take a fresh build from http://rusefi.com/build_server/
i guess the biggest concern I can make up would be OpenJDK but this just makes no sense. Please try current version on Windows?

I've just changed the build parameters so should be no more "Unknown Source" in the stacktrace if you take a fresh build from http://rusefi.com/build_server/
i guess the biggest concern I can make up would be OpenJDK but this just makes no sense. Please try current version on Windows?
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
-
- contributor
- Posts: 236
- Joined: Sat Aug 02, 2014 2:30 am
- Location: Texas
Re: Hello
Sorry I don't "do" java, but I want to learn. Here is output from win7.
Code: Select all
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)
C:\Users\Tom\Downloads\rusefi_simulator>java -jar rusefi_console.jar
r Writing to out/MAIN_rfi_report_2014-08-02 22_05.csv
Console 20140802
java.lang.NoSuchMethodError: com.rusefi.ui.widgets.UpDownImage.trueRepaint(Ljava
x/swing/JComponent;)V
at com.irnems.LogViewer.refreshCountPanel(Unknown Source)
at com.irnems.LogViewer.<init>(Unknown Source)
at com.irnems.Launcher.<init>(Unknown Source)
at com.rusefi.PortLookupFrame$2.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
handleException: java.io.PrintStream@1624a1c
- AndreyB
- Site Admin
- Posts: 14727
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Hello
Please try current version - looks like I've hacked away from this bug. Still, does not make any sense to me and I do java for living.
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
-
- contributor
- Posts: 236
- Joined: Sat Aug 02, 2014 2:30 am
- Location: Texas
Re: Hello
I've looked through the code base a little, nice work there. I have a build working on Linux, and I ordered an stm discovery board to play.
Is anyone else interested in Linux based development?
Let me see if I understand the hardware requirements. I need a discovery board, a Frankenstein board, power supply and an ecu connector to test in a Miata NA. Any other connections or sensors needed? I don't have any experience with ECU's.
Is anyone else interested in Linux based development?
Let me see if I understand the hardware requirements. I need a discovery board, a Frankenstein board, power supply and an ecu connector to test in a Miata NA. Any other connections or sensors needed? I don't have any experience with ECU's.
- AndreyB
- Site Admin
- Posts: 14727
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Hello
That would be one of the options. No extra sensors needed. A board to host the connector is optionable - http://rusefi.com/forum/viewtopic.php?f=4&t=507 - it's a question of comfort.tomiata wrote:Let me see if I understand the hardware requirements. I need a discovery board, a Frankenstein board, power supply and an ecu connector to test in a Miata NA. Any other connections or sensors needed? I don't have any experience with ECU's.
Theoretically there is also http://rusefi.com/forum/viewtopic.php?f=4&t=569 but testing is still under way. But if wait for a couple of weeks for me to make some progress with Frankenso validation it might be a better option, especially since it's designed with Miata N/A pinout in mind.
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
- kb1gtt
- contributor
- Posts: 3777
- Joined: Tue Sep 10, 2013 1:42 am
- Location: ME of USA
Re: Hello
It sounds like you would be most interested in Frankenso. For Miata, it has a section where you jumper straight through. This section for other ECU's like Honda allows for re-mapping of the harness pin out if required.
Welcome to the friendlier side of internet crazy 

- kb1gtt
- contributor
- Posts: 3777
- Joined: Tue Sep 10, 2013 1:42 am
- Location: ME of USA
Re: Hello
See PLX gauges, those can be done via 232 stream. I'd bet we can use some of those unused pins to get a serial stream to a PLX gauge.
We decided to draw a line in the sand for the sake of getting something done. That was one option that didn't make make the cut for this spin. However we did try to leave it open for future expansion.
You could use unused outputs for things like PWM gauges or tach signals.
We decided to draw a line in the sand for the sake of getting something done. That was one option that didn't make make the cut for this spin. However we did try to leave it open for future expansion.
You could use unused outputs for things like PWM gauges or tach signals.
Welcome to the friendlier side of internet crazy 

- AndreyB
- Site Admin
- Posts: 14727
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Hello
Can you please elaborate on this? Are these both 1.6? Are these both manual? Do they both start?tomiata wrote:I have two, a 1990 daily driver and a 1996 for a spare
There is some interest from the UK Miata crowd in a PnP solution, can I mail you some hardware to make some tests?

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: 14727
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Hello
http://rusefi.com/wiki/index.php?title=Vehicle:Mazda_Miata_1990 and http://rusefi.com/wiki/index.php?title=Vehicle:Mazda_Miata_1996
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