This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can RL_USB run together with FATFS?

Just like title show.

I just want to use FATFS_0.09 run together with rl_usb (not RL_FLASHFS).

any ideas?

or RL_FLASHFS support chinese file names??

Parents
  • I am sorry to tell you that i have defined _VOLUMES

    #define _VOLUMES        3
    /* Number of volumes (logical drives) to be used. */
    

    hard disk has two logical partition.

    i try to use _VOLUMES == 2

    and

    PARTITION VolToPart[] =
    { {2, 1}, {2, 2}
    };

    the same error.

    1.
    res = f_mount(USB,&Fatfs[2]); /*can't mount volume, and return FR_NO_FILESYSTEM*/

    2.
    res = f_mount(1,&Fatfs[1]); /*mount volume success but open file fail, return FR_NO_FILESYSTEM*/
    ...
    res = f_open(&fsrc, "1:/STM32.TXT", FA_OPEN_EXISTING | FA_READ);

    3.
    res = f_mount(0,&Fatfs[0]); /*mount volume success and open file success*/
    ...
    res = f_open(&fsrc, "0:/boot.TXT", FA_OPEN_EXISTING | FA_READ);

Reply
  • I am sorry to tell you that i have defined _VOLUMES

    #define _VOLUMES        3
    /* Number of volumes (logical drives) to be used. */
    

    hard disk has two logical partition.

    i try to use _VOLUMES == 2

    and

    PARTITION VolToPart[] =
    { {2, 1}, {2, 2}
    };

    the same error.

    1.
    res = f_mount(USB,&Fatfs[2]); /*can't mount volume, and return FR_NO_FILESYSTEM*/

    2.
    res = f_mount(1,&Fatfs[1]); /*mount volume success but open file fail, return FR_NO_FILESYSTEM*/
    ...
    res = f_open(&fsrc, "1:/STM32.TXT", FA_OPEN_EXISTING | FA_READ);

    3.
    res = f_mount(0,&Fatfs[0]); /*mount volume success and open file success*/
    ...
    res = f_open(&fsrc, "0:/boot.TXT", FA_OPEN_EXISTING | FA_READ);

Children
No data