Skip to main content
Associate III
January 6, 2025
Question

Invalid Input: Must be project's active .ioc file.

  • January 6, 2025
  • 3 replies
  • 1784 views

Hi,

I am new to the STM32 platform. As for research purpose I got myself the B-L462E-CELL1 board. I need to connect to the internet and send sensor data to AWS IoT Core. 

I tried to explore the STM32CubeExpansion_CELLULAR package to change the code according to my need. In that process I am lost. Can anyone guide me on which file should I focus on changing the code? This is too much to code to start with. I have already checked the cellular wiki but it wasn't very helpful to me. 

I wanted to change the .ioc file and configure the pins for my sensor but i can not open it (SS attached). Any suggestions on how to fix it? I have tried renaming the Prj_B_L462E_CELL01.ioc file to 'STM32CubeExpansion_CELLULAR_V6.0.0.ioc' but that also shows the same error. 


Thanks and Regards,
SSWM

3 replies

ST Employee
January 6, 2025

Hello @SSWM

The error message indicates that the STM32CubeExpansion_CELLULAR_V6.0.0.ioc file is set as the active .ioc file for the project, but you are trying to open Prj_B-L462E-CELL01.ioc

In STM32CubeIDE, right-click on the Prj_B-L462E-CELL01.ioc file in the Project Explorer and select "Set as Active .ioc File".

SSWMAuthor
Associate III
January 6, 2025

Hi @Sarra.S,

I followed your instructions but I couldn't find the "Set as Active .ioc File". option.
Screenshot 2025-01-06 at 15.47.43.png

ST Employee
January 6, 2025

Hello @SSWM

Please check this relevant thread: Invalid Input: Must be project's active .ioc file. - STMicroelectronics Community 

SSWMAuthor
Associate III
January 6, 2025

Hi @Sarra.S,

The thread wasn't that helpful. I still couldn't figure out how to set the .ioc file as active. However, I could open it with the option open from an existing .ioc file. 
 

January 10, 2025

Hi,

opening the .ioc file directly in STM32CubeMX without renaming it. For AWS IoT Core, focus on the "CellularService.c" file in the STM32CubeExpansion_CELLULAR package to set up the connection. If you're looking for more entertainment while troubleshooting, check out FreeCine for a great selection of comedy movies. Baixar freecine apk versão atualizada now for some fun!

SSWMAuthor
Associate III
January 10, 2025

Hi @unknown,

Thanks a lot for pointing me in a specific direction. I will look into it today.