cancel
Showing results for 
Search instead for 
Did you mean: 

FileX initialization error

Victorheca01
Associate II

Hi, All

   I tested eval board of MB1550C with MCU of STM32U575. 

   I setup FileX, ThreadX and everything according to the document, but when software initialise it in

  MX_SDMMC1_SD_Init(). Error happened.

  I setup frequency to 48M.

It seems that the SD card are not detected at all.

Thanks in advance.

Victor

4 REPLIES 4
Ghofrane GSOURI
ST Employee

Hello @Victorheca01 

First let me thank you for posting.

Could you please provide your IOC so that we can check your configuration and determine what could be the problem?

Thx

Ghofrane

Hi Ghofrane,

    Thank you. Attached please find my IOC file. thanks in advance.

Regards

Victor

Hello @Victorheca01 

Thanks for sharing your IOC.

It has come to my attention that you activated Filex, Thread X, and USBX after using the 'initialize all peripherals with their default mode' option.

I recommend using the "initialize all peripherals with their default mode" option and then clearing the pinouts (to maintain the correct clock configuration), configuring  the peripherals necessary for your application and ensure that there are no conflicts in your configuration.

I will be waiting for your feedback.

Thx

Ghofrane

 

 

 

Hi Ghofrane,

   Thank you for your help.

   The File system is working on STM32U575I-EV board already. However, when I run the same software on  NUCLEO-U575ZI-Q, it failed to create a file. 

    I found that the card detect pin is connected to PI0 on STM32U575I-EV board, but on NUCLEO-U575ZI-Q, PI0 is not available. I connected the card detect pin to PF3, how can I change its configuration in IOC. thanks in advance.

 

Regards

Victor