As per the title, trying to init an sd card so I can read to it, getting -5005 errors at runtime (on nuculeo f429zi)
Tried different boards, sd cards and formatted multiple times.
Cant find any documentation on this issue, either official or not
SDBlockDevice* sdcard = new SDBlockDevice(PB_5, PB_4, PB_3, PF_3);
printf("Starting write...\n");
int err;
err=sdcard->init();
if ( 0 != err) {
printf("Init failed %d\n",err);
return -1;
}
This is the relevant section of code