I'm trying to use Zevero's avr_boot to use with AVR bootload via a SD card. However I encountered an issue which I assume is due to the SPI clock speed (bit-bang) causing for some SD cards.
These problematic SD cards are working fine when using in the same hardware with arduino standard SD library or arduino FatFs library to perform Read/Writes, they are working fine.
However when using this AVR_BOOT bootloader, diskio.c function disk_initialize( ) fails with STA_NOINIT during initialization.
Have anyone else encountered this issue before?
The bootloader is using ELM Petit FatFs where I don't know whether it's causing some timing issues in the SPI bit-banging functionality causing the SD card initialization fails.
Here is the problematic function/module: https://github.com/zevero/avr_boot/blob/master/diskio.c
Appreciate your help. And sorry if this been a duplicate question.