SD card mounting problem on Custom ECU with latest FW release

It's all about the code!
Post Reply
tmbryhn
Posts: 169
Joined: Wed Feb 12, 2020 2:40 am
Location: Norway

SD card mounting problem on Custom ECU with latest FW release

Post by tmbryhn »

Running Custom ECU based on Proteus v.05.
Powered by USB while testing SD cards (no 12V).

Updated to latest release FW "snapshot_20221208_184053_proteus_f4_rusefi".
SD card refuse to mount. Tried multiple cards.

Backdate to "snapshot_20220703_213113_proteus_f4_rusefi". SD card mounts fine upon USB connection, but only my "Chinese" 128mb SD card.
Multiple new Kingston 32gb or 64gb does not mount whatsoever. Tried formatting multiple times w. default settings and FAT32, exFAT, NTFS. No luck.

Any hints?
User avatar
AndreyB
Site Admin
Posts: 14325
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: SD card mounting problem with latest FW release

Post by AndreyB »

tmbryhn wrote:
Wed Dec 28, 2022 3:13 pm
Running Custom ECU based on Proteus v.05.
...
Any hints?
Please consider having one official board could be microRusEFI could be proteus could be alphax-4chan

If an SD card does not mount on an official board it could be about SPI vs SDIO.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
tmbryhn
Posts: 169
Joined: Wed Feb 12, 2020 2:40 am
Location: Norway

Re: SD card mounting problem with latest FW release

Post by tmbryhn »

Given that the SD card mounts just fine to the exact same unit after back-dating to an older firmware version, it seems like a FW related issue to me.
My boards are currently running F429ZGT6 if that makes any difference.

Also, has there been reported problems with larger SD cards, given that the 128mb mounts jut fine, but the 32gb or 64gb doesn't?
User avatar
AndreyB
Site Admin
Posts: 14325
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: SD card mounting problem with latest FW release

Post by AndreyB »

AndreyB wrote:
Wed Dec 28, 2022 3:42 pm
if an SD card does not mount on an official board it could be about SPI vs SDIO
https://electronics.stackexchange.com/questions/11833/do-all-microsd-cards-support-spi-mode
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
tmbryhn
Posts: 169
Joined: Wed Feb 12, 2020 2:40 am
Location: Norway

Re: SD card mounting problem on Custom ECU with latest FW release

Post by tmbryhn »

Ok, so I looked for some more SD cards lying around, and ended up with four different types. Formatted all of them to standard configuration and exFAT, re-uploaded latest firmware version, and 3/4 sd cards now works and mounts once USB is connected.
IMG_20221228_175527.jpg
IMG_20221228_175527.jpg (2.98 MiB) Viewed 1816 times
The white SanDisk appears as a disk in Windows explorer for a split second after connection before it disappeares. I assume, based on the link posted above, that the white SanDisk doesn't work with SPI, and hence won't mount correctly.
Post Reply