microRusEfi connection to Tuner Studio

It's all about the code!
JPh
Posts: 163
Joined: Wed Jan 01, 2020 10:51 am

microRusEfi connection to Tuner Studio

Post by JPh »

I did not find specific instructions to do this connection. I used these found on github or the forum but have problems: the connection is not stable it connects and reconnects over and over.
So some questions:
1) the mre can be connected through the micro USB port on the board
2) I have to install the 2 drivers from the bundle
3) I have to install only one - which one

If somebody can help....
User avatar
AndreyB
Site Admin
Posts: 14325
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi connection to Tuner Studio

Post by AndreyB »

Yes the USB on microRusEfi should absolutely connect to Tuner Studio and work reliably.

1) how is microRusEfi powered?
2) what OS do you have?
3) can you please try another microUsb cable?

If it works I would expect it to work reliably. I am not aware of a way to have a bad combination of drivers which would work unreliably.
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
JPh
Posts: 163
Joined: Wed Jan 01, 2020 10:51 am

Re: microRusEfi connection to Tuner Studio

Post by JPh »

1 power only through USB is that the problem?
User avatar
AndreyB
Site Admin
Posts: 14325
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi connection to Tuner Studio

Post by AndreyB »

JPh wrote:
Mon Mar 09, 2020 9:39 pm
1 power only through USB is that the problem?
1 power only through USB is NOT a problem as long as 48 pin connector is unplugged. At this point I really believe that a faulty cable is the most probable 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
JPh
Posts: 163
Joined: Wed Jan 01, 2020 10:51 am

Re: microRusEfi connection to Tuner Studio

Post by JPh »

Connector unplugged
The cable problem might be true. I tried one from a phone I have no other micro USB device
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: microRusEfi connection to Tuner Studio

Post by kb1gtt »

The cable could be as simply as small gauge wire, or tin coated contacts vs gold plated contacts. Heavier gauge and gold contacts certainly help ensure a good connection.
Welcome to the friendlier side of internet crazy :)
JPh
Posts: 163
Joined: Wed Jan 01, 2020 10:51 am

Re: microRusEfi connection to Tuner Studio

Post by JPh »

I found an other cable. I test it and report.
JPh
Posts: 163
Joined: Wed Jan 01, 2020 10:51 am

Re: microRusEfi connection to Tuner Studio

Post by JPh »

Same problem with other cable. When I come back from work, I will reinstall all on an other computer.
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: microRusEfi connection to Tuner Studio

Post by kb1gtt »

What gauge wire in the cables? How long is the cable? Are the connections gold or silver color?
Welcome to the friendlier side of internet crazy :)
Cadence
contributor
contributor
Posts: 40
Joined: Mon Mar 09, 2020 3:50 pm

Re: microRusEfi connection to Tuner Studio

Post by Cadence »

I had this same problem. I just re-flashed the board with the firmware in the bundle and it worked correctly.

To elaborate. the RusEfi Console connection was rock solid. But TS would disconnect once a second. I used the console to reflash using the firmware from the bundle and after a reboot of the board the TS connection was also solid.

Erich
User avatar
AndreyB
Site Admin
Posts: 14325
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi connection to Tuner Studio

Post by AndreyB »

Good points - how is rusEfi console connection? Does TS project match your firmware on the board?
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
JPh
Posts: 163
Joined: Wed Jan 01, 2020 10:51 am

Re: microRusEfi connection to Tuner Studio

Post by JPh »

I am back.
I think I will first reflash because the bundle changed this Sunday
User avatar
AndreyB
Site Admin
Posts: 14325
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi connection to Tuner Studio

Post by AndreyB »

JPh wrote:
Tue Mar 10, 2020 5:11 pm
I am back.
I think I will first reflash because the bundle changed this Sunday
The bundle sometimes changes five times a day. As long as your TS project matches your firmware you do not have to update to any latest bundle.
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
JPh
Posts: 163
Joined: Wed Jan 01, 2020 10:51 am

Re: microRusEfi connection to Tuner Studio

Post by JPh »

Made a clean install from the latest bundle. Installed the drivers with the console. Same result that before. Tomorrow I will look for a other cable.
User avatar
AndreyB
Site Admin
Posts: 14325
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi connection to Tuner Studio

Post by AndreyB »

JPh wrote:
Tue Mar 10, 2020 7:30 pm
Made a clean install from the latest bundle. Installed the drivers with the console. Same result that before. Tomorrow I will look for a other cable.
Have you tried with rusEfi console? How is it working for you?

Is it time for a cellphone youtube video of both TS and console connect?
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
JPh
Posts: 163
Joined: Wed Jan 01, 2020 10:51 am

Re: microRusEfi connection to Tuner Studio

Post by JPh »

Video
Attachments
VID_20200310_212554.mp4
(4.43 MiB) Downloaded 368 times
JPh
Posts: 163
Joined: Wed Jan 01, 2020 10:51 am

Re: microRusEfi connection to Tuner Studio

Post by JPh »

Video
Attachments
VID_20200310_213057.mp4
(3.36 MiB) Downloaded 351 times
User avatar
AndreyB
Site Admin
Posts: 14325
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi connection to Tuner Studio

Post by AndreyB »

Console video is helpful. Can you please read firmware image from MRE and post binary here? I would like to reproduce
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: 14325
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi connection to Tuner Studio

Post by AndreyB »

I am on cell will confirm later. Looks like old firmware and new console. Console header shows versions, console window title not visible on video
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
JPh
Posts: 163
Joined: Wed Jan 01, 2020 10:51 am

Re: microRusEfi connection to Tuner Studio

Post by JPh »

How to read firmware image?
Attachments
15838732226506460657589149146493.jpg
15838732226506460657589149146493.jpg (5.32 MiB) Viewed 19743 times
JPh
Posts: 163
Joined: Wed Jan 01, 2020 10:51 am

Re: microRusEfi connection to Tuner Studio

Post by JPh »

Is my problem not related with issue https://github.com/rusefi/rusefi/issues/1170?
User avatar
AndreyB
Site Admin
Posts: 14325
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi connection to Tuner Studio

Post by AndreyB »

https://github.com/rusefi/rusefi/issues/1170 could be related but the scope of https://github.com/rusefi/rusefi/issues/1170 is unclear at this point.

Let's give up on reading image for now.

Please take a video of how you update firmware.

I will post an example of the image I was looking for.
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: 14325
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi connection to Tuner Studio

Post by AndreyB »

New page with some relevant instructions: https://github.com/rusefi/rusefi/wiki/microRusEfi_Manual
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
JPh
Posts: 163
Joined: Wed Jan 01, 2020 10:51 am

Re: microRusEfi connection to Tuner Studio

Post by JPh »

How I have done installation :
Download and extract bundle micro rusefi f4
Download and install java
Launch the console with the. Jar file
Click on "drivers"
Click on "update firmware"

In reference with your last post I had different feedback from the information window during firmware update

Should I try a new update?
User avatar
AndreyB
Site Admin
Posts: 14325
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi connection to Tuner Studio

Post by AndreyB »

Best latest is currently building, should be ready in about an hour. I am trying to make it a bit smarter.

But current latest already has some improvements - can you please try it and post at least a picture of the DFU window?

A video is really worth ten thousand words and a picture is worth at least a thousand.
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: 14325
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi connection to Tuner Studio

Post by AndreyB »

By the way I think it was https://github.com/rusefi/rusefi/issues/1182

Some progress was made on https://github.com/rusefi/rusefi/issues/1170

But so far I have not seen your DFU response exact text so I am just guessing. A picture or better video would _really_ help.
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
JPh
Posts: 163
Joined: Wed Jan 01, 2020 10:51 am

Re: microRusEfi connection to Tuner Studio

Post by JPh »

OK, I will try to make it when I am back home from work. My problem is the videos are too big for the forum if they are a bit long. On a tablet, it's no so easy to manage these things.
Abricos
contributor
contributor
Posts: 849
Joined: Mon Aug 18, 2014 12:32 am
Location: Carteret, NJ 07008

Re: microRusEfi connection to Tuner Studio

Post by Abricos »

JPh wrote:
Wed Mar 11, 2020 11:10 am
OK, I will try to make it when I am back home from work. My problem is the videos are too big for the forum if they are a bit long. On a tablet, it's no so easy to manage these things.
Upload to YouTube ...
JPh
Posts: 163
Joined: Wed Jan 01, 2020 10:51 am

Re: microRusEfi connection to Tuner Studio

Post by JPh »

Back behind the pc.
With the new explanations I located a problem.
The "stm device in dfu mode" is faulty
Device manager says missing driver for stm32 bootloader. Automatic search does not work.
User avatar
AndreyB
Site Admin
Posts: 14325
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi connection to Tuner Studio

Post by AndreyB »

What version of Windows are you using?
Have you tried the "Install Drivers" button on the top right corner of rusEfi 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
Post Reply