Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Betaflight 3.3-RC2 does not boot with old SDcard #5303

Closed
StreakingJerry opened this issue Feb 24, 2018 · 31 comments
Closed

Betaflight 3.3-RC2 does not boot with old SDcard #5303

StreakingJerry opened this issue Feb 24, 2018 · 31 comments
Assignees
Labels
BUG Bugs are excluded from automatically being marked as stale

Comments

@StreakingJerry
Copy link

My target is OmnibusF4SD.

I used to use old SD cards (both 512MB and 2GB) and both of them work fine with betaflight 3.2.1. but with this version if I install the 512 MB SD card the beeper just keep ringing and the system does not boot, even can not be connected to configurator. And for 2GB SDcard it just stop before the 3 beeps which indicate the gyro calibration. And the same can not be connected to configurator. Both of them have been tried to formatted with FAT and FAT32 and none of them works.

@MajkCro
Copy link

MajkCro commented Feb 25, 2018

Can confirm exactly the same problem with 1Gb SD card. Using SC Card Formatter, and target is OmnibusF4SD.
Edit1: Just tried with OmnibusF4SD corner pro, same problem. With SD inserted, it will not open com port. therefore no connection with Configurator.
Both boards running:
Betaflight / OMNIBUSF4SD (OBSD) 3.3.0 Feb 18 2018 / 13:55:02 (f07bf40) MSP API: 1.37
Edit2: Last known working version is 3.2.1

@mikeller mikeller added this to the Betaflight v3.3 milestone Feb 25, 2018
@DieHertz
Copy link
Member

DieHertz commented Mar 1, 2018

Looks like my case, an old 2GiB card also stopped working on F4 in 3.3. Works on F7 though. I will debug it tomorrow, no worries (yet) :-)

@DieHertz DieHertz self-assigned this Mar 1, 2018
@davidoff92
Copy link

I have the same issue with 1GB SD card on Matek f405 OSD in 3.3.
No problems in 3.2.5 version.

@DieHertz
Copy link
Member

DieHertz commented Mar 2, 2018

Thanks, I'll look into it soon.

@hundemann
Copy link

I can confirm for Matek F405 CTR (thanks for putting me on the right trail);
BF 3.3.0: non-working with old 2 Gb card, working with new 32Gb SD card (or without card inserted)
BF 3.2.5: working with old 2Gb card

@DieHertz
Copy link
Member

No solution yet, problematic commit found but it's not the cause of this issue, probably need some additional code for older cards. Hope to work on it this weekend again.

@StreakingJerry
Copy link
Author

Sometimes the FC can boot normally ,but only about 1/10 chance. If the FC boot then accessed with configurator, the blackbox just say there is a fatal error with SD card.

@Tbeal79
Copy link

Tbeal79 commented Mar 20, 2018

Yup jb f4 has the same, but I'm not getting blackbox at all in my cli dump, and I get the fatal error every time I plug mine in.
If you need to see the dump just click the link that wuhao posted.
I talked to jb yesterday about it and he said it could me for my case a defective board, I showed him my dump and diff.

@0crap
Copy link

0crap commented Mar 26, 2018

Exact same problem with a MATEKF405 (MKF4) board.
Sometimes the board boots and sometimes it does not boot. (Solid blue and red LED's when stuck.)
When it boots I can go into configurator, the Blackbox tab always shows Onboard SD card "Fatal error Reboot to retry". (RED sd card icon.)
Using a micro SD card 2GB in size. (FAT32)
Tested with 3.3.0 stable and latest Jenkins build 715.

It's working fine with 3.2.5 stable.
Reverting to 3.2.5 stable for now.

@StreakingJerry
Copy link
Author

My FC is the pink EXUAV F4 PRO V1 and I tried EXUAVF4PRO V3.3. The problem still occurs.

@mikeller mikeller added the BUG Bugs are excluded from automatically being marked as stale label Jun 10, 2018
@eried
Copy link

eried commented Jul 3, 2018

This is still an issue :/
OMNIBUSF4SD 3.3 does not boot with my 512 MB microsd card

@Tbeal79
Copy link

Tbeal79 commented Jul 3, 2018 via email

@0crap
Copy link

0crap commented Jul 4, 2018

@Tbeal79 This issue still exist, Yes you can use a work around by using a "new" SD card.
I sure hope they will fix this at the final release. A lot of unused "old" SD cards can't be used now for blackbox logging.

@eried
Copy link

eried commented Jul 9, 2018

@0crap but what "new" means? Bigger than some size? For the blackbox it would be nice to use a microsd that I do not care to lose, like 512mb ones :/

@0crap
Copy link

0crap commented Jul 9, 2018

@eried To me it seems "old" is the SD cards you find in the bottom of a drawer. :-)
So "new" is like a recent SD card you got from the shop.
All we know for sure is that BF 3.2.5 is the last known good with "old" SD cards.

@brycedjohnson
Copy link
Contributor

Oops just ran into this with some unbranded 2gb cards on 3.5RC1.

@Drak0ri
Copy link

Drak0ri commented Jul 28, 2018

Same here ... Two old cards one Fat16 2GB and one Fat32 32GB Both say error.... Both stop Betaflight from connecting when plugged into quad 90% of the time .... have seen them working 1 or 2 times only.

@DronematesFPV
Copy link

running 2 quads 2 types of SD 8gb and 32gb only 6months old . 2 diff FC , 2 diff versions 3.4 and 3.5 both have fatal error on betaflight blackbox. So its Betaflight.

@wildzcardz
Copy link

I was having the same issue. What I had to do to get it working is I am on Win 10 and it does not let you do fat32. Downloaded a program called Rufus Portable and made my sd card fat32 and now have it working for blackbox. Also running the new HW stack with omnibusf4sd firmware.

@0crap
Copy link

0crap commented Sep 14, 2018

I've a 2GB sd card and Win 10 has no problem in formatting it using FAT32.
So I did that and gave it a try.
Still the same problem, FC freezes on boot.
(Sometimes the FC does boot and blackbox can log correctly.)

@wildzcardz
Copy link

wildzcardz commented Sep 15, 2018

@0crap try a class 10 and bigger card like a 16gb. I have a older 4gb that would not work.

@naimo
Copy link

naimo commented Sep 15, 2018

Same issue here with betaflight 3.5.2 OMNIBUSF4SD on a omnibus F4 pro V2 flight controller.
Tried both a 2GB (SD-formatter FAT16, or FAT32) and a 8GB class 10 (SD-formatter FAT32), and the SD card is not recognized (Fatal error Reboot to retry)

@DronematesFPV
Copy link

I have a omnibus F4 pro V2 flight controller. And a CLs racing V1.4 FC both display fatal error. I went and bought a new sankdisk ultra 16gb . This is the one joshua bardwell uses and recommends. both display fatal error . Reflashing does nothin, both have Blackbox active SDCARD in CLI. I conclude betaflight has a floor and is not configured for SDCARD blackbox I believe.

@0crap
Copy link

0crap commented Sep 15, 2018

@0crap try a class 10 and bigger card like a 16gb. I have a older 4gb that would not work.

Sure, that will work.
But that is not the point, this bug is about old SDcards keeping the FC from booting properly.

@DronematesFPV
Copy link

DronematesFPV commented Sep 15, 2018 via email

@0crap
Copy link

0crap commented Sep 17, 2018

@DronematesFPV Wow, that is really bad.

As far as I know there are only bug reports with old SD cards.
Sure hope it gets some attention from the devs.
Nasty bug it is.

@peterkjr24
Copy link

Also having this issue on omnibusf4 with 3.5.2.
Can't connect to configurator with card inserted.
Tried 3 different cards, and a new Scandisk 16gb class 10. If it does connect it says fatal error.
All cards are formatted with sd card formatter.
All cards work fine on 3.2. Also works fine if u use a serial logger.

@ervinsr
Copy link

ervinsr commented Feb 8, 2019

Same issue here with
Matek F405-CTR
At first i got Fatal Error, later i changed baud rate for GPS and it didn't wanted to boot, so i thought that GPS is messing, disconnected it, still no luck - with boot went into DFU, reflashed, still couldn't connect. Removed SDcard - and everything worked, tried three SD cards that i had, and previously worked on Omnibus F4 ProCorner - no luck.
BF 3.5.5

@mikeller mikeller removed this from the 4.0 milestone Feb 28, 2019
@ervinsr
Copy link

ervinsr commented May 3, 2019

Any resolution on this one? Also happening on 4.0

@nmare99
Copy link

nmare99 commented Apr 15, 2021

Same issue here with
Matek F405-CTR BF 4.2.0 and Matek F722-SE BF 4.2.3. FC boots, but "SD card is not recognized (Fatal error Reboot to retry)" in configurator. After switching to CLI and back to configurator, the SD card is detected! After power off and plug again - "SD card is not recognized (Fatal error Reboot to retry)".
PS. SD card 4Gb SDHC.

@haslinghuis
Copy link
Member

Closing as inactive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Bugs are excluded from automatically being marked as stale
Projects
None yet
Development

No branches or pull requests