- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hellow. my name is Younghak Kim
I succeeded in reading and writing data to eMMC memory using FX3SfileSystem.
However, if i use FX3_SMassStorage file to browse for files stored on the eMMC on your computer, you will not be able to see the xx.txt file.
The FX3SfileSystem and FX3SMassStorage are set to FAT32.
What should I modify to make each other aware?
I desperately need your help.
Thank You.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have tested with a FAT32 formatted pendrive and found no issue with it. Here are the steps:
a. Do FAT32 format of a 32GB SD card in PC
b. Connect it to FX3S-FPGA kit (which has SD slot)
c. Program FATfs firmware
d. Create a file.
e. Now reset the board and program FX3SMassStorage firmware
f. I am now able to read the file.
Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Kim,
When using the FX3SMassStorage example firmware, are you able to write a new file and read back the same?
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hellow Srinath S.
Write a new file and read back the same is very great!
I think A and B can't find each other's save files?
I can't find the cause.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hellow Srinath S.
Write a new file and read back the same is very great!
I think FX3SFileSystem and FX3SMasStorage can't find each other's save files?
I can't find the cause.
I used eMMC memory.
The source code was used with a slight modification of the file provided by Cypress.
I'd like to attach the used source code, but I don't know how.
thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hellow Srinath S.
Compiled the FX3SMasStorage source code and downloaded it to FX3S.
The FX3S and laptop are connected using USB.
The eMMC memory connected to the FX3S was analyzed using the HxD program as shown below.
The BootRecorder is located on Sector0.
In the FX3SFileSystem -> ff.c -> FRESULT f_mkfs() function...
As shown below, in FX3SFileSystem, Sector63 is the Start Sector.
Is this the problem?
FX3SMasStorage -> Sector0, FX3SFileSystem -> Sector63 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hellow Srinath S.
FX3SMassStorage file sets the boot sector to 0.
FX3SFileSystem file sets the boot sector to 63.
I want to know how to make this price equal.
Best regards,
Younghak Kim.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The FX3SFileSystem firmware implements the FatFs on the memory device. Depending on the partitioning rule mentioned in the disk_ioctl function call, it is either FDISK or SFD which determines how the storage device is to be partitioned. In the FX3SMassStorage example firmware, the file system implementation is taken care by the host PC. So, there might be a difference in the file system between these thereby causing the mentioned issue.
Please refer to the below article.
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hellow Srinath S.
Thank you very much for your kind reply.
I need a file that combines the FX3SFileSystem and FX3SMassStorage file provided by Cypress.
I tried to combined two file, however fail.
I don't have the ability to use RTOS(ThreadX)
I really need a file that combines two files. help me.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please let me know your application and the requirements that you need from both these firmware examples.
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hellow Srinath S.
The application I need is illustrated in the figure below.
I want to read/write data to eMMC through the UART port of FX3S.
Also, I want to read or write data to eMMC through the USB port of FX3S.
I tried to combine the FX3SFilesystem and FX3SMassStorage files provided by Cypress into a single file, but they didn't work.
The FX3SFilesystem files will work correctly.
The FX3SMassStorage files will work correctly.
FX3SFilesystem and FX3SMassStorage files are combined and want to have one file that works normally.
Your help is very necessary.
Thank you.
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please note that the file system used by the two firmware will not be the same and the eMMC will not be aware of this. Hence, when two different firmware are used, the data cannot be properly written to and read back from the eMMC memory. In order to perform this, the UART data/ USB data needs to be handled by a single firmware running in the FX3S and written to the eMMC memory.
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hellow Srinath S.
I understand what you have described.
What I want is to make two files one.
I don't know how to use the ThreadX RTOS.
So, I tried many times but failed.
I want to combine filesystem and MassStorage files into Single Firmware.
I want to test with normal Single Firmware.
Can you help me?
Thank You.
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have tested with a FAT32 formatted pendrive and found no issue with it. Here are the steps:
a. Do FAT32 format of a 32GB SD card in PC
b. Connect it to FX3S-FPGA kit (which has SD slot)
c. Program FATfs firmware
d. Create a file.
e. Now reset the board and program FX3SMassStorage firmware
f. I am now able to read the file.
Regards,
Hemanth