2021-03-31 08:59 AM
My processor board uses STM32H743V. The Ethernet chip is KSZ8081, MII mode. I also use AZURE RTOS and NetX. I tried using CubeMX to generate an application, but it always gives me some error when I compile the program. I tried different combinations, but no way to solve the problem. Does anyone know how to set up CubeMX and Azure NetX in MII mode? Does anyone have an example?
2021-04-01 11:08 PM
Hi @TVuck.1 ,
could you please share more details please.
regards
Haithem.
2021-04-02 03:18 AM
2021-04-02 03:26 AM
Hi @TVuck.1
the screenshots are not visible, or it is a problem in my browser?
regards
Haithem.
2021-04-02 04:46 AM
2021-04-02 04:57 AM
2021-04-03 01:34 PM
Hi @TVuck.1 ,
that's clear now :smiling_face_with_smiling_eyes: !
IIUC, you want to use the NetXDuo Ethernet driver + KSZ8081 PHY interface
If it is the case then you'll need to select the "Ethernet interface" component instead of the "custom interface" and keep "Ethernet Phy Interface/Custom_Phy"
because the Ethernet Interface is Phy agnostic and it is common to all the STM32H7xx MCUs. The "Custom Inteface" is intended for writing a new driver for other interface than the Ethernet (WiFi, 3G modem...).
regards
haithem.
2021-04-05 01:33 AM
Hi Haithem
I changed the settings in the project, but I still can't compile the project. The project returns a lot of mistakes.
Project settings:
List of errors:
For example. See line 1 in file nx_custom_driver.c:
I send you a complete project generated by eclipse export in attachment. Ioc file and source files. Please, try to compile this project on yours computer.
Best regards
Teo
2021-04-05 06:11 AM
Hi,
This is a corner case that we are investgating. In the project settings you'll need to uncheck the "Generate under root" option as shown below.
regards
Haithem.
2021-04-05 07:03 AM
It is impossible to unchek it. This part is blocked on my project. How to unblock this check box??