Skip to main content
Senior
February 14, 2025
Solved

Missing .ioc File in STM32Cube Template Project for STM32N6570-DK board

  • February 14, 2025
  • 5 replies
  • 2832 views

Hi , 
I was going through the template_fsbl_xip project located at:

 

 

STM32Cube_FW_N6_V1.0.0/Projects/STM32N6570-DK/Templates

 

 

However, I noticed that this project does not contain an .ioc file, whereas other examples like GPIO_IOToggle and several others do include one.

My question is:

  • Is this an oversight, or was it intentionally left out?
  • If it was intentional, how can I create an .ioc file for this template as I would like to start my project using STM32CubeMX and I would like to use external flash and ram present on STM32N6570-DK board.
Best answer by athern27

Solution:

https://community.st.com/t5/stm32-mcus/how-to-execute-code-from-the-external-serial-nor-using-the/ta-p/771048


Edit:

My main goal was to load and run my code from external memory. When I asked this in February 2025, there weren’t many tutorials available. I found the XIP example in the firmware package, but it didn’t include a .ioc file, which I needed.

Later, ST released an official tutorial with proper steps and .ioc support, which solved the problem.

 

5 replies

STTwo-32
Technical Moderator
February 14, 2025

Hello @athern27 

Infact, some projects/templates are not based on the STM32CubeMX. So, they don’t come with a .ioc file. If you want to recreate them based on the STM32CubeMX, you can do that on a new project. First, you have to start your project on CubeMX. Try to set the configurations available on the STM32CubeMX and generate your code. Then, set the other parts of code manually on your generated project.

Best Regards.

STTwo-32

athern27Author
Senior
February 14, 2025

Thanks for the fast reply, 
So can you please tell me if there is any example available which uses external flash and also contains .ioc file as all of the HAL examples I saw use internal RAM for their execution. 

STTwo-32
Technical Moderator
February 14, 2025

All ST examples are available on the STM32CubeN6. There is not other examples. Have a look at the AN6197 to have an idea about the available projects and the projects that have or not a . IOC file.

Best Regards.

STTwo-32

Andrew Neil
Super User
February 14, 2025
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
mƎALLEm
Technical Moderator
February 14, 2025

Check if this new article answers your question.

"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."
Associate II
July 8, 2025

How is this the solution. Seems totally unrelated!

Associate
July 15, 2025

Accepted solution is neithe correct nor related to the query

 

athern27AuthorBest answer
Senior
July 15, 2025

Solution:

https://community.st.com/t5/stm32-mcus/how-to-execute-code-from-the-external-serial-nor-using-the/ta-p/771048


Edit:

My main goal was to load and run my code from external memory. When I asked this in February 2025, there weren’t many tutorials available. I found the XIP example in the firmware package, but it didn’t include a .ioc file, which I needed.

Later, ST released an official tutorial with proper steps and .ioc support, which solved the problem.