no sdcard found Beerotor F4
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
- Inserted freshly formated SD Card (32g and 8g)
- Tried INAV 5.1 /6.0.0 / 6.1.1 / 7.0.0 / 7.1 - same result
- The SD Card works with Betaflight 4.4.3 (SD card: Manufacturer 0x74, 30587904kB, 07/2014, v2.0, 'USD ')
- 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 (895a4f31)
GCC-10.3.1 20210824 (release)
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.
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
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.
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.
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.
btw one last question. Did you manually select the SD Card here before?
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.