rusefi
078a3cd8c8
only:rtfm?
2025-01-26 15:16:03 -05:00
rusefi
811b249d0c
only:sdlow
2025-01-24 22:27:49 -05:00
Andrey Gusakov
2115f8a705
mmc_card: delete fail reports from mmc thread
2025-01-24 08:45:10 -05:00
Andrey Gusakov
985d49a42b
mmc_card: report files delete command
2025-01-24 08:45:10 -05:00
Andrey Gusakov
e7047ba553
Error report file on SD card indicator
2025-01-23 12:17:04 -05:00
Andrey Gusakov
1acff71d5e
mmc_card: update to new FatFS API
2025-01-21 20:48:33 -05:00
Andrey Gusakov
5fa43c7dac
mmc_card: temp buffer for f_mkfs() should be in non-cached area
2025-01-21 18:34:32 -05:00
Andrey Gusakov
8e959542eb
mmc_card: fix for boards with disabled tooth logger
2025-01-21 16:18:56 -05:00
Andrey Gusakov
e82a913d74
mmc_card: slice log into 32Mb files
2025-01-21 16:18:56 -05:00
Andrey Gusakov
f60a54a353
mmc_card: incapsulate counters in SdLogBufferWriter
2025-01-21 16:18:56 -05:00
Andrey Gusakov
84a77ff3c6
mmc_card: reset binary logger on new file start
...
So each new file is started with proper header
2025-01-21 16:18:56 -05:00
Andrey Gusakov
bad0071aeb
mmc_card: pass pointer to FIL to users
...
Currently we are using same one shared FDLogFile
2025-01-21 16:18:56 -05:00
Andrey Gusakov
e0f7b5e46b
mmc_card: isSdCardAlive() is actualy shows state of SD logger
...
...and not used externally
2025-01-21 16:18:56 -05:00
Andrey Gusakov
ab382a0fdf
WIP: mmc_card: pre-allocate 32Mb for newly created log file
2025-01-21 16:18:56 -05:00
rusefillc
8a210b1b4f
fix
...
only:uaefi
2025-01-21 15:25:44 -05:00
Andrey Gusakov
4f614e5a36
mmc_card: fix unmount
2025-01-21 15:10:51 -05:00
Andrey Gusakov
66cdc4b0bf
mmc_card: simplify updateSdCardLiveFlags()
2025-01-21 15:05:47 -05:00
Andrey Gusakov
953c29c9a6
mmc_card: do not format to extFAT
2025-01-21 10:27:13 -05:00
rusefillc
fcc08a9f8a
helping simulator
...
only:uaefi
2025-01-21 10:27:06 -05:00
Andrey Gusakov
68d4a63728
mmc_card: implement SD card mode switcher
2025-01-21 10:20:29 -05:00
rusefillc
533cb0852f
helping hellen
2025-01-21 09:54:17 -05:00
Andrey Gusakov
54fa27e099
mmc_card: divide unmount into parts
2025-01-21 09:40:03 -05:00
Andrey Gusakov
40c4143aa4
mmc_card: sdState -> sdStatus and convert to enum
2025-01-21 09:40:00 -05:00
Andrey Gusakov
ee32e391ac
helping simulator
...
only:uaefi
2025-01-21 09:32:42 -05:00
Andrey Gusakov
8f8460a937
mmc_card: divide init and mount
2025-01-21 09:27:28 -05:00
Andrey Gusakov
76a41f0387
mmc_card: createLogFile() do not append already exist file
2025-01-20 15:45:33 -05:00
rusefi
97b8d7a757
f_setlabel(SD_CARD_LABEL)
2025-01-20 13:47:38 -05:00
rusefillc
173fc2be47
bool mmcUnMount
...
only:chThdSleepMilliseconds
2025-01-20 10:15:17 -05:00
rusefillc
14029bc55e
SD card un-mount unmount when we turn off programmatically #7289
...
only:uaefi
2025-01-19 16:23:34 -05:00
Andrey Gusakov
6f62a6125e
error_handling: fixes for ECU with no backup RAM 2
2025-01-15 10:31:14 -05:00
Andrey Gusakov
0e6dc0c7b2
workaround include mess when building simulator
2025-01-15 10:31:14 -05:00
Andrey Gusakov
e0c05c4777
error reporting: extract all related code to error_handling
...
Also:
-report ChibiOS panic message
-use bootCount for boot report file naming
-save few bytes in backup ram by reusing same field for different errors types
2025-01-15 10:31:14 -05:00
rusefillc
e1334a4233
hasCriticalReportFile method #7291
...
only:uaefi
2025-01-13 18:32:10 -05:00
rusefillc
42c5b0b242
fixing build
...
only:subaru_eg33_f7
2025-01-13 18:06:52 -05:00
Andrey Gusakov
3bbab0d776
mmc_card: show SPI clock on debug
2025-01-13 17:34:09 -05:00
Andrey Gusakov
528e5f79b4
mmc_card: calculate SPI dividers in runtime (is supported by platform)
2025-01-13 17:34:09 -05:00
rusefillc
ded7064702
better order of operations?
...
only:uaefi
2025-01-13 10:54:22 -05:00
rusefillc
a9499375db
log hard fault red LED reason on SD card #7290
...
do not go MSD, write hard fault instead!
only:uaefi
2025-01-13 10:39:16 -05:00
Andrey Gusakov
2481ce87a3
mmc_card: more code formating
2025-01-13 08:49:49 -05:00
rusefillc
4ae63c8a97
log hard fault red LED reason on SD card #7290
2025-01-12 23:32:55 -05:00
rusefillc
d94364b9e7
log hard fault red LED reason on SD card #7290
...
only:extracting some code into new file
2025-01-12 22:42:45 -05:00
Andrey Gusakov
ffbee7bdd0
mmc_card: just a code formating
2025-01-12 08:27:39 -05:00
Andrey Gusakov
0601c4b6bf
mmc_card: no zombie threads please
2025-01-11 10:17:22 -05:00
Andrey Gusakov
8f45cf697f
mmc_card: incLogFileName() handle all return codes
2025-01-11 10:17:22 -05:00
Andrey Gusakov
2187b52a81
mmc_card: verbose/correct debug messages
2025-01-11 10:17:22 -05:00
Andrey Gusakov
b24e9a7198
mmc_card: decode and show FatFS error codes
2025-01-11 10:17:22 -05:00
Andrey Gusakov
fe4a6405e1
mmc_card: dead
2025-01-11 10:17:22 -05:00
rusefillc
4369cc0682
bugfix: HAL_USE_USB_MSD not relevant for SD card file names
...
only:uaefi
2025-01-08 18:41:26 -05:00
Matthew Kennedy
5b876677d6
more accurate SD card rate
2024-11-25 00:02:25 -05:00
rusefillc
2faa6c3681
only:getSdCardFieldsCount
2024-10-14 22:24:53 -04:00