2023-02-19 06:13 PM - last edited on 2024-07-04 06:21 AM by Andrew Neil
2023-02-19 10:07 PM
Having reviewed the STM32H743-Eval example application for LwIP_HTTP_Server_Netconn_RTOS, which works on my eval board, the application looks for a DHCP server and not seeing one after the time out period, falls back to a default 192.168.0.10 address and the PC connects to it with a browser. However nx_webserver example just gives up with "No cable connected" and does nothing. So please if someone has been able to achieve the same result with Nx_Webserver; let me know.
2023-03-07 01:00 AM
Hi,
Could you please refer to the X-CUBE-AZRTOS-H7 3.0.0 and use CubeMX 6.7.0 (or newer).
There's a new feature implemented : "Common init" where the Azure RTOS MW initialization is generated automatically if you enable the feature.
And, under NetXDuo section, you could disable DHCP and set your fixed IP address.
Please do no hesitate to give us your feedback.
Regards
Mahdy
2023-03-09 12:50 PM
Here is my feedback:
1) I Do Not see a "Common Init" feature, but I do see in the NetXDuo Core Init this:
As you can see here, I do not see a check box to disable DHCP.
Perhaps I need an updated version of CubeIDE/MX or perhaps there is significant detail you have not revealed.
2) Have you tried this using my code or is this an untested suggestion?
2023-03-09 03:17 PM
You need to update CubeMX/IDE.
2023-03-09 05:40 PM
Done.
CubeIDE: Version: 2.0.100.202301271415
CubeMX: Version: 6.8.0-RC4
Re-Built - No errors
Did not fix the problem.
2023-03-09 05:49 PM
And this is the worst part. Now every time I generate code CubeMX is removing the Utilities Folder from the root of my project. I need that for the LCD utility functions. Is there some new check box to tell CubeMX not to do that?
2023-03-13 12:37 AM
Had to move the utilities folder into the source folder so CubeMX leaves it alone.
2024-07-04 06:12 AM
I'm trying to disable DHCP on X-CUBE-AZRTOS-F7 for a STM32F767ZI6 MCU and there's no option in STM32CubeMx...