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


'make: Interrupt/Exception caught' when building an empty project on Win7-64

I’m getting an error “make: Interrupt/Exception caught” when attempting to build or clean a new project. This is a new installation of OpenStm32 using the installer on Windows 7 using installation defaults. To create an empty project, I followed instructions here - http://www.openstm32.org/Creating+a+new+project?structure=DocumentationQuestion - except I chose and STM32F4 on a STM32F4-Discovery board.

When building, the CDT Build Console window shows this:

16:26:13 **** Incremental Build of configuration Debug for project my_project2 ****
	make all 
	make: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x4227d3)~~

	16:26:14 Build Finished (took 270ms)

When I do a Clean, the CDT Build Console window shows this:

16:29:52 **** Clean-only build of configuration Debug for project my_project2 ****
	make clean 
	make: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x4227d3)

	16:29:52 Build Finished (took 173ms)

More details:
- I’m using Win7-64
- The Eclipse installed is Luna Service Release 2 (4.4.2)
- A ‘java -version’ shows this:

java version "1.8.0_51"
		Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
		Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)

- I have IAR EWARM installed which works and can debug. I also have a CrossWorks IDE & compiler installed that works and debugs. I have another instance of Eclipse installed for a different project for Java development.

- When I start a build, I see a process start with a path like this:

C:\Ac6\SystemWorkbench\plugins\org.eclipse.cdt.core.win32.x86_5.3.0.201502131403\os\win32\x86\starter.exe

- The starter appears to start ‘make’ with a path like this:

C:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.externaltools.win32_1.3.0.201507241045\tools\make\make.exe

- If I run that make in that directory in a console window I get this:

GNU Make 3.81
		Copyright (C) 2006  Free Software Foundation, Inc.
		This is free software; see the source for copying conditions.
		There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
		PARTICULAR PURPOSE.
		This program built for i386-pc-mingw32

- I found a gcc under the AC6 directory. If I cd to C:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.externaltools.arm-none.win32_1.3.0.201507241045\tools\compiler\bin and do ‘arm-none-eabi-gcc.exe -v’, I get this:

Using built-in specs.
		COLLECT_GCC=arm-none-eabi-gcc.exe COLLECT_LTO_WRAPPER=c:/ac6/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.3.0.201507241045/tools/compiler/bin/../lib/gcc/arm-n
		lto-wrapper.exe
		Target: arm-none-eabi
		...(some lines omitted)...
		gcc version 4.9.3 20150303 (release) [ARM/embedded-4_9-branch revision 221220] (GNU Tools for ARM Embedded Processors)

- A search for ‘make: Interrupt/Exception caught’ found this post: http://www.forbot.pl/forum/topics40/c-stm32-dostosowanie-projektu-do-coocox-vt11407.htmQuestion but, it didn’t offer useful information.

If there are no obvious solutions, perhaps I could get some trouble-shooting hints, like how to run ‘make’ in a console with the same environment or context used as a ‘build’ or ‘clean’ or logs that might offer more insight.

Meanwhile, I’ll try another Win7-64 computer.

Thx!

-Jim

As a temporary work-around you can try to use CDT’s internal buider:

Project Properties -> C/C++ Build -> Builder Type -> Internal Builder

Thanks! That works - I can build and debug.
The external builder also worked on my home laptop.
If you have any suggestions to determine why I have this problem, let me know. Meanwhile, I’ll try a clean installation.


The problem was caused by something in my PATH. When I removed C:\Program Files (x86)\Git\bin\ from my path, eclipse would build. To isolate the problem, I used a .bat file to set the PATH to something simpler, like this:

set PATH=C:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.externaltools.arm-none.win.....
C:\Ac6\SystemWorkbench\eclipse.exe


Edit: I found another post here http://www.openstm32.org/tiki-view_forum_thread.php?comments_parentId=769&topics_offset=8Question where Git in the PATH cuased other problems.

I had the same problems.

My solution was somewhat like your.

To get it to work I first tested to remove all on PATH with:
set PATH=

When I tried to start eclipse it complained that it was missing java so the solution that worked for me was a bit-file with:

set PATH=C:\ProgramData\Oracle\Java\javapath
C:\Ac6\SystemWorkbench\eclipse.exe

This post is just to give others more info on what to do...
I’m using
W7-64bit.
Eclipse Luna Service Release 2 (4.4.2)
System Workbench for STM32 - C/C++ Embedded Development Tools for MCU, Version: 1.7.0.201602121829
System Workbench for STM32 - GNU Tools ARM Embedded (for Windows 32bits), Version: 1.7.0.201602121829


Hello.

I have the same problem.

I have already uninstalled the GIT, but the problem still remains.

Can you please explain to me how I can resolve this?
I already installed SW4stm32 clean, but it does not work ....


Please!


France

Hi Dave,

Coudl you look at your PATH and check that there is not a make or sehll program there that can interfere with the one provided in the System Workbench for STM32 install. Other cases where this problem occurs was due to this kind of interactions.

You shoudl also first, if not yet done, try to update your install (Help >> Check for Updates...)

Bernard (Ac6)


Hi folks,

Had the same problem.

My System is Win7/64 with a lot of developement software installed.

It worked after I kicked out C:\Program Files (x86)\WinAVR-20100110\utils\bin from the PATH variable.

Greets
Michael