Skip to main content
Yunus ARI
Senior
October 6, 2020
Question

Usage together TouchGFX and FatFS

  • October 6, 2020
  • 3 replies
  • 1680 views

Hi everyone,

I am trying to use fatfs with touchgfx in my project. I can mount SD card with fatfs. But I get an error that "FR_NO_FILESYSTEM" from fatfs stack when try to open a file.

I installed and ran fatfs with cubeMX then copied to my touchgfx project. This installed project needs to use DMA for fatfs. But when I want to copied this project to my own project, I realise that TouchGFX board configurations used DMA to. So, I think touchgfx disrupt fatfs.

I using STM32F767BG microcontroller and TouchGFX v4.13.0 for this project. I sure my SD card hardware is working. I used it when I open a new project without TouchGFX.

What am I supposed to do for fix that.

Thank you in advance, be healthy.

This topic has been closed for replies.

3 replies

EMitu
Associate III
May 6, 2021

I've got same problem. Doesn't work with SD card and FS and HS USB flash drives. STM32F746-Discovery

Romain DIELEMAN
ST Employee
May 7, 2021

Hi,

Could you share your project if not confidential ? (can't promise to fix it :grinning_face_with_sweat: but other people will be able to have a look).

/Romain

EMitu
Associate III
May 18, 2021

it's not a secret. But project is very simple. You can try to make simple project with touchGFX and USB HS. When i try to open any file or folder - always get error "FR_DISK_ERR". With USB FS i can create work project. But with USB HS and SD card - no.