Hi from PR!

Your chance to introduce yourself and your vehicle
Post Reply
Joeldc510
Posts: 29
Joined: Mon Jan 22, 2018 4:04 am

Hi from PR!

Post by Joeldc510 »

Sup guys! New to the forum.

Looking forward to learning about RusEFI to be able to contribute!
I'm a recent grad from Electrical Engineering and I'm very interested to see what I can accomplish with RusEFI.
Can someone give me any pointers as to where I should start reading to be able to get started?
I downloaded the bundle zip file to start testing out the firmware before I start investing in the stm32f microcontroller but I'm having trouble connecting it to Tunerstudio. Any help?
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: Hi from PR!

Post by AndreyB »

Hello and welcome!

Out documentation is not best but it starts at https://rusefi.com/wiki/index.php?title=RusEfi:About and https://rusefi.com/wiki/index.php?title=Manual:Software:User/en

What seems to be the exact issue at the moment?
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: Hi from PR!

Post by kb1gtt »

Welcome along and good to hear from you.

Electrical you say. Do you happen to have much for software skills? Any interest laying out a PCB adapter board?

We don't have your eyes or ears. We can help, but we need more details about what you are doing and what is going wrong. I think you are trying to do the PC simulation found at this page https://rusefi.com/wiki/index.php?title=Manual:Software:Simulator Is that correct? What is the problem you are having? Do you get error messages, etc.
Welcome to the friendlier side of internet crazy :)
Joeldc510
Posts: 29
Joined: Mon Jan 22, 2018 4:04 am

Re: Hi from PR!

Post by Joeldc510 »

I seem to have the ini file that opens in Tunerstudio and got the console to open with the virtual com software but Tunerstudio isn't responding to the console. Let me check out those links you gave me before I keep asking questions cause I'm just starting out and obviously have much to get started.
Thanks for the quick response!
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: Hi from PR!

Post by AndreyB »

Tunerstudio not responding to rusEfi (?) console? How exactly would you like Tunerstudio to respond to rusEfi (?) console?

Maybe a sheen video? icecream screen recorder is cool.
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
Joeldc510
Posts: 29
Joined: Mon Jan 22, 2018 4:04 am

Re: Hi from PR!

Post by Joeldc510 »

kb1gtt wrote:
Sat Feb 03, 2018 2:06 am
Welcome along and good to hear from you.

Electrical you say. Do you happen to have much for software skills? Any interest laying out a PCB adapter board?

We don't have your eyes or ears. We can help, but we need more details about what you are doing and what is going wrong. I think you are trying to do the PC simulation found at this page https://rusefi.com/wiki/index.php?title=Manual:Software:Simulator Is that correct? What is the problem you are having? Do you get error messages, etc.
I've worked with Arduino's so definitely feel comfortable coding in C; I have little experience doing PCB layouts but shouldn't be too hard getting started.
Joeldc510
Posts: 29
Joined: Mon Jan 22, 2018 4:04 am

Re: Hi from PR!

Post by Joeldc510 »

russian wrote:
Sat Feb 03, 2018 2:12 am
Tunerstudio not responding to rusEfi (?) console? How exactly would you like Tunerstudio to respond to rusEfi (?) console?

Maybe a sheen video? icecream screen recorder is cool.
I see gauges in the RusEFI console but the 1200rpm displayed isn't displaying in Tunerstudio.
And I got an error message in Tunerstudio that it attempted to connect to the console unsuccessfully 3 times. It also said something about not having a tune file(msq file). Again, let me read the links you gave me and I'll ask more question when I give this more practice.
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: Hi from PR!

Post by AndreyB »

Usually we do not intend both tools to connect to the firmware/simulator simultaniously. And definitely not connected to the same TCP port simultaniously?
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
Joeldc510
Posts: 29
Joined: Mon Jan 22, 2018 4:04 am

Re: Hi from PR!

Post by Joeldc510 »

russian wrote:
Sat Feb 03, 2018 2:26 am
Usually we do not intend both tools to connect to the firmware/simulator simultaniously. And definitely not connected to the same TCP port simultaniously?
wait, I was assuming the rusefi console is to emulate the stm32f4 hardware and that connects to Tunerstudio via the virtual com port or am I way off? :lol:
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: Hi from PR!

Post by AndreyB »

You are a bit off.

rusefi-simulator.exe is the thing... simulating the hardware.

rusEfi console is our ecu-specific alternative to tunerstudio.
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
Joeldc510
Posts: 29
Joined: Mon Jan 22, 2018 4:04 am

Re: Hi from PR!

Post by Joeldc510 »

russian wrote:
Sat Feb 03, 2018 10:28 pm
You are a bit off.

rusefi-simulator.exe is the thing... simulating the hardware.

rusEfi console is our ecu-specific alternative to tunerstudio.
then can I get a little more guidance? right now I don't have the stm32 hardware, just my laptop.
What can I do to get started on learning about this? Do i need the hardware to even begin?
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: Hi from PR!

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
Joeldc510
Posts: 29
Joined: Mon Jan 22, 2018 4:04 am

Re: Hi from PR!

Post by Joeldc510 »

Ok, so I'm stiiill lost here. I tried figuring it out before I started asking questions but didn't get far.

So I'm following the instructions on the Simulator wiki page and so I open up the rusefi_console.jar file, connect to a serial port COM 3 which I created with HW Virtual Serial Port creator and when i open Tunerstudio I'm not presented with the usb and wireless driver? Why is that?

I don't get this option:

Image
Joeldc510
Posts: 29
Joined: Mon Jan 22, 2018 4:04 am

Re: Hi from PR!

Post by Joeldc510 »

These are the only options that come up.
Attachments
Capture.PNG
Capture.PNG (61.84 KiB) Viewed 15668 times
Joeldc510
Posts: 29
Joined: Mon Jan 22, 2018 4:04 am

Re: Hi from PR!

Post by Joeldc510 »

Oh wow nevermind. That's part of the paid version of Tunerstudio, no wonder.
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: Hi from PR!

Post by AndreyB »

If you got COM working you are good with Lite edition

Wifi way is easier but requires commercial TS
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
Joeldc510
Posts: 29
Joined: Mon Jan 22, 2018 4:04 am

Re: Hi from PR!

Post by Joeldc510 »

russian wrote:
Sat Mar 24, 2018 5:33 pm
If you got COM working you are good with Lite edition

Wifi way is easier but requires commercial TS
I don't have COM working yet. Is there anything else besides selecting a COM number and baud rate?
Joeldc510
Posts: 29
Joined: Mon Jan 22, 2018 4:04 am

Re: Hi from PR!

Post by Joeldc510 »

Also I see nothing going on in the console, no RPM, nothing.
Joeldc510
Posts: 29
Joined: Mon Jan 22, 2018 4:04 am

Re: Hi from PR!

Post by Joeldc510 »

This is what I see
Attachments
Capture.PNG
Capture.PNG (55.55 KiB) Viewed 15665 times
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: Hi from PR!

Post by AndreyB »

Now I am confused, we have jumped from TunerStudio which is one software into rusEfi console which is another software?

rusEfi console is supposed to be able to connect to simulator via TCP/IP, does not it show 29001 as a connect option? it can also start simulator from that launch dialog.
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
Joeldc510
Posts: 29
Joined: Mon Jan 22, 2018 4:04 am

Re: Hi from PR!

Post by Joeldc510 »

russian wrote:
Sat Mar 24, 2018 7:13 pm
Now I am confused, we have jumped from TunerStudio which is one software into rusEfi console which is another software?

rusEfi console is supposed to be able to connect to simulator via TCP/IP, does not it show 29001 as a connect option? it can also start simulator from that launch dialog.
Ok, sorry I keep mixing these things up. So i will only use the console, simulator and the HW Virtual Serial Port.

So these are the steps that i am following:
1. I open up the HW VIrtual Serial Port
2. Create a port with these options: PortName: COM100, IP Address: localhost, Port: 29002. The click Create Port.
3. Now I open up the console.exe (Choose COM 100, 115200) CLick connect.
4. On the Top part of the windows it says (Disconnected Console 20180130; firmware=N/A @COM100
5. I open up the simulator and see this text:

ChibiOS/RT simulator (Win32)
Full Duplex Channel SD1 listening on port 29001
Full Duplex Channel SD2 listening on port 29002
Shell service started on SD1, SD2
- Listening for connections on SD1
- Listening for connections on SD2
Running version:
TODO
commonInitEngineController
initSensorChart
initSettings

I don't know where to go from there or if even doing this right?
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: Hi from PR!

Post by AndreyB »

For console no vom emulator needed. Vondole talks to simulator via localhost tcpip networking
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
Joeldc510
Posts: 29
Joined: Mon Jan 22, 2018 4:04 am

Re: Hi from PR!

Post by Joeldc510 »

russian wrote:
Sun Mar 25, 2018 12:02 am
For console no vom emulator needed. Vondole talks to simulator via localhost tcpip networking
Then what am I doing wrong? I'm very confused.
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: Hi from PR!

Post by AndreyB »

I went to record a video and it does not work for me. Let me see if I can figure out out :)
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
Joeldc510
Posts: 29
Joined: Mon Jan 22, 2018 4:04 am

Re: Hi from PR!

Post by Joeldc510 »

russian wrote:
Sun Mar 25, 2018 12:54 am
I went to record a video and it does not work for me. Let me see if I can figure out out :)
haha no problem
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: Hi from PR!

Post by AndreyB »

Please download latest bundle again - I believe things are better now. Thank you for your patience reporting the issue, I did not realize this was not covered by automated 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
Joeldc510
Posts: 29
Joined: Mon Jan 22, 2018 4:04 am

Re: Hi from PR!

Post by Joeldc510 »

russian wrote:
Sun Mar 25, 2018 3:53 am
Please download latest bundle again - I believe things are better now. Thank you for your patience reporting the issue, I did not realize this was not covered by automated tests.
Yeah now I see stuff happening. Thanks!
Post Reply