Skip to main content
ET.2
Associate II
March 10, 2023
Solved

H743I Eval2 board is working with TouchGFX to display data. but unable to activate ETH and lwip middleware with CubeIDE.

  • March 10, 2023
  • 4 replies
  • 2293 views

I use H743I Eval2 board , able to build application with TouchGFX to display data. I am trying to activate ETH with lwip middleware with CubeIDE. have enable CORTEX_M7 (Icache,Dcache) but can not select any mode (MII, RMII) in ETH, (a forbidden mark is showing) ,as result, lwip is also unable to select. please advice, thanks

This topic has been closed for replies.
Best answer by Rim LANDOLSI

Hello @ET.2​ ,

At first, let me thank you for reporting this issue.

When creating a touchgfx application, it occupy lots of gpio such as ETH MII pins.

The solution is to try to change these pins to the alternate pins to solve conflicts, as shown in the screenshot.

0693W00000aJeAcQAK.png 

Thanks,

Rim

4 replies

Osman SOYKURT
Technical Moderator
March 10, 2023

Hello ET.2

Indeed, in STM32CubeIDE it's not possible to select natively ETH with the TBS we provide because apparently ETH uses PINS that are already used.

0693W00000aIfUHQA0.png 

I guess what you can try to do is to change the used pins to something else and try to see if that solves your issue.

0693W00000aIfkFQAS.png 

/Osman

Osman SOYKURTST Software Developer | TouchGFX
ET.2
ET.2Author
Associate II
March 13, 2023

Indeed, I notice there are pin conflict issue , I have tried to simplify my app ,

1, use TouchGFX to create 2 box progress , 2 text area and 2 text progress

2, generate code with CubeIDE, compile is ok, thats all

3, open ioc , in ETH tab, it just appears forbidden sign

4, if select clear pin out, whole bunch of error occur (as expect) as below

C:/TouchGFXProjects/MyApplication5/Drivers/BSP/STM32H743I-EVAL/stm32h743i_eval_bus.h:30:10: fatal error: stm32h743i_eval_conf.h: No such file or directory

  30 | #include "stm32h743i_eval_conf.h"

   |     ^~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated.

In file included from C:/TouchGFXProjects/MyApplication5/Drivers/BSP/STM32H743I-EVAL/stm32h743i_eval_io.c:53:

C:/TouchGFXProjects/MyApplication5/Drivers/BSP/STM32H743I-EVAL/stm32h743i_eval_io.h:30:10: fatal error: stm32h743i_eval_conf.h: No such file or directory

  30 | #include "stm32h743i_eval_conf.h"

   |     ^~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated.

make: *** [Drivers/BSP/STM32H743I-EVAL/subdir.mk:31: Drivers/BSP/STM32H743I-EVAL/stm32h743i_eval_bus.o] Error 1

make: *** Waiting for unfinished jobs....

In file included from C:/TouchGFXProjects/MyApplication5/Drivers/BSP/STM32H743I-EVAL/stm32h743i_eval_qspi.c:63:

C:/TouchGFXProjects/MyApplication5/Drivers/BSP/STM32H743I-EVAL/stm32h743i_eval_qspi.h:29:10: fatal error: stm32h743i_eval_conf.h: No such file or directory

  29 | #include "stm32h743i_eval_conf.h"

   |     ^~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated.

make: *** [Drivers/BSP/STM32H743I-EVAL/subdir.mk:33: Drivers/BSP/STM32H743I-EVAL/stm32h743i_eval_io.o] Error 1

make: *** [Drivers/BSP/STM32H743I-EVAL/subdir.mk:35: Drivers/BSP/STM32H743I-EVAL/stm32h743i_eval_qspi.o] Error 1

"make -j12 all" terminated with exit code 2. Build might be incomplete.

it looks like touch gfx occupy lots of gpio which causes other modules disability.

and if clear some conflict pin, compiling will fail. it thre a effective way to solve this issue, please advice, thanks in advance.

Rim LANDOLSI
Rim LANDOLSIBest answer
ST Employee
March 24, 2023

Hello @ET.2​ ,

At first, let me thank you for reporting this issue.

When creating a touchgfx application, it occupy lots of gpio such as ETH MII pins.

The solution is to try to change these pins to the alternate pins to solve conflicts, as shown in the screenshot.

0693W00000aJeAcQAK.png 

Thanks,

Rim

ET.2
ET.2Author
Associate II
March 24, 2023

I fixed it, thanks for the reply.

Rim LANDOLSI
ST Employee
March 27, 2023

Please close this post by clicking the "Select as Best" button on the previous answer. This will help other members of the community find this response more quickly.