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

no sdcard found Beerotor F4 #9871

Open
guerradr opened this issue Mar 29, 2024 · 6 comments
Open

no sdcard found Beerotor F4 #9871

guerradr opened this issue Mar 29, 2024 · 6 comments
Labels

Comments

@guerradr
Copy link

guerradr commented Mar 29, 2024

Current Behavior

SD card: Startup Failed

INAV/BEEROTORF4 7.0.0 Dec  5 2023 / 09:37:23 (895a4f31)
GCC-10.3.1 20210824 (release)
System Uptime: 120 seconds
Current Time: 2041-06-28T01:04:00.000+00:00
Voltage: 0.00V (0S battery - NOT PRESENT)
CPU Clock=168MHz, GYRO=MPU6500, ACC=MPU6500, BARO=BMP280
STM32 system clocks:
  SYSCLK = 168 MHz
  HCLK   = 168 MHz
  PCLK1  = 42 MHz
  PCLK2  = 84 MHz
Sensor status: GYRO=OK, ACC=OK, MAG=NONE, BARO=OK, RANGEFINDER=NONE, OPFLOW=NONE, GPS=NONE
SD card: Startup failed
Stack size: 6144, Stack address: 0x10010000, Heap available: 1828
I2C Errors: 0, config size: 9455, max available config: 131072
ADC channel usage:
   BATTERY : configured = ADC 1, used = none
      RSSI : configured = ADC 3, used = none
   CURRENT : configured = ADC 2, used = none
  AIRSPEED : configured = none, used = none
System load: 4, cycle time: 1008, PID rate: 992, RX rate: 9, System rate: 9
Arming disabled flags: CAL ACC RX CLI
OSD: MAX7456 [30 x 16]
VTX: not detected

Steps to Reproduce

  1. Inserted freshly formated SD Card (32g and 8g)
  2. Tried INAV 5.1 /6.0.0 / 6.1.1 / 7.0.0 / 7.1 - same result
  3. The SD Card works with Betaflight 4.4.3 (SD card: Manufacturer 0x74, 30587904kB, 07/2014, v2.0, 'USD ')
  4. Tried with sdcard_detect_inverted = OFF and ON

Expected behavior

SD Card recognized

Suggested solution(s)

look at BF differences on the Board?

Additional context

DUMP from INAV
INAV_7.0.0_cli_20240401_185119.txt

DUMP from Betaflight:
Betaflight_Dump_4.4.3.txt

  • FC Board name and vendor:
  • INAV version string:

INAV/BEEROTORF4 7.0.0 Dec 5 2023 / 09:37:23 (895a4f3)

GCC-10.3.1 20210824 (release)

@b14ckyy
Copy link
Collaborator

b14ckyy commented Mar 29, 2024

Can you please attach diff's as a file and not plain text?

What model SD card is it? Can you format it again please and on Sector size (in Windows) select STANDARD (or maybe DEFAULT) instead of 32kB. then try again.
32GB might not work at all but 8GB should.

@guerradr
Copy link
Author

guerradr commented Mar 29, 2024

I tried following SD Cards (all freshly formatted with official SD Card Formatter).

Transcend 32GB HCI
Transcend 16GB HCI UHC1
Noname 8GB
NOKIA 1GB

all of them work fine on Betaflight 4.4.3

@guerradr
Copy link
Author

guerradr commented Apr 1, 2024

The board crashes if I select Blackbox in INAV 7.1.0 Configurator and has to be rebootet until MSP connection can be reopened. I guess it's because the SD Card is not responding.

@guerradr
Copy link
Author

guerradr commented Apr 1, 2024

Solution found!
In CLI:


set blackbox_device = SDCARD

and it got recogniced:

SD card: Manufacturer 0x74, 30587904kB, 07/2014, v2.0, 'USD  '
Filesystem: Ready

The INAV Configurator 7.1.0 still shows "No dataflash chip found" but Blackbox Tab works.

@b14ckyy
Copy link
Collaborator

b14ckyy commented Apr 1, 2024

The Dataflash not found is normal. Its only active when you have on board blackbox flash. Not for SD cards.
But thanks for sharing that fix. Maybe someone can try that and maybe it helps the other 2 similar reports. Could be a bad parameter default.

@b14ckyy
Copy link
Collaborator

b14ckyy commented Apr 3, 2024

btw one last question. Did you manually select the SD Card here before?
image

I just found with another FC that if I set it to Serial Device there (as it was in your dump) the FC locks up as well and now I can't access the Blackbox side as well. This is indeed a bug. Not sure if configurator or firmware side.

@b14ckyy b14ckyy added the BUG label Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants