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: STM32429I_Discovery board with printf float support problem
Used cube to generate a project with default settings for STM32F429I disco board plus CMSIS V2 rtos and USART 2 half duplex transmit only .
Code
float fVal = 345.678;
printf(“Hello World\r\n”);
printf(“fVal %f\r\n”,fVal);
-
System Workbench for STM32: STM32429_
I used cube to generate a default project for the 429i disco board, add CMSIS V2 rtos and USART2 (half-duplex transmit only). I removed week attributes from _write and _io_putchar and implemented a write to uart.
Code
float fVal = 3
-
System Workbench for STM32: How to use half precision floating format (on stm32l073)
Hello,
I would like to use half precision floating format for my project in order to save space in frame transmission. Have you ever used this kind of format on MCU that does not have FPU ?
I saw that gcc allows this kind of format but
-
System Workbench for STM32: Re: BUG: Deleting a directory from the project tree breaks compiler settings
Humm forum eating the XML markup from the .project file It didn’t do that in the preview ...
Ok i added a printscreen from before ( upper half ) and after ( lower half ) adding and then deleting a subdirectory. I also noticed that i w
-
System Workbench for STM32: RAM function not going into RAM?
I’m trying to program the dual-bank flash of the STM32L082 microcontroller, and in order to have decent flash write speed, I need to program in half-page increments. I’m trying to use the half-page program function in HAL.
When I use
-
System Workbench for STM32: STM32429I_Discovery board with printf float support problem
Used cube to generate a project with default settings for STM32F429I disco board plus CMSIS V2 rtos and USART 2 half duplex transmit only .
Code
float fVal = 345.678;
printf(“Hello World\r\n”);
printf(“fVal %f\r\n”,fVal);
-
System Workbench for STM32: have not seen a new version of AC6 recently, or stay at 20180116.
Hi jinzhifeng,
A new version should be out quite soon, currently planed in first half of July.
-
System Workbench for STM32: STM32CubeMX LWIP not working
Mats,
Sorry for the delayed response.
Other parameters that we have changed are in the section, ETH configuration -> Advanced Parameters -> Extended: External PHY configuration
and the values are as below
PHY Special Control/Status
-
System Workbench for STM32: GCC7 with SW4STM32
Hi JuliusCaesar,
Latest GCC version will be part of next SW4STM32 release (v2.5), which should be out in the second half of June.
-
System Workbench for STM32: STM32CubeMX LWIP not working
hi Srinivasan ,
you link was useful and am facing same issue on STM32F417.
I used STM32 Cube Mx to generate the code for LAN8720A.
I have followed your setting here :
i have set PHY_Address = 0
PHY Special Control/Status register Offs
-
System Workbench for STM32: Change application on Reset !
So, if I follow what’s you saids, I don’t need to touch to SP et PC ?
I try with your code, but without success, or only half !
When I do a Reset, I switch from App1 to App2 but afterthe program loop in main of App2..
-
System Workbench for STM32: Change application on Reset !
So, if I follow what’s you saids, I don’t need to touch to SP et PC ?
I try with your code, but without success, or only half !
When I do a Reset, I switch from App1 to App2 but afterthe program loop in main of App2..
-
System Workbench for STM32: Re: Availability for Linux
Hi Martin,
Yes we are planning to add Linux support to STM32CubeMX.
Linux support should hopefully be ready in the first half of 2015.
Best Regards
Daniel (ST)
-
System Workbench for STM32: SW Crashes after hitting Run or Debug
Just had this happen to me twice in a half hour span, both times when clicking the debug button.
Eclipse version details:
Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500
Installed from install_sw4stm32_macos_64bits
-
System Workbench for STM32: Code size doubles when converting C project to C++
I figued it out. Doing the following seems to use newLib (nano), and reduces code size by about half.
In , and in the “MCU G++ Linker”, “Miscellaneous” section add the following flags:
-specs=nano.specs
-
System Workbench for STM32: itoa() and utoa() have bad results
Hello,
thank you very much Roy. So I went through the GCC Manual for gcc version 7.3.0 (https://gcc.gnu.org/onlinedocs/7.3.0/). I was looking for datatypes implementation but I have not found information which I need. There are some possib
-
System Workbench for STM32: Timer2 maximum clock frequency on nucleo f401
Hi,
just to say, I found what the problem was.
Actually I had another timer commanding the timer2, so the combination of master/slave determined half the frequency expected for the PWM.
So, using only timer 2 I measured the expect
-
System Workbench for STM32: Dark theme still has white panels
I’ve tried using the dark theme available from fresh install, and I’ve tried installing the Darkes Dark theme from the market place. However both themes only make about half of the UI black, leaving the rest white [https://imgur.com/a/477g
-
System Workbench for STM32: Same source - different binaries
Hello,
I did a project half year ago and didn’t change the source-code since that. Now it was necessary to newly compile the code because of the need of an hex-file (up to that moment only .bin and .elf file existed). Because my workstat
-
System Workbench for STM32: Bootloader and Application Code
Just two thoughts:
If you get stuck in an unexpected interrupt, you should look at the value in the 9 LSB of the program status register: they give the number of the exception you are in; if it’s greater than 16 (what I think) subtract 1
-
System Workbench for STM32: measure speed motor using Timer1 on stm32f030
Capture compare is likley best simplest option
the max freq you can measure is close to half the timer clk feq/ prescaler but then accuray is bad.
basiclay you have to set timer clk high enought to get precsion but not to much to cop
-
System Workbench for STM32: RAM function not going into RAM?
Bruno from STMicro helpfully replied on another forum on how to make the ram function work.
Here’s a code snippet from the linker script:
/* Initialized data sections goes into RAM, load LMA copy after code */
.data :
{
. = ALI
-
System Workbench for STM32: Flashing without connecting NRST
Hi,
why is it necessary to connect the NRST of my MCU to the ST-Link? I have no problem connecting to the target with the ST-Link utility but I do have problem flashing/debugging when I use SW4STM32. Well, problems is an understatement:
-
System Workbench for STM32: Eclipse cubemx plugin falls over
Thank you Daniel, I will try with Oracle JVM.
FYI, I first installed Netbeans and Eclipse from fresh install of 32 bit Ubuntu 14.04 using Ubuntu repositories knowing it will install the default Java (OpenJDK).
I had trouble installing t
-
System Workbench for STM32: function to reset the I2S DMA address pointer
Hello everyone.
For my application I have a DAC communicating with an STM32F4 through I2S. On the microcontroller’s side, informations are sent to the DAC through a DMA stream, with a circular buffer. On an external interrupt, I would li
-
System Workbench for STM32: Debugger crashes without error
Everything was working great yesterday. Now when I try to debug my project I get the following:
Open On-Chip Debugger 0.10.0-dev-00010-g96aab7b (2018-07-13-06:51)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc
-
System Workbench for STM32: Clean initially fails with "make: *** No rule to make target 'clean'. Stop."
We have a problem where cleans fail with the error: “make: *** No rule to make target ‘clean’. Stop.”
In the log file the following error can be seen:
org.eclipse.core.internal.resources.ResourceException: Resource ‘/bootloader/D
-
System Workbench for STM32: function reset the I2S DMA address pointer
Hello everyone.
For my application I have a DAC communicating with an STM32F4 through I2S. On the microcontroller’s side, informations are sent to the DAC through a DMA stream, with a circular buffer. On an external interrupt, I would li
-
System Workbench for STM32: SPDIF Example for STM32F7?
Two issues could be there:
a) asynchronous audio clocks:
I assume, you receive digital audio via SPDIF RX and you forward the PCM code words to the onboard DAC, so that it comes out as analog on RCA connector.
Both audio ‘systems’ have t
-
System Workbench for STM32: CMSIS-RTOS can't function properly due to issue in FreeRTOSConfig.h in FW 1.10.0
Stack corruption:
I will be working on it again soon, I found the capitalization thing last night at half past midnight.
My recollection is that the task at the highest address got corrupted.
(from memory)
I had 3 tasks
blinky at
-
System Workbench for STM32: ST Link Server installation fails on macOS Catalina
com.izforge.izpack.api.exception.IzPackException: An error occured
in java.lang.Thread.run() at Thread.java:748
in com.izforge.izpack.installer.unpacker.UnpackerBase.run() at UnpackerBase.java:236
in com
-
System Workbench for STM32: SPDIF Example for STM32F7?
FYI:
I have SPDIF Input working on STM32F7 Discovery board.
Actually, not so difficult to bring it up: all FW functions are there (in CubeF7).
Hints:
- use CubeMX in order to create a demo project for SPDIF. It generates almost all th
-
System Workbench for STM32: Love Problem Solution Begusarai - A brand new outfit will not only entice ones own partner's notice, although allow you to be inwardly come to feel better as well.
Don’t forget- inner shine along with well-being can do much more to your magnificence than cosmetic foundation. The moment has been the final time frame you ran out while using girls or simply used up some time within the moment spa?
If y
-
System Workbench for STM32: SW4STM32: When downloading to a board, should the last line in the Console be "shutdown command invoked"?
All,
Brand new to System Workbench (2 days) ...
I am working with a Nucleo L152RE board.
I have two programs that do the same thing: they try to blink the green led on the board.
The FIRST program is the GPIO_IOToggle from the
-
System Workbench for STM32: SW4STM32 IDE crashes when selecting C Project
Hi all,
I’m trying to use Ac6 SW4STM32 but it keeps on crashing when I choose File/New/C Project. The C Project dialog box appears for about half a second then both it and the IDE crash.
My PC is as follows :-
Intel P4 @ 2GHz ; 2 GB
-
System Workbench for STM32: Re: SW4STM32 or CubeMX to init STM32 device
Hi,
I wanted to jump on this thread because I feel like I’m missing something important and hope someone can help me out:
I downloaded STM32CubeMX and spent a while with its fancy and actually helpful GUI setting up my particular envi
-
System Workbench for STM32: Debugging hangs with F3 discovery board [solved]
29 March 2015:
I fixed the below problem - the initially chosen port number (3333) was blocked internally in my computer (probably some setting pushed by our IT dept.). In the debug configuration, I changed the port used to 444, and now al
-
System Workbench for STM32: Problems with Workbench in Ubuntu 16.04
Hi.
I’m trying to use SystemWorkbench with STM32F407G-Discovery1 board in Ubuntu. I use “SWT_GTK3=0 ./eclipse ” for eclipse startup.
1. I’ve exported freertos project from STM32Cube and imported the project per instuctions in the http
-
System Workbench for STM32: Receiving Characters From UART Corrupts Memory
While attempting to debug missing characters in a string received through the UART interface, I found possible memory corruption in a temporary global variable used for debugging.
{CODE()}
// pUART2Rx2 is global:
uint8_t pUART2Rx2;
-
System Workbench for STM32: ADC3 DMA issue on STM32H743II
Hi all,
I am struggling with ADC3 in DMA mode( actually BDMA mode) in STM32H743II.
I have tested ADC channels in polling and interrupt mode, everything is working fine. This proves my ADC is running properly.I have also worked on other
-
System Workbench for STM32: Changing flash program start address in order to implement EEPROM emulation on STM32F722VET
I’m working on a project based on a STM32F722VET using the HAL drivers. I have a few sensors that I read and a calibration routine to get the best values out of them. I want to store the calibration coefficients in non-volatile memory so th
-
System Workbench for STM32: Usart receive interrupt sends program to UsageFault_Handler() infinite loop
No, usart irq handler never executes.
Probbably the problem is that void USART2_IRQHandler(void) is not definened in startup file, since
it is handled like unexpected interrupt.
Whole code is here (Maybe i forgot to call some specifi
-
System Workbench for STM32: STM32 System Workbench - looks nice but it does not work
Greetings.
I recently downloaded the program, installed it and tried to create a new project.
It looks nice, it feels nice, it has a lot of text, menus, messages, it even asks for permission to send error reports.
But whatever I do,