Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


Project Migration from Coocox

I currently use the CoIDE from Coocox but I think it is very poor in terms of features compared to full Eclipse IDE. I have developed a few projects in this CoIDE and I would like to port my last 2 active projects to the System Workbench. Is this possible?

Hi Makridis
I’m trying to do this. Have you found the way to do it?
Thanks

I have not find any solution to this. I have tried to do the migration but I faced some strange problems with paths and include files so I stopped. I was using relatively early versions of these tools so I am going to try again. If I come up to a solution, I will let you know.

Dear All,

I am having some problem in COOCOX IDE.

Right now coocox forum is inactive.
My team using coocox, but while I open project on it. It gives BUILD FAILED.

Kindly suggest me what to do.

you have to copy this file:
CoIDE\workspace\your_project_name\components\coocox-master\STM32F030x8_CUBELIB\test\stm32f0xx_hal_conf.h
to this path:
CoIDE\workspace\your_project_name\components\coocox-master\STM32F030x8_CUBELIB\source\stm32f0xx_hal_conf.h
as you can create a bathc file (.bat) that contains a copy instruction and put it into your project folder, so you need only to double click on it everytime you create a new project biggrin


France

Hi,

There is no automatic way to import Coocox projects in System Workbench for STM32. My best proposal to migrate from Coocox top System Workbench for STM32 would be:

  1. look at your Coocox project to check
    • what board/MCU you have selected
    • what firmware version you use
    • what additional (possibly third party) firmwares you use
      • FreeRTOS
      • STemWin
      • ...
    • what specific build options you added and list:
      • the defined symbols
      • the include paths pointing in your code (not the ones pointing in ST-provided firmware)
  2. Create, in a clean workspace, a System Workbench for STM32 project for the same board/MCU and using the same kind of library (StdPeriph or HAL) and additional firmwares used
  3. Import manually your source code in the src and inc folders of your new project (for source and header files respectively)
    • copy/paste directly from the Windows Explorer, MacOS Finder or Linux interface
    • do not import ST-provided firmware or header files
    • you may create subdirectories of these folders to clone your original project structure
  4. Check that you have all the symbols and include paths noted in the first step
    • create paths relative to the ProjDirPath variable (click on the Variables button in the path creation dialog)
    • don’t forget to create paths for all languages and configurations
    • there should already be
      • several workspace-relative paths to the ST firmware
      • the “${ProjDirPath}/inc”
      • additional project- or workspace-relative paths to third-party firmwares

Then you should be able to try to build your project and correct the possible errors. This is clearly not an automatic mechanism, but the structure of projects are quite different between Coocox and System Workbench for STM32 so a direct import of the project cannot work.

Bernard (Ac6)

i did all steps but my program doesnt give error but it is booting again again.
I am trying to work on system workbench but when i compile the project there is no error but when i debugged it is booting again again, always starts to initialize the project but in coocox there is no problem, it is working very well.
Do you have any idea? What should I do?
I tried to find the boot reason and learned the reasons;RCC_CSR_WWDGRSTF,RCC_CSR_IWDGRSTF,RCC_CSR_PINRST.( BOOT_REASON_WATCHDOG, BOOT_REASON_PIN,)How can I handle this issue?
If the problem is whatchdog and pin How I can sove?
If the problem is whatchdog and pin How the possible is working on Coocox?


i did all steps but my program doesnt give error but it is booting again again.
I am trying to work on system workbench but when i compile the project there is no error but when i debugged it is booting again again, always starts to initialize the project but in coocox there is no problem, it is working very well.
Do you have any idea? What should I do?
I tried to find the boot reason and learned the reasons;RCC_CSR_WWDGRSTF,RCC_CSR_IWDGRSTF,RCC_CSR_PINRST.( BOOT_REASON_WATCHDOG, BOOT_REASON_PIN,)How can I handle this issue?
If the problem is whatchdog and pin How I can sove?
If the problem is whatchdog and pin How the possible is working on Coocox?