[ABANDONED] SD card doesn't work well after FS_Deinit() is called

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • [ABANDONED] SD card doesn't work well after FS_Deinit() is called

      Hi,

      I am using emfile to read pictures from SD card. I have a certain function working this way:
      1. Initialization of hardware.
      2. Display of a window.
      3. When the powder button is pressed, I Unmount and deinit before powering down.
      4. When I try to power back up, I initialize file system using FS_Init().

      Problem: All other Images are not being displayed anymore except for the first image on the SD card. Looks like the initialization after waking up from powder down doesn't seem to be working well. Has anyone come across this problem before?

      Also, I read on emfile document about an API called FS_AddOnExitHandler(). Do I have to use this during initialization?

      Appreciate any help.

      Thanks and regards,
      BMD
    • Hi,

      as mentioned in your other thread, this is a forum section dedicated to emWin. Please use the emFile forum for threads regarding emFile.

      Best regards,

      Florian
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.