#CLI upload caused my F4 1S 5A FC to not be recognized through USB

192 messages · Page 1 of 1 (latest)

severe willow
#

I haven't had any luck finding similar issues out there so hopefully someone can help me. I think I bricked it somehow.
(I'm pretty new to the hobby)
I just built/soldered my first Meteor65 Pro, flashed the latest ESC and Betaflight firmwares. I had everything set up, motors were tested and I had them spinning in the correct direction for props out. VTX was working and transmitting to my goggles.

Next I was working on getting my transmitter bound and calibrating the gyro. I was having issues getting my transmitter bound (after the Betaflight update, the binding phrase option is no longer available on the transmitter tab).
I got it to work (I don't remember how), then I calibrated the gyro. It wasn't working well, it looked a little laggy and pitch was acting as roll and roll as pitch. I made sure I was looking at the FC correctly, the motors 1, 2, 3, 4 all turned on as expected. I tried to calibrate a few times with no improved results.

Here is where I think I went wrong. I hadn't loaded the CLI dump to the FC yet. I think my understanding of CLI's needs improvement, but I think I mis-read BetaFPV's website and selected the wrong one. I used BTFL_cli_F4 5A ELRS instead of BTFL_cli_F4 5A ELRS_NEW. I don't know if this can cause the FC to not be recognized through USB or not, but that's what happened right after the CLI was loaded. Maybe the battery ran a little low and caused the problem?

Currently, if I plug it in, windows doesn't recognize it, then after 60 seconds I can connect to it over WiFi (ExpressLRS RX). I tried flashing firmware from there to hopefully recover it, but it gives an error that there's not enough space. It doesn't seem to enter DFU either. It is still bound to my transmitter and will reconnect to the transmitter with no problem. I have tried other USB cables and USB ports (direct to my PC) with no different results.

Did I cook it? Components look fine, and I have had fans on it the whole time. No shorts with my solder job.
Is there a way to go back? I'm at a loss.

A. Betaflight Configurator 10.10.0 (c97deaf)
B. F4 1S 5A FC https://betafpv.com/products/f4-1s-5a-aio-brushless-flight-controller
C. Betaflight Version
D. Steps taken noted above
E. I'm not sure how to get the Blackbox file with it not connecting
F. I can't get to CLI, but have the file used and the backup for before that
G. No screenshots available

BETAFPV Hobby

The classical ultralight F4 1S brushless FC comes back with SPI ExpressLRS 2.4G receiver. Now the default firmware for F4 1S 5A AIO Brushless Flight Controller (ELRS 2.4G) is updated to Betaflight V4.3.0 Official version, which supports ELRS V2.0. Please check the below link to download the firmware. Download the betaf

sinful ospreyBOT
spark hare
#

You cannot update BetaFlight firmware via the ELRS Wifi. Only ELRS firmware can be updated this way.

#

Loading a CLI dump can not prevent USB connection, so something else is wrong. Have you tried installing the USB drivers via Zadic or DriverFixer?

severe willow
#

I haven't heard of Zadic yet, but I've run driver fixer and it never progresses past the searching part. I'll start researching Zadic.

spark hare
#

Does it make a sound when you plug in?

severe willow
#

When I plug it in with no battery, it flashes green, green, orange orange orange, then flashes green green until 30 sec when it flashes rapidly for wifi. After about 3 seconds from plugging it in, I get the message attached

#

No sound

#

I get the melody I wrote to it when I plug in the battery, and nothing else happens

spark hare
#

Okay, you need to distinguish between the ELRS receiver that has ELRS Firmware on it and the Flight Controller that has Betaflight firmware on it. The LEDs you describe is the ELRS receiver.

#

It can be confusing on these small integrated AIOs

severe willow
#

Yeah there's not much info on the Betafligh website on the LED's

spark hare
#

Zadic is spelled Zadig, sorry

severe willow
#

Those are on the bottom of the board. On the top, there's a green LED that stays solid the whole time.

#

This is how it shows up in Device Manager

spark hare
#

Ok, I´m 99% sure that the problem is with Windows drivers

#

Try downloading Zadig 2.9

severe willow
#

The Betaflight website says there's a blue led on the bottom for the FC, it doesn't light up

#

Ok working on it

#

Oh I forgot, I installed that before I passed out last night. I wasn't sure how to use it

spark hare
#

Connect the drone, run Zadig, click Options, choose List all devices, show screendump

severe willow
spark hare
#

Select Unknown USB Device

severe willow
#

Ok

spark hare
#

Press Install Driver

#

It will take some time

severe willow
#

Ok it's installing

spark hare
#

Reboot PC

severe willow
#

Ok

spark hare
#

Try installing again. If it doesnt work, remove the Unknown USB Device from Device Manager and try again

#

If asked to remove drivers when you remove the device, choose Yes

severe willow
#

Ok it failed again, so I uninstalled from device manager and tried again and it failed. It didn't prompt to remove drivers

#

I showed hidden in device manager, found multiple unknowns so I removed those and am trying again

#

It failed

spark hare
#

Strange. Do you have a different PC that you can try?

#

Just to plug in to see if it makes a sound?

#

Does the Unknown USB Device disappear when you unplug the drone?

severe willow
#

It disappears, I'll try another PC, and a laptop. brb

#

From the second PC

spark hare
#

Same cable?

severe willow
#

Yeah

spark hare
#

Try one that can connect your phone memory to your PC

#

Ie verify that the cable can handle data

#

Sorry, its not the same plug, you cant verify that way

severe willow
#

I will test with my other drone

spark hare
#

Do you have any other device with the same plug?

severe willow
#

Just drones

#

My Mobula6 connected to betaflight with the same cable just now with no issues

#

I'm trying it with everything unplugged except the soldered M03 VTX

#

Same result

#

I have another AIO that was a backup incase this one broke, I'll try it too

spark hare
#

I will get my Meteor65 Pro and do some testing. If you say that you have the binding phrase set in Betaflight then it tells me that you have an SPI based ELRS. But the Meteor65 Pro have a serial ELRS as far as I remember ... ?

severe willow
#

Yeah it's serial, sorry I'm still learning. The store page says serial

#

Well, the second F4 1S 5A connected to Betaflight with no problems

#

It must be a hardware issue then? I don't see any physical problems though

spark hare
#

Dinner time here. Take a closeup photo of the board, and I will get back to you.

severe willow
#

Ok, breakfast time here. Thanks for all the help so far, I really appreciate it

#

I'll get a photo in a little bit, my phone camera isn't helping

severe willow
#

I have photos, I'm not sure how many I'm allowed to post here but here we go

#

I added two angles of the solder joints for motors M1 & M2, it's hard to see with the leftover flux. I'm looking into a better solder setup (smaller tip and maybe a no-clean flux pen)

spark hare
#

Can you measure continuity between the contacts inside the USB plug and the corresponding trace on the board?

#

It could look like there is a red strand on one of the contacts inside the USB socket. Maybe nothing ...

severe willow
#

Yes I'll test it

severe willow
#

I think one contact might be shorted somehow, it's hard to measure these 😅

#

Nevermind, one is just ground with the usb plug shell

#

They all tested good

#

Oh no

#

Thought I soldered the vtx wrong but I made sure I didn't

#

I'm taking a break from it, I might desolder the VTX later and test it that way

#

It just entered DFU mode! I'm not sure what happened. Maybe there was something in the USB plug? I blew on it haha

severe willow
#

I got it back to where it was! Flashed firmware and now it's working. Still have Pitch and Roll swapped, I'll figure that out later. Thanks for the help!

spark hare
#

Great! Change the gyro direction to fix swapped axes.

#

Configuration tab

severe willow
#

Got it, changed First Gyro from 180º to 90º

#

How should I enter the binding phrase?

#

It's set up on my radio already but there's no spot on Betaflight Receiver tab

spark hare
#

You cannot set it in BF, when it is a serial receiver.

#

You can set it in the ELRS firmware via ELRS Configurator and flash the firmware to the receiver.

severe willow
#

Oh ok

spark hare
#

Or you can set it via Wifi

severe willow
#

I just set it with wifi

#

but it doesn't register in betaflight

spark hare
#

BF does not know about the ELRS firmware. You need to set the Receiver tab to Serial and CRSF protocol, is that set?

severe willow
#

Yes

#

Oh ports

spark hare
#

Is the radio and the receiver on the same major version of ELRS? 3.x?

severe willow
#

Nothing is set to serial there

#

I think so

#

When I disconnect the receiver, my radio says Telemetry lost

spark hare
#

In Ports, UART1 needs to have Serial Rx selected

#

So the radio is talking to the recceiver, but the receiver is not talking to the FC

severe willow
#

That did it!

#

I thought it was UART1 but wasn't sure

spark hare
#

And UART2 has VTX (TBS SmartAudio) selected in Peripherals?

severe willow
#

No

spark hare
#

It should, otherwise you will have no control of the VTX

severe willow
#

Ok

#

It wants a VTX table

#

I think I have it but have to type it in

spark hare
#

Use a preset, its way easier

severe willow
#

How?

spark hare
#

Go to Preset, search for VTX and select Default 4.x VTX table settings

severe willow
#

Ok, select pick, then save and reset? It didn't fill out the table

spark hare
#

Select the correct version of the M03

severe willow
#

I did, ended up typing it in

spark hare
#

Now it should say Yes in Device Ready in the Video Transmitter tab

severe willow
#

It says False

spark hare
#

Did you set UART2 to VTX (TBS SmartAudio) under Peripherals?

severe willow
#

Yes, attached a picture

spark hare
#

Looks correct. Do you have an image in your goggles?

#

I have a different VTX on my quad, maybe thats why...

#

Or you should put the CLI for the VTX in the CLI tab, to ensure everything is setup correctly.

#

Last option is that you switched TX and RX around when soldering the VTX

#

TX on VTX to RX on FC

severe willow
#

I'll check, I had video feed before

#

Also, the gyro doesn't respond as quick as my meteor75 or mobula6, wonder if that's a firmware version thing

spark hare
#

What is your PID loop frequency set to?

#

Config tab

#

And CPU load?

#

Bottom of the window

severe willow
#

Video feed is working

spark hare
#

Looks good, did you calibrate the gyro?

severe willow
#

Yeah

spark hare
#

Only Accelerometer selected? No baro or mag?

severe willow
#

Yes that's correct

spark hare
#

What firmware of BF?

#

Version?

severe willow
#

4.5.2

spark hare
#

Ok, I run 4.5.1, so that is not the problem. Maybe its not a problem ...

#

How slow is it?

severe willow
spark hare
#

Wow, thats slow.

severe willow
#

It's calibrated and pointing the right way, it just takes forever. I could just disable it, I really only fly acro anyway

#

I flashed it with the firmware through "load online" in betaflight

spark hare
#

Does it say CALIBRATING in the Arming Disable Flags under System Info on the right?

severe willow
#

Yes

spark hare
#

You should remove OSD (Digital) from your firmware build. Its not recommended to have both analog and digital.

#

And remove GPS as well

severe willow
#

You mean go from HD to NTSC?

spark hare
#

No. In the firmware tab you have 7 white boxes in the top left. Remove GPS and OSD (Digital) and reflash

severe willow
#

Oh I didn't see that before

spark hare
#

And then you need to setup everything again ...

#

But start with the gyro, check if it is responsive

severe willow
#

It's the same

#

woah

spark hare
#

Still CALIBRATING in the Arming Disable Flags?

severe willow
#

Yes

spark hare
#

So it can not complete calibration because it thinks it is moving all the time. My lines in the Sensors tab is all straight, no waves.

#

Is the desk vibrating?

severe willow
#

No

spark hare
#

Could it be the fans?

severe willow
#

I'll check

#

Nope, I turned the fans off and removed them, no difference

spark hare
#

Im all out of ideas. You should post a new thread on this problem, maybe someone else have some tips.

severe willow
#

Ok, thanks for all the help! I really need a break now haha

spark hare
#

I see now that you have selected F411RX firmware, mine is just F411. Maybe its loading a wrong gyro driver

severe willow
#

Oh ok, I'll try that

#

That was it!

#

I think I misread on the betafpv website.

spark hare
#

So its responsive now?

severe willow
#

Yes but the X axis has the same kind of spikes

spark hare
#

Ok. Put it together and try to fly. Ask again if you run into problems.

#

Its midnight here, Im going to sleep now, so dont expect a response for the next 8 hours 😴

severe willow
#

Dang! Have a good one, thank you so much for the help!

#

I'll send a picture before I fly it, and when I'm done painting the canopy

spark hare
#

Great! Im glad that I could help you out.

severe willow
#

It flew, but started trying to fly all crooked. I did some flips and rolls but don't trust it like my other drones. Maybe I damaged the accelerometer/gyro with the wrong firmware, I'll test out the other fc tomorrow

spark hare
#

You cant damage the gyro with wrong firmware.

severe willow
#

Ok that's good to know. I was kinda overwhelmed earlier

#

I'm just getting back to it. I decided to connect the backup brand new F4 1S 5A FC and take screenshots of everything, and learned how to create a backup using both the CLI tab and the Presets tab. I connected the one with some issues, and flashed it back to Betaflight 4.3.0 (instead of 4.5.2), loaded the backup from the new FC and there doesn't seem to be any more issues.

#

I'm trying to find a manual PDF for the FC but am having no luck with that, just their product page. I was hoping it would state what versions of betaflight it is compatible with

spark hare
#

Now that you know how to get back to a known good config, you can experiment. As mentioned before I run 4.5.1 without issues. There is no reason it shouldnt run the newest stable version.

severe willow
#

Ok I'll give that a shot tomorrow

severe willow
#

Sorry, I haven't had a chance to do this yet. Our outage just started so I'm on 6 12hr night shifts. I plan on testing it tonight though, thanks again for all the help!

#

I did paint it before getting a test flight in which went well!