Skip to main content
MS.23
Associate II
March 7, 2023
Solved

Problem when generating code in STM32CubeMX

  • March 7, 2023
  • 2 replies
  • 3818 views

MCU: NUCLEO-L433RC-P

STM32CubeMX version: 6.8.0

MDK-ARM Community version: 5.38.0.0

Java version: 8 update 361 (build 1.8.0_361-b09)

When I try to generate code I get this message:

The Code is successfully generated under : C:/Users/.../project Project language : C but MDK-ARM V5.32project generation have a problem.

I open the generated project with uVision and when I try to build target files I get this message:

project\project.sct(7): error: L6236E: No section matches selector - no section to be FIRST/LAST.

Not enough information to list image symbols.

Not enough information to list load addresses in the image map.

In the uVision project window I also noticed that there is no Application/MDK-ARM folder with startup_stml433xx.s file. Does this mean that CubeMX is not generating this file?

How could I solve this problem?

I would really appreciate the help.

This topic has been closed for replies.
Best answer by MS.23

Hello and thank you for the welcome.

I managed to solve this problem. The path to the folder where the project was saved contained non English letters (į ė) and that was the problem. I saved the project to a different folder and now everything works fine.

2 replies

Semer CHERNI
ST Employee
March 8, 2023

Hello @MS.23​ 

First let me welcome you to the community and thank you for posting.

At the moment I'm note able to reproduce the described behavior.

I'll keep trying to investigate; however, it would be very helpful if you share your *.ioc file containing the issue.

Also, could you share screenshots of the error message and the the project manager window of CubeMX.

I'll be waiting for your feedback.

BR,

Semer.

MS.23
MS.23AuthorBest answer
Associate II
March 8, 2023

Hello and thank you for the welcome.

I managed to solve this problem. The path to the folder where the project was saved contained non English letters (į ė) and that was the problem. I saved the project to a different folder and now everything works fine.