uSD card deck failing to mount the SD card #1733
Unanswered
BabyKong04
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Can you try a default (or any other) config from the examples? Perhaps the one you use exceeds the number of logging parameters, or you have some other mistake in the config. I found that the error messages are not very helpful there. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good morning,
I have a crazyflie 2.1 and am using the microSD card deck to log flight data. When I insert the microSD card and connect the crazyflie to the cfclient, then the console shows that it failed to mount the SD card. I've attached my console output below:
SYS: ----------------------------
SYS: Crazyflie 2.1 is up and running!
SYS: Build 0:b046745801fc (2024.10.2) CLEAN
SYS: I am 0x38353530353947090027003B and I have 1024KB of flash!
CFGBLK: v1, verification [OK]
DECK_CORE: 2 deck(s) found
DECK_CORE: Calling INIT on driver bcLighthouse4 for deck 0
DECK_CORE: Calling INIT on driver bcUSD for deck 1
uSD: mount SD-Card [FAIL].
IMU: BMI088: Using I2C interface.
IMU: BMI088 Gyro connection [OK].
IMU: BMI088 Accel connection [OK]
IMU: BMP388 I2C connection [OK]
ESTIMATOR: Using Kalman (2) estimator
CONTROLLER: Using PID (1) controller
MTR-DRV: Using brushed motor driver
SYS: About to run tests in system.c.
SYS: NRF51 version: 2024.10 (CF21)
EEPROM: I2C connection [OK].
STORAGE: Storage check [OK].
IMU: BMI088 gyro self-test [OK]
DECK_CORE: Deck 1 test [OK].
SYS: Self test passed!
STAB: Wait for sensor calibration...
SYS: Free heap: 16096 bytes
LHFL: Lighthouse bootloader version: 2
STAB: Starting stabilizer loop
ESTKALMAN: State out of bounds, resetting
SUP: Can not fly
SUP: Ready to fly
LHFL: Bitstream CRC32: 112BC794 [PASS]
LHFL: Firmware version 6 verified, booting deck!
The uSD card is formatted as MS-DOS (FAT 32), and I've loaded the following config.txt file onto it:
1 # version
512 # buffer size in bytes
log # file name
1 # enable on startup (0/1)
on:fixedFrequency
250 # frequency
1 # mode (0: disabled, 1: synchronous stabilizer, 2: asynchronous)
acc.x
acc.y
acc.z
gyro.x
gyro.y
gyro.z
baro.asl
baro.temp
baro.pressure
stabilizer.roll
stabilizer.pitch
stabilizer.yaw
stabilizer.thrust
ctrltarget.roll
ctrltarget.pitch
ctrltarget.yaw
range.zrange
on:activeMarkerModeChanged
Do you have any ideas as to why the sd card is not being read by the sd card deck?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions