Andrey Gusakov
cdd6fb1fe9
mmc_card: sdCardGetCurrentMode() helper
2025-02-24 06:29:29 -06:00
rusefillc
652a3b8929
document and/or fix hellenDisableEn #7492
...
only:typo
2025-02-23 23:07:10 -06:00
rusefillc
4981aa40ee
document and/or fix hellenDisableEn #7492
...
only:docs
2025-02-23 21:58:52 -06:00
Andrey Gusakov
0304584228
mmc_card: tabs please
2025-02-18 06:37:15 -05:00
Andrey Gusakov
62ccf7c573
mmc_card and MSD: use same shared ram for buffers and FS structures
2025-02-18 06:37:15 -05:00
Andrey Gusakov
90a019e720
mmc_card: use same ram for format buffer and file structure
2025-02-18 06:37:15 -05:00
Andrey Gusakov
4a0da80a9b
mmc_card: extract Hellen specific code to Hellen files
2025-02-13 15:54:07 -05:00
Andrey Gusakov
4ad546b540
mmc_card: hide more
2025-02-13 12:47:55 -05:00
Andrey Gusakov
8741a56601
mmc_card: hide
2025-02-13 12:47:55 -05:00
Andrey Gusakov
6ad3218011
mmc_card: isSdCardEnabled() for SDIO interface is much simplier
2025-02-13 12:47:55 -05:00
rusefi
ae13732a39
SD card mode selection: do not wait for USB if vbatt voltage #7424
2025-02-12 09:04:43 -05:00
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