I'm using custom board with 32MHz oscillator and S110 SD 7.1 (SDK 6.1). Somteimes (quite rare) the chip completely hangs when calling sd_flash_erase in pstorage.c. Only hard reset recovers the chip.
Do you have any idea what could cause this?
I'm using custom board with 32MHz oscillator and S110 SD 7.1 (SDK 6.1). Somteimes (quite rare) the chip completely hangs when calling sd_flash_erase in pstorage.c. Only hard reset recovers the chip.
Do you have any idea what could cause this?
What do you mean by hangs? it could be simple APP_ERROR_CHECK fail case. Did you try to debug it and pinpoint exactly where it happens?
Sorry for not being clear. The APP_ERROR_CHECK is never reached. The function never returns.
need to check your code, can you attach the project, i can try it on my desk. If you are uncomfortable putting code in public, then send me it as an attachment in PVT message.