MicroRusEFI, not recognised by computer? [Update: driver issue]
Posted: Sat May 30, 2020 6:31 am
by Joey120373
Just got my MicroRusEFI out of the box,
I ordered the DIY kit without the main connector and a few other parts installed.
Its a R0.5.0 pcb
After soldering the components, cleaning and checking for solder bridges and shorts etc. I powered it up, one green and 2 red LEDs.
I opened up the bundle made sure it was for the microRusEFI, installed the drivers ( i was following along with the video ) , however, i cannot get my windows 10 laptop to see the board. I have tried 2 known good cables, and rebooted the PC a couple times, but aside from the LEDs coming on, its as if my PC just doesnt see the board. I cleaned the micro usb connector a second time and reflowed it for good measure. there dont appear to be and shorts or bad joints.
Does the board need a second power input?
Not sure where to go from here, any help would be apriciated.
Ill try to post some pics if i can get some decent ones.
Thanks
Re: MicroRusEFI, not recognised by computer?
Posted: Sat May 30, 2020 6:51 am
by Joey120373
A few pics
Re: MicroRusEFI, not recognised by computer?
Posted: Sat May 30, 2020 9:14 am
by Dron_Gus
Hi.
Did you check power lines?
Check that you have 3.3V on TP3.
Check that RESET line is high (Reset button side close to MCU)
If you have oscilloscope - check that X1 is oscillating.
Re: MicroRusEFI, not recognised by computer?
Posted: Sat May 30, 2020 11:06 am
by Joey120373
Hi.
Did you check power lines? _yes, 5v rail~4.5v, 3.3v rail is 3.3v
Check that you have 3.3V on TP3.yes, 3.3v
Check that RESET line is high (Reset button side close to MCU)_No, side furthest from MCU appears to be ground, side closest to MCU is only 0.35v
If you have oscilloscope - check that X1 is oscillating. No scope handy, but my bench meter does show something,but not the right tool
I am hoping that the reset line is supposed to be 3.3v, not 0.3v?
Re: MicroRusEFI, not recognised by computer?
Posted: Sat May 30, 2020 11:44 am
by Joey120373
ok, checked the schem, and it looks like r43 and c20 are on the reset line, i reflowed r43, and i pulled c20 in case it was shorted.
r20 seems fine, as is c20, if i jumper 3.3v to nrst, my computer can see it, it shows up as "STM32 BOOTLOADER" in my device manager, however i am still unable to get the firmware to load.....
as i cant see anything else on that circuit that could pull the signal low, is it safe to assume the MCU is dead?
I pulled the reset button off as well just to check that, its fine.
Re: MicroRusEFI, not recognised by computer?
Posted: Sat May 30, 2020 11:52 am
by Joey120373
Giving time for USB enumeration...
Executing .\.\DfuSe/DfuSeCommand.exe -c -d --v --fn ..\rusefi_mre-f4.dfu
0 Device(s) found. Plug your DFU Device !
this is the error that i get when attempting to update the firmware in manual DFU mode i also note that D29 lights dimly when i power it up in DFU mode, so looks like something it trying to work....
Re: MicroRusEFI, not recognised by computer?
Posted: Sat May 30, 2020 1:32 pm
by AndreyB
Is that on Windows 7 or Windows 10 or else?
I program firmware into kit boards to validate them, can you please try talking to the board with rusEFI console or Tuner Studio?
as i cant see anything else on that circuit that could pull the signal low, is it safe to assume the MCU is dead?
On MRE 0.5.0 TLE8888's WatchDog can pull reset low. You should remove R2 (if you populated it)... Looks like you did.
Also, as TLE8888 is powered from +12V it may pull it low when board is powered from USB only.
Anyway this is a new feature (reset driven from TLE), so I would recommend to remove R2.
Re: MicroRusEFI, not recognised by computer?
Posted: Sat May 30, 2020 8:51 pm
by Joey120373
ill try removing R2, it was on the board when i got it, thanks
I have a windows 10 computer.
Re: MicroRusEFI, not recognised by computer?
Posted: Sat May 30, 2020 9:04 pm
by Joey120373
Removing R2 did bring the reset line up to 3.3v, however still no luck with manual DFU mode, ill try downloading
ok, after getting the firmware to load using the STM32 cube program, I tried it again with the RusEFI console
I am trying my best but I am not good with words.
"which would install different DFU driver and use that tool for all programming. "
would install different DFU driver I guess I should have said "a driver not compatible with console flasher"
use that tool for _all_ programming I guess I should have said "at this point you are in the cube programming universe until you revert the DFU driver"
Re: MicroRusEFI, not recognised by computer?
Posted: Sun May 31, 2020 12:42 am
by Joey120373
. I am trying my best but I am not good with words.
"which would install different DFU driver and use that tool for all programming. "
would install different DFU driver I guess I should have said "a driver not compatible with console flasher"
use that tool for _all_ programming I guess I should have said "at this point you are in the cube programming universe until you revert the DFU driver"
AndreyB,
My apologies, thank you for the help, i did not explain well enough. I did attempt to use the console (DFU) after installing the cube program, however I got the same results. I have no way of knowing what drivers the console is using, so I tried the cube program
Just to see if I could get anything to work.
I would be happy to do more testing for you to try and isolate the issue , and I will try to follow instructions better. I tend to get ahead of myself at times.
Re: MicroRusEFI, not recognised by computer?
Posted: Sun May 31, 2020 1:42 am
by AndreyB
Do you have another windows device?
In order to have a chance with DFU integrated with console you would need to switch driver. See "device manager" - see what you have there now. Uninstall it, install console driver pack, difference is expected.
In order to have a chance with DFU integrated with console you would need to switch driver. See "device manager" - see what you have there now. Uninstall it, install console driver pack, difference is expected.
I do not have another windows device, only a macbook pro.
My windows laptop is a lenovo thinkbook.
I will try uninstalling the driver from device manager and report back.
Re: MicroRusEFI, not recognised by computer?
Posted: Tue Jun 09, 2020 12:27 pm
by Joey120373
Ok, My new MRE arrived in the mail yesterday
This board already has firmware loaded, I soldered the USB connector and plugged it into my laptop, a windows 10 unit.
Green USB LED = On
Yellow Warn LED = On
Blue Comms LED = Blinking ~5 hz
Red 3.3v LED = On
Red GP5 LED = On
Blue LED goes out, and so does the yellow LED.
And I have to cycle power to get it back online.
STM32 BOOTLOADER
does still appear in my device manager though
So What can i do from here to help resolve this issue?
The board works fine, and i can update using the cube program if i want to, however i would like to do what i can to solve this problem. This is a spare board so i dont mind playing around with it
Re: MicroRusEFI, not recognised by computer?
Posted: Tue Jun 09, 2020 12:48 pm
by kb1gtt
Is the console windows or other platform? I know Java is multiplatform but knowing the platform is useful information.
Console 20200522; firmware=20200522@22961microRusEfi MICRO_RUS_EFI 548@COM28
So What can i do from here to help resolve this issue?
The board works fine, and i can update using the cube program if i want to, however i would like to do what i can to solve this problem. This is a spare board so i dont mind playing around with it
1) look at the calendar
2) move to fresh bundle with fresh console
3) report results once attempted with latest console
4) attempt manual DFU with physical button if above does not help
1) look at the calendar
2) move to fresh bundle with fresh console
3) report results once attempted with latest console
4) attempt manual DFU with physical button if above does not help
1, My calendar 6/9/2020 11:57am
2, downloaded 202006608
3, same exact results as above
4, attempted manual DFU, twice, same results as above
Auto DFU:
Auto-detecting port...
Reboot command sent!
Detected rusEFI on COM28
Giving time for USB enumeration...
Executing .\.\DfuSe/DfuSeCommand.exe -c -d --v --fn ..\rusefi_mre-f4.dfu
0 Device(s) found. Plug your DFU Device !
It's a known issue trying to use the DFU update thru the console if you also have STM32CubeProgrammer installed. They use different drivers (which is insane), and the stm32cubeprog one seems to always take precedence.