-
Notifications
You must be signed in to change notification settings - Fork 50
Description
Subject of the issue
Having trouble with OLA_settings.txt getting corrupted, and OLA locking up.
Your workbench
OLA running 1.10 firmware.
Logging every 5 seconds.
MPR MicroPressure Sensor
Samsung 32GB uSD card freshly formatted with SD card formatter.
Steps to reproduce
- Insert uSD card formatted with SD card formatter.
- Power up OLA via USB-C, connect and go into main menu
- Select 6) Detect / Configure Attached Devices
- Select 1) MPR MicroPressure Sensor (0x18)
- Change units from PSI (default) to kPa.
- Enter x to exit menu.
- Select 2) Configure Qwiic Settings
Expected behavior
Should save changes and go into Qwiic settings. Should never lock up.
Actual behavior
OLA locks up on final step above.
After power cycle:
- OLA_deviceSettings.txt does not appear to have been altered to reflect change in units.
- OLA_settings.txt is corrupt. Entering cat OLA-settings.txt will lock up OLA.
- If card is removed and inserted into PC, OLA_settings.txt can not be read.
If I delete OLA_settings.txt and power cycle, the OLA will take one sample, then lock up.
My OLA_settings.txt looks like this:
cat OLA_settings.txt
sizeOfSettings=152
olaIdentifier=282
nextSerialLogNumber=1
nextDataLogNumber=22
usBetweenReadings=5000000
logMaxRate=0
enableRTC=1
enableIMU=1
enableSD=1
enableTerminalOutput=1
logDate=1
logTime=1
logData=1
logSerial=0
logIMUAccel=1
logIMUGyro=0
logIMUMag=0
logIMUTemp=1
logRTC=1
logHertz=0
correctForDST=0
americanDateStyle=1
hour24Style=1
serialTerminalBaudRate=115200
serialLogBaudRate=9600
showHelperText=1
logA11=0
logA12=0
logA13=0
logA32=0
logAnalogVoltages=1
localUTCOffset=0
printDebugMessages=0
powerDownQwiicBusBetweenReads=0
qwiicBusMaxSpeed=100000
qwiicBusPowerUpDelayMs=250
printMeasurementCount=1
enablePwrLedDuringSleep=1
logVIN=1
openNewLogFilesAfter=0
vinCorrectionFactor=1.47
useGPIO32ForStopLogging=0
qwiicBusPullUps=1
outputSerial=0
zmodemStartDelay=20
enableLowBatteryDetection=0
lowBatteryThreshold=3.40
frequentFileAccessTimestamps=0
useGPIO11ForTrigger=0
fallingEdgeTrigger=1
imuAccDLPF=0
imuGyroDLPF=0
imuAccFSS=0
imuAccDLPFBW=7
imuGyroFSS=0
imuGyroDLPFBW=7
logMicroseconds=0
useTxRxPinsForTerminal=1
timestampSerial=0
timeStampToken=10
useGPIO11ForFastSlowLogging=1
slowLoggingWhenPin11Is=0
useRTCForFastSlowLogging=0
slowLoggingIntervalSeconds=300
slowLoggingStartMOD=1260
slowLoggingStopMOD=420
resetOnZeroDeviceCount=0