This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TDA2EXEVM: USB mass_storage on mounted VFAT device sync issue

Part Number: TDA2EXEVM

Tool/software: Linux

Hi all,

We are using tda2ex evm with vision sdk 2.12

We are using usb2 as gadget mass storage.

1. mount the partition as 

mount -t vfat /dev/mmcblk0p4 /mnt

2. load the driver as below

modprobe g_mass_storage file=/dev/mmcblk0p4 removable=1

when I write it on /mnt dir its not sync with host side(files are not sync with host and target). after the next reboot files are proper on host and target 

How to sync host and target files in gadget mass storage mode without reboot?

Regards,

RAJ M

  • Hi Raj,

    I believe, It is not by design to make both host(in the form of storage like mass storage) and device(in the form of mounted partition) access the same partition simultaneously. So would suggest to first mount, write into the partition, unmount it and then insert the USB mass storage driver and check if it helps.