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


NUCLEO_F746ZG OpenOCD

New Zealand

I wish to use OpenOCD on a NUCLEO_F746ZG board..
I downloaded from http://gnuarmeclipse.github.io/blog/2016/01/11/openocd-v0.10.0-201601101000-dev-released/#downloadQuestion
filename: gnuarmeclipse-openocd-win64-0.10.0-201601101000-dev-setup.exe
and created st_nucleo_f7.cfg from st_nucleo_f4.cfg and modified “source find target/stm32f4x.cfg” to “source find target/stm32f7x.cfg
I then ran OpenOCD as follows:
---------------------------
C:\eclipse\openocd\0.10.0-201601101000-dev\bin>openocd -s scripts/ -f board/st_n
ucleo_f7.cfg -c ‘program program.bin reset exit 0x08000000’
GNU ARM Eclipse 64-bits Open On-Chip Debugger 0.10.0-dev-00287-g85cec24-dirty (2
016-01-10-10:13)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.htmlQuestion
embedded:startup.tcl:60: Error: Can’t find board/st_nucleo_f7.cfg
in procedure ‘script’
at file “embedded:startup.tcl”, line 60
--------------------------
Please advise how I can find line 60 and resolve this problem or if you have had success debugging NUCLEO_F746ZG code please describe method.
Regards,
Kevin.

France

Hi Kevin,

AFAIK STM32F7 chips are not yet supported by the standard OpenOCD code base, and most certainly not by the gnuarmeclipse toolset; this forum is to support System Workbench for STM32, another IDE explicitly targeting the STM32 family and with which we support all STM32 chips, as soon as they are officially available (well not always immediately: it may takes a couple of days for the support to be available lol)

In this process we have to develop the configuration scripts and, more complicated, enhance OpenOCD to support the new chips. As OpenOCD is licensed under the GPL, you can get the source code for our OpenOCD version on git://git.ac6.fr/openocd.gitQuestion ; the binary version and the scripts are part of System Workbench for STM32.

Clearly, if you want to work on the latest chips and boards from ST, why don’t you give a try at System Workbench for STM32? It’s based on a standard Ecipse platform (not a specific Eclipse version), so you should not be too confused, and it’s totally free too...

Otherwise, if you really want to stick to gnuarmeclipse, this is not the right forum to ask questions, sorry

Bernard (Ac6)

New Zealand

Hi Bernard,
Thank you for your reply: I appreciate your explanation. I have experimented with OpenST32 System Workbench in the past but was disappointed in my lack of success importing mbed libraries. I returned to this site due to a recommendation by:
openocd-devel at lists.sourceforge.net
Is System Workbench able to debug NUCLEO_F746ZG?
Regards,
Kevin.


France

Hi Kevin,
Yes, System Workbench for STM32 is able to debug all ST boards and chips(if you don’t find it, just do an update by “Help >> Check for updates...”); there is a lot of work invested in keeping up-to-date with chip and board releases...
Regarding import from mbed, it is still a bit complex (you should look at Importing an mbed program for more explanation) but it should become simpler soon as the export of System Workbench project by mbed is in the works...
Regards,
Bernard (Ac6)