Skip to main content
Associate III
June 11, 2026
Question

CPU didn't work when config MPU

  • June 11, 2026
  • 4 replies
  • 30 views

Dear all!

i’m working with STM32H743ZIT6 in ETH RMII, ADC, blink led if i disable MPU, Lwip config, led will blink, when i enable 

MPU_Config();
  SCB_EnableICache();
  SCB_EnableDCache();
  MX_LWIP_Init(); CPU hang, led didn’t blink, so can you help to take alook my IOC file, and share me how to config this task

4 replies

Andrew Neil
Super User
June 11, 2026

Welcome to the forum

Please see How to write your question to maximize your chances to find a solution for best results.

 

In particular, what board are you using?

 

MX_LWIP_Init(); CPU hang,

Where, exactly, does it “hang”?  What is happening in this “hung” state?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate III
June 11, 2026

hi, when i disable MX_LWIP_Init(); and MPU_Config();   SCB_EnableICache();  SCB_EnableDCache(); led can blink, if i enable these function, led didn’t blink, i don’t how to detect stop point. Current i use custom board. i try to down load STM32H743 nucleo board, it have same issue.

mƎALLEm
ST Technical Moderator
June 11, 2026

Start by enabling the cache, / configuring the MPU, remove all Ethernet related functions for the moment, do you see the same behavior with the LED?

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Associate III
June 11, 2026

hi, many thanks for your mention, when i disable ETH & Lwip, still enable MPU, CPU still work→ led blink, can you share me next step.

mƎALLEm
ST Technical Moderator
June 11, 2026
To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Associate III
June 11, 2026

i try to config as your link but issue still happen, led did blink