Skip to main content
RRajb.2
Associate III
July 18, 2023
Question

STM32U575i-EV Ux_Host_MSC example hard fault

  • July 18, 2023
  • 3 replies
  • 2133 views

Hi All,

Cube MX version - 6.9.0

Software Package version - 1.3.0

I am using STM32U575i-EV evolution board and trying to run the Ux_Host_MSC example code.

I generated the code using STM32 Cube Mx using example selector option, I generated the code for IAR.

RRajb2_0-1689681219342.png

As per the below readme file.

/STM32Cube/Example/Ux_Host_MSC/readme.html

I have configured or connected below jumpers.

JP25 : UCPD_5V Jumper

JP6 (UCPD_SRC) : Please on this jumper UCPD_SNK02 is mentioned on board.

JP14 and JP15 : both are connected to 1-2.

after flashing the code I am hitting the hard fault, could you please let me know which are the settings I might need to do if I generate the code using cubemx. currently I have not done any modification through cubemx.

This topic has been closed for replies.

3 replies

RRajb.2
RRajb.2Author
Associate III
July 21, 2023

Could anyone from forum respond to this please?

Amel NASRI
ST Technical Moderator
July 27, 2023

Hi @RRajb.2 ,

Could you please try the example STM32CubeU5/Projects/STM32U575I-EV/Applications/USBX
/Ux_Host_MSC as is in the STM32CubeU5 package without importing it with STM32CubeMX?

Do you face the same issue?

-Amel

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.
RRajb.2
RRajb.2Author
Associate III
August 7, 2023

@Amel NASRI 

I am still facing the same issue, not able to identify which function or peripheral causing the hard fault.