loboris / MicroPython_K210_LoBo

MicroPython implementation for Kendryte K210
128 stars 24 forks source link

using old microSD cards version 1 #23

Open krishnak opened 4 years ago

krishnak commented 4 years ago

I am trying to use a micro SD card version 1 - the card is brand new, however its made 10 years ago. The driver code here https://github.com/loboris/MicroPython_K210_LoBo/blob/68a6b75d4a0b96dbd9e9749dde611395464df3a0/k210-freertos/platform/sdk/kendryte-freertos-sdk/lib/drivers/src/storage/sdcard.cpp#L516

doesn't support older version SD cards. Is there any know opensource code which supports older SD cards?

loboris commented 3 years ago

The SD Card driver is much improved and it now supports all kinds of SDCards (even the 128MB - 256MB SDFlash chips). The update will be commited to the repository this week.