cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U575i-EV Ux_Host_MSC example hard fault

RRajb.2
Associate III

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.

3 REPLIES 3
RRajb.2
Associate III

Could anyone from forum respond to this please?

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 Accept as Solution on the reply which solved your issue or answered your question.

RRajb.2
Associate III

@Amel NASRI 

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