Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Virtual COM doesn't work [Unbricking Matek F405]
#1
Hey people,


as you can read in the title I bricked my Matek F405 that worked perfectly fine when I tried to flash Betaflight 3.2

So right now I've gone through all the tutorials I could find to flash it with Betaflight 3.1.7 but nothing worked.

Here are the Facts:

- I can boot into DFU Mode and it's displayed in the Betaflight Configurator
- I've installed winUSB using ZADIG 2.3
- I've installed the Virtual COM Port driver for my Windows 7 64Bit OS

What's happening:

- I can see it as DFU connection and i can try to flash it and i get

[color=rgba(255, 255, 255, 0.6)]2017-07-26 @ 13:32:51 -- Running - OS: Windows, Chrome: 59.0.3071.115, Configurator: 3.1.1[/color]
[color=rgba(255, 255, 255, 0.6)]2017-07-26 @ 13:33:01 -- Loaded release information from GitHub.[/color]
[color=rgba(255, 255, 255, 0.6)]2017-07-26 @ 13:33:12 -- USB device successfully opened with ID: 1[/color]
[color=rgba(255, 255, 255, 0.6)]2017-07-26 @ 13:33:12 -- Detected device with total flash size 1024 kiB[/color]
[color=rgba(255, 255, 255, 0.6)]2017-07-26 @ 13:33:12 -- Read protection not active[/color]
[color=rgba(255, 255, 255, 0.6)]2017-07-26 @ 13:33:28 -- USB device successfully closed[/color]

- I can clearly see the "Erase" process going on, taking a few seconds and then the progressbar is at 100% in Yellow with the Text "Flashing..." and that's it. Nothing happens.

- The Virtual COM Port driver doesn't seem to work, I don't get any Virtual COMs no Matter in which Mode I boot the FC.

I have yet to try a different computer to test this out
I like turtles
Reply
Login to remove this ad | Register Here
#2
Hi
I was given this program when I was having the same
problem with a different board but it worked for me
give it try I hope I can attach the file I may need your email
to send it I tried to attach the file it's too big, give me your email
and I'll send it to you the file it's called impulse RC Driver Fixer 
just in case you already tried it
Jim
Reply
#3
(26-Jul-2017, 12:58 PM)jep4755 Wrote: Hi
I was given this program when I was having the same
problem with a different board but it worked for me
give it try I hope I can attach the file I may need your email
to send it I tried to attach the file it's too big, give me your email
and I'll send it to you the file it's called impulse RC Driver Fixer 
just in case you already tried it
Jim

Sadly i already used that one and it didn't do the job. It only fixes the Bootloader drive which has no problems. The problem seems to be the Virtual COM Port driver
I like turtles
Reply
#4
... i found the issue... It didn't work when i set "full chip erase".... what the hell
I like turtles
[-] The following 3 users Like Apicalis's post:
  • fftunes, Drone0fPrey, sloscotty
Reply
#5
only just saw your problem..
Yea I still haven't got to the bottom of it... some of the boards just have this issue with "full chip erase" selected.
However you could "erase settings" in CLI after flashing firmware. just type "Default".
Don't be a LOS'er, be an FPV'er :)  My Gear - Facebook - Instagram - Twitter
Reply
#6
For me, it seems to be only F4 boards that have issues with "Full Chip Erase" selected
Reply
#7
(26-Jul-2017, 02:47 PM)Apicalis Wrote: ... i found the issue... It didn't work when i set "full chip erase".... what the hell

Sorry.  I know this is an old thread.  Were you able to fix the issue?   I'm having the same problem.  Thanks!
Reply
#8
(01-Jan-2019, 02:25 PM)bluecoat97 Wrote: Sorry.  I know this is an old thread.  Were you able to fix the issue?   I'm having the same problem.  Thanks!

Did you actually try flashing Betaflight firmware with the "Full chip erase" option switched OFF as was suggested, or did that not work?
Reply
#9
I initially missed that part of the initial thread. Unfortunately, I tried it tonight and still nothing. I'm able to get the bootloader/ DFU mode and even flash the firmware (with chip erase on and off). But once it's done and the board reboots I'm not able to connect. (tried disconnected... closing beta flight etc)
Reply
#10
(03-Jan-2019, 03:48 AM)bluecoat97 Wrote: I initially missed that part of the initial thread. Unfortunately, I tried it tonight and still nothing. I'm able to get the bootloader/ DFU mode and even flash the firmware (with chip erase on and off).  But once it's done and the board reboots I'm not able to connect. (tried disconnected... closing beta flight etc)

It sounds like the VCP circuitry inside the STM32F405 microcontroller chip could be fried unfortunately. Connecting in DFU mode uses a different protocol which is why connection and flashing in boot mode probably works fine, and why connection is then lost when the FC boots up in VCP mode. There is no real solution to this other than replacing the STM32F405 microcontroller chip on the board, or just writing off the board and getting a complete new replacement board.
Reply
#11
(03-Jan-2019, 03:48 AM)bluecoat97 Wrote: I initially missed that part of the initial thread. Unfortunately, I tried it tonight and still nothing. I'm able to get the bootloader/ DFU mode and even flash the firmware (with chip erase on and off). But once it's done and the board reboots I'm not able to connect. (tried disconnected... closing beta flight etc)

Do anything populates in device manager when you plug in the FC?
Reply
#12
(04-Jan-2019, 02:25 PM)voodoo614 Wrote: Do anything populates in device manager when you plug in the FC?

Thanks a bunch for replying! Figured out the issue because of your question. I was able to find the Matek F405 listed in device manager as a USb device (but it was not using the stm32 drivers. I'm guessing this is because I had installed the stm32 and vcp drivers more than once. So once I opened the device and selected to update drivers, I chose the stm32 drivers. And voila! It worked

(04-Jan-2019, 01:45 PM)SnowLeopardFPV Wrote: It sounds like the VCP circuitry inside the STM32F405 microcontroller chip could be fried unfortunately. Connecting in DFU mode uses a different protocol which is why connection and flashing in boot mode probably works fine, and why connection is then lost when the FC boots up in VCP mode. There is no real solution to this other than replacing the STM32F405 microcontroller chip on the board, or just writing off the board and getting a complete new replacement board.

Thanks for getting back to me! Figured out the issue.
Reply
#13
Glad you got it working without binning a perfectly good FC. Sorry - I completely forgot it could be to do with driver related issues. It's a good job Voodoo piped up with that suggestion Smile
Reply
#14
Oh..and one of the biggest clues was that I was able to connect to the FC using the Speedy Bee app. It's crazy to think that it's easier to connect to a FC using an OTG connector and the speedy bee app than it is to use a PC....
Reply
#15
(06-Jan-2019, 06:45 PM)bluecoat97 Wrote: Oh..and one of the biggest clues was that I was able to connect to the FC using the Speedy Bee app. It's crazy to think that it's easier to connect to a FC using an OTG connector and the speedy bee app than it is to use a PC....

Good. I am glad I didn't have to go through the process of installing the correct drivers.

Yes, Speedybee is made especially for the FC, so it has the correct drivers. Windows does not, therefore it is a pain. Once you have it installed correctly for one FC, then all future FC also works. Unless you have a FC with cp210x driver. I don't understand why understand some of these guys using Impulserc fixer every time.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  SpeedyBee F405 V3 Testing Motors (Not Spinning) angent56 18 1,785 06-Apr-2024, 03:58 AM
Last Post: angent56
  Help Problem accessing the ESP8285 chip on MATEK FC F405 WTE remi.auge 2 202 05-Mar-2024, 12:49 PM
Last Post: remi.auge
  f405 v3 - tvs diode sonic 1 146 31-Jan-2024, 08:49 AM
Last Post: sonic
  Discussion Speedybee F405 wing Griffin Ucos 2 330 31-Dec-2023, 08:37 AM
Last Post: Griffin Ucos
  SpeedyBee F405 power and UART Q husafreak 9 662 22-Dec-2023, 05:48 PM
Last Post: husafreak


Login to remove this ad | Register Here