2023-09-15 03:31 AM
Hello.
I am a college student who is using cortex for the first time.
I downloaded stm32cube expansion from stm32 and downloaded format is exe file.
I downloaded these exe files and installed them on my computer, but there was a problem from here.
I downloaded the programs provided by the stm site, such as stm32cubemx and stm32cubeide.
But I don't know how to add and build the folder I downloaded with the exe I mentioned above.
It's my first time using the stm program and cortex, so I don't know what to do.
I don't think I can share the file because the professor asked me to check it out. To make it simple, there were some pdf and txt files in the folder along with the files Drivers, Middlewares, and Projects. (I've read all the pdf and txt files.)
In the projects file, there was a folder called nucleo-h743zi -> Applications -> STL on the board I was using, and inside the STL folder, there were 4 project folders that I needed to check.
There are folders called EWARM, Inc, MDK-ARM, Src, SW4STM32.
There are no other folders, and there are .cproject and .project files in the SW4STM32 folder.
I also wrote this and asked how to add it, but at that time, I was told to copy the folder I installed into the workspace in the stm32cubeide folder, go into the stm32cubeide program, go into the "open projects from file system" and it didn't work properly when I built it.
So it's blocked again, so if there's anything I'm wrong about or need to know, please let me know.
I'm stuck here and I don't know what to do.
I'm not a person who lives in English, so I'm not sure if it's translated properly.
Please excuse me.
Please reply.
Thank you.
Solved! Go to Solution.
2023-09-15 07:50 AM
Hello @Koseo.1 ,
I think the "Directory" is wrong. You need to import only the project you have chosen in the STM32Cubeexpansion.
Please try to used this directory when you import your project stm32 extension package\Projects\Nucleo-H743ZI\Applications\STL\Sxxxxxx\SW4STM32.
Please let me know if the issue is solved.
Could you please share your project?
Thank you.
Kaouthar
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.
2023-09-15 04:11 AM
Hello @Koseo.1
You can't use CubeIDE to open this project. You can open the project from MDK-ARM file using keil. Also you can use IAR workbench to open the project from the EWARM file. And you can open the SW4STM32 version of the project using SW4STM32.
The SW4STM32 is not recommended for new STM32 projects. Is better to useKeil or IAR. you can find easy tutorials on YouTube on how to use both Keil and IAR .
Best regards.
II
2023-09-15 05:27 AM - edited 2023-09-15 05:30 AM
Hello @Koseo.1 ,
Concerning the System Workbench toolchain, called SW4STM32, is no more supported for all new series. For that I recommend you to use STM32CubeIDE.
In this case, and to open your project, I advise you to follow these steps:
1- Open STM32CubeIDE
2-Click File-->open projects from file system or Archive
3-Import source as shown in the below figure
4-Build the project
I think this user manual can help you Migration guide from System Workbench to STM32CubeIDE - User manual.
What do you mean "it didn't work properly when I built it"? Have you get build error?
Thank you.
Kaouthar
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.
2023-09-15 07:37 AM
Hello.
I checked what you sent me.
As you said, we succeeded in putting the project on Project Explorer.
But I haven't been able to build since.
And I attached the picture below, but the project build (hammer picture) you mentioned is not working.
2023-09-15 07:50 AM
Hello @Koseo.1 ,
I think the "Directory" is wrong. You need to import only the project you have chosen in the STM32Cubeexpansion.
Please try to used this directory when you import your project stm32 extension package\Projects\Nucleo-H743ZI\Applications\STL\Sxxxxxx\SW4STM32.
Please let me know if the issue is solved.
Could you please share your project?
Thank you.
Kaouthar
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.
2023-09-15 08:03 AM
I was surprised because the reply was fast.
But there is a reason why I added the STM32CubeExpansion_xxxx folder itself as shown in the picture.
First of all, it was because I added the STM32CubeExpansion_xxxx folder itself as shown in the picture I attached in the enclosed user guide.
And secondly, in the picture I posted, the user guide said that I need to use two versions of STL_Lib_product_x1.a and STL_Lib_product_x2.a in the STM32CubeExpansion_xxxxx folder -> Middlewares -> STM32_Safety->Lib folder.
I think the STM32CubeExpansion_xxxxx folder itself should go up, but I was wondering if I was wrong.
And you asked me to share the project, how should I share it?
As I wrote above, I'm careful because the pdf I copied together on the expansion package I downloaded says "ST Restricted - Subject to Non-Discovery Agreement – Do not copy".
2023-09-15 11:15 AM
Hi @Koseo.1 To share something to other person, go to his profile and click the big yellow button SEND A MESSAGE. This sends a private message.
2023-09-16 07:07 AM
Hello.
Based on what you said, I investigated a little more and solved the problem.
But one more thing I'm curious about is that there were four projects in the expansion package I downloaded.
The projects seemed to be conducting an evaluation with a test module called tm with various test modules up to TM1, TM1L, TM2...TM12.
So, can I know where the test module is, the TM I'm talking about here??
2023-09-18 02:43 AM
Hello @Koseo.1 ,
If your first question has been answered, please close this topic by choosing Accept as Solution on the reply which solved your issue. This will help other users find that answer faster.
Concerning the STL test issue, I advise you to post a new question in STM32 MCUs Other solutions - STMicroelectronics Community.
Thank you.
Kaouthar
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.