FATS SDCARD-SPI unmout how to

Hi, I am facing an issue with sd card and fatfs. I am working with a STM32l073CZ connected to a SD Card throug SPI. Mounting, writing operation work fine. I need to eject the card and then remount it with the system powered up. I wait the writing process to be finished, I remove the card. When I reinsert it and try to write (append) in the previous file, it doesn’t work.

So after reinserting the card, I try to _mount the card again. No way. I do have this following debug trace where we can see that the system stay on _wait_for_not_busy Question is: how to proper umount the sdcard? Best regards Denis

2021-04-29 20:28:39,602 # mtd_sdcard_init 2021-04-29 20:28:39,605 # init sdcard_mtd 0 [OK] 2021-04-29 20:28:39,607 # mounting file system image… 2021-04-29 20:28:39,608 # mtd_sdcard_init 2021-04-29 20:28:39,612 # mtd_sdcard_read_page: page:0 offset:0 size:512 2021-04-29 20:28:39,619 # sdcard_spi_send_cmd: CMD17 (0x00000000) (remaining retry time 72 usec) 2021-04-29 20:28:39,621 # _wait_for_not_busy: [BUSY]