cancel
Showing results for 
Search instead for 
Did you mean: 

.IOC File not in the library

2001jolly
Associate III

Hello,

I am trying to configure NUCLEO-L073RZ board in the P-NUCLEO LRWAN2 package as the end node in the STM Cube IDE Software and for that I am using "LoRaWAN software expansion for stm32 cube IDE". I followed this directory path in the library, {en.i-cube_lrwan\STM32CubeExpansion_LRWAN_V2.1.0\Projects\NUCLEOL073RZ\Applications\LoRaWAN\LoRaWAN_End_Node\STM32CubeIDE\sx1272mb2das}.

Screenshot 2024-08-24 181421.png

 

Problem:

There is no .IOC file in the library and if I try to create the project in Cube IDE and copy the files from the library it will show "UNDEFINED REFERANCE ERROR", how to deal with the problem if anyone has did it kindly share out the way to do it.

7 REPLIES 7
STTwo-32
ST Employee

Hello @2001jolly 

Infact, some of our examples does not include a.ioc file since they are created based on direct programming not based on CUBEMX configuration. So, you have to choices.

First, start your project from a .ioc file and try to reproduce the same configurations activated on the example. If you follow this choice, you need to be almost everything manually, so you need to really know exactly how everything is configured, add manually everything you will need (middleware, ...). 

The second choice is to take an example as it is and try to modifie it by adding all configurations you want to add directly on the project files (not throw a .ioc file). 

Best Regards

STTwo-32 

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.

Hello,

I just want to configure NUCLEO-LO73RZ as the end node and see the output on the Tera Term Serial terminal, I have opened the end node example from the software package in the Cube IDE and I don't want to configure the board to use any other configuration setting I just want to run that sample example on the Cube IDE, please help me out to do that.

 

Just open the project on Cube IDE, compile it and run it on your board. Everything will work fine. Just open tera term and connect your board to it (dont forget to use tge same baudrate mentionned on the Readme file of the example).

Best Regards 

STTwo-32 

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.

Hello,

I have did the above mentioned steps, why I am still not getting any Output on the Tera Term. I have included this in the video, if there is any error or any other way please let me know.

Ensure that you are using the same baudrate as on the readme file of the project and ensure that you are connecting tera term to the rught com port of your project.

Best Regards.

STTwo-32 

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.

Hello,

Do I need to modify the End-Node example such that it includes data that will be displayed on the Serial Monitor or have to use the code as it is.

Just one thing, configure the right frequency of communication as mentionned on the Readme file. You should read it and may watch the videos based on the STM32WL (available on youtube, they have almost same configuration).

Best Regards.

STTwo-32 

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.