Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

AM5746: "how to enable FatFs" with PROCESSOR-SDK-RTOS-AM57X

$
0
0

Part Number:AM5746

Hello, TI Experts,

 

Our customer sent us questions about "how to enable FatFs" with PROCESSOR-SDK-RTOS-AM57X.

We found related description like below in spruhd4m.pdf.

http://www.ti.com/lit/ug/spruhd4m/spruhd4m.pdf

"You can modify this default by changing the definition of _VOLUMES in the ffconf.h file in the FatFS module."

So, we tried to modify "ffconf.h" & rebuild like below "Detail Procedure".

But we found Errors like below;

  "src/ff.c", line 3918: error #137: struct "<unnamed>" has no field "sclust"

  "src/ff.c", line 3925: error #169: argument of type "FATFS *" is incompatible with parameter of type "_FDID *"

  "src/ff.c", line 3941: error #137: struct "<unnamed>" has no field "fsize"

  "src/ff.c", line 3942: error #137: struct "<unnamed>" has no field "fsize"

  4 errors detected in the compilation of "src/ff.c".

 

Detail Procedure:

     - Modify "C:\ti\pdk_am57xx_1_0_11\packages\ti\fs\fatfs\ffconf.h" like below;

         _USE_FIND=1

         _USE_FASTSEEK=1

         _USE_EXPAND=1

         _USE_CHMOD=1

         _USE_LABEL=1

         _FS_RPATH=2

         _FS_LOCK=1

   - Bulid

       - cd C:\ti\pdk_am57xx_1_0_11\packages

       - pdksetenv.bat

       - gmake

 

Question:

  - Is there same experience?

  - Is this procedure is correct for enabling & configuring FatFs?

We would appreciate if you tell us how to solve this problem.

 

Best regards,


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>