cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H753ZI: Ethernet and usb cdc together problem

Hello guys,

I am using Ethernet and USB together. Ethernet in rmii mode without RTOS  and Using USB as cdc,

after flashing the program it runs normally but  when i ping or Access  the IP from web :spider_web: it goes to hard  fault handler 

If USB init () is Commented then everything is working fine but when uncommented it goes to hard fault handler


so i want the solution to use  USB and Ethernet simultaneously and can  it be used without RTOS or should we use RTOS?

1 REPLY 1
mƎALLEm
ST Employee

Hello @Omkar_chandaragi and welcome to the ST community,

USB and Ethernet can be used simultaneously on STM32H7 and can be used without RTOS.

Check if you have issues with memory sharing between both USB and Ethernet. Did you study the memory split between both related software (USB and ETH)?

Read How to debug a HardFault on an Arm® Cortex®-M STM32

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.