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
rusEFI LLC
c1ee210f58
!isSdCardEnabled
...
only:uaefi
2024-09-19 19:34:58 -04:00
rusefillc
a5fc4550d3
simpler 'isSdCardEnabled' logic
...
only:uaefi
2024-09-19 16:46:14 -04:00
Andrey Gusakov
589d98ca85
mmc_card: RD and WR indicators
2024-07-13 05:55:53 -04:00
Andrey Gusakov
a6bc530fba
mmc_card: misc
2024-07-13 05:55:53 -04:00
Andrey
2d9601bd7e
alwaysWriteSdCard #6703
...
only:uaefi
2024-07-12 17:24:57 -04:00
Matthew Kennedy
27e0a80c82
compile-time enforcement of printf strings
...
only:uaefi
2024-06-10 19:11:35 -04:00
rusefillc
4ddb23cda9
only: power management for SD card MSD
2024-04-13 12:11:19 -04:00
rusefillc
eaf2f7844f
only: wait until board has turned itself on
2024-04-12 21:43:07 -04:00
Andrey
cc161fb029
better guards
2024-03-15 19:04:46 -06:00
Andrey Gusakov
92030fb5a0
mmc_card: use blk* wrappers
2023-12-16 11:50:34 -05:00
Andrey Gusakov
99e3b21da0
mmc_card: no not lock SPI if MMC_USE_MUTUAL_EXCLUSION enabled
2023-12-16 11:50:34 -05:00
Andrey
6d12cdb7c9
only: debug channel cleanups
2023-09-14 10:10:10 -04:00
Andrey G
1b3c5a7d6f
GetToothLoggerBufferBlocking() can return nullptr ( #5462 )
...
Co-authored-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2023-07-25 10:36:27 -04:00
Matthew Kennedy
12a29232cc
tooth_logger.h -> pch
...
(cherry picked from commit ad3ea57276361b6da69eb920dd056a662f6f5c70)
2023-05-31 15:59:02 -04:00
Andrey Gusakov
cdd5161d52
usb: wait 15 sec for usb to spin up
...
Wait 15 seconds for USB to become CONFIGURED.
Previous timeout was 5 sec. Windows does usb enumeration quite slow
lets give some more room
2023-05-09 07:08:11 -04:00
Matthew Kennedy
61e5b4b1ad
change ObdCode to enum class builds firmware
2023-04-29 00:44:00 -04:00
Andrey
eb239f7278
separate status for separate state
2023-02-26 20:25:24 -05:00
rusefi
1fae27fcc2
The road to hell is paved with good intentions
2023-01-08 16:48:29 -05:00
Matthew Kennedy
1f83047ddd
tolerate no SPI device
2022-12-21 20:26:39 -05:00
Matthew Kennedy
87b903a2e3
nonblocking for TS, blocking for SD card ( #4903 )
2022-12-17 20:01:15 -05:00
rusefillc
85976ed63d
guards
2022-12-17 15:23:32 -05:00
rusefillc
fa4c69f6cf
SDC_MODE flexibility
2022-12-16 20:22:48 -05:00
Matthew Kennedy
52884c64cb
SD card tooth log ( #4897 )
...
* adjust tooth logger api
* mmc card writes tooth log
* changelog
2022-12-15 08:34:10 -04:00
Matthew Kennedy
ef53ff0104
period -> frequency ( #4837 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-27 08:10:05 -05:00