Skip to main content
mbarg.1
Senior III
May 20, 2025
Question

EXAMPLE for H7R with bad .ioc

  • May 20, 2025
  • 2 replies
  • 568 views

in LwIP_UDPTCP_Echo_Server_Netconn_RTOS example for H7S3, 

LwIP_UDPTCP_Echo_Server_Netconn_RTOS.ioc returns error 

Invalid State: Most probably trying to open 'LwIP_UDPTCP_Echo_Server_Netconn_RTOS.ioc' file from an abnomal previous IDE session exit. Please close such editor and have a new try to recover properly.

but there are no other editors open - i just downloaded a fresh version in new directory.

Using STM32CubeIde 1.8.1 in Window computer

Opening 

2 replies

Technical Moderator
May 20, 2025

Hello @mbarg.1 

I opened it on my side it works correctly. Please use the latest version of CubeMX.

"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.Saket_Om"
mbarg.1
mbarg.1Author
Senior III
May 20, 2025

I have version 1.18.1 - same problem with windows and linux debian - updated 2 days ago

Technical Moderator
May 20, 2025

What is the CubeMX version ?

"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.Saket_Om"
TDK
Super User
May 20, 2025

Opens fine here in standalone CubeMX.

How are you trying to open it in CubeIDE? File -> New -> From existing IOC?

"If you feel a post has answered your question, please click ""Accept as Solution""."
mbarg.1
mbarg.1Author
Senior III
May 20, 2025

In STM32CubeIde, I made File-> New->STM32 project, than selected Examples, H7R, and LwIP_UDPTCP_Echo_Server_Netconn_RTOS .

When I open LwIP_UDPTCP_Echo_Server_Netconn_RTOS.ioc, I get this error.