Developer support experience survey - We value your feedback
Join conversations with your peers and ST experts. Explore the full potential of STM32 microprocessors for your embedded design.
Most recent activity
Hi,iam trying to get an understanding of the OpenAMP Framework and i wanna use it for interprocess communication with the STM32MP1. As my understanding, the OpenAMP Framework could be used from Baremetal/RTOS side and apparently also from Linux Side. But when i had a look to the stm-wiki site i only found an Implementation of the OpenAMP to the Cortex M4 not to the A-Cores. So my question is, if there is any example to use OpenAMP also on the A-Cores, with the STM32MP1. Another Question is, if its possible to run the Linux in Slave Mode and the M4 In Mastermode? In my understanding its not possible with the STM32MP1 or?
Hello,we have a custom board based on STM32MP151C. On our SPI is the Ethernet Switch KSZ8794. How should I proceed to enable the ethernet in the U-Boot? I have already configured the etherne0 node (according to the ST documentation). Should I add the node to the spi node?
We are using the latest STM32CubeIDE (1.4.0) and are trying to develop applications for linux user space on our STM32MP157 board. Our goal is to use the cross compiler toolchain for developing and debugging with the IDE.When we create a new project, it seems the IDE doesn't create any ready to compile main.cpp files for the A7 processor like for the M4. See this screenshot: For the M4, the project compiles with the template main.c just fine. But for the A7, nothing is there.So my question is, is there any documentation on how to develop linux user space application with the STM32CubeIDE for the A7?Thank you.Best regards,Kevin
I am interested in the platform to evaluate wifi chips from different vendors. But based on the quick run through schematic, I don't think its possible to connect any different wifi chip (which has sdio as supported interface) in the DK2 kit. If anyone has performed similar exercise or have a different solution in mind, please feel free to educate me.
I want to know the role of the m4_***(for example m4_adc, m4_timers1) node in Cortex-A7 Device tree.When I generate device tree from CubeMX, the m4_*** node are described even if that peripherals are used only on Cortex-M4 FW.Do I need to set status = "okay" in Cortex-A7 device tree even if that peripherals are used only on Cortex-M4 FW?for example, When I use timer6 only on Cortex-M4 FW, Do I need to describe that status = "okay" in m4_timers6 node in device tree?Best regards,H. Masuda
We have confirmed the operation on our original board that "STM32MP151CAA3" mounted on.When I start our Cortex-A7 (Linux) FW and try to load our Cortex-M4 (RTOS: uC3) FW , an error message is output on the console of Linux.The steps when an error occurs is described below.Is there any possible cause for the error?--Steps--1) Write our Cortex-A7 (Linux) FW to a SD card and start it with our original board.2) Build our Cortex-M4 (RTOS: uC3) FW. ⇒ Build is successful.3) Transfer our Cortex-M4 (RTOS: uC3) FW to our original board by scp.4) Start our Cortex-M4 (RTOS: uC3) FW by Cortex-A7 (Linux) FW.⇒ Linux console shows the error message.Best Regards,H. Masuda
The drivers/video/stm32 stm32_ltdc.c in this file.The background color is black, and the modification is as follows:It's still white
Hi,Im working with STM32MP157A-DK1 board. Im working on the linux side, need to write C/C++ code for saving data into a SD card. I need to use SPI to get data from RF transceiver. I built linux and kernel as in this link:https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Modify,_rebuild_and_reload_the_Linux%C2%AE_kernelThen i looked for articles on SPI, these ones especially :https://wiki.st.com/stm32mpu/wiki/SPI_overview#Kernel_configurationhttps://wiki.st.com/stm32mpu/wiki/How_to_use_SPI_from_Linux_userland_with_spidev#pnl-glhvfb87rihttps://wiki.st.com/stm32mpu/wiki/SPI_device_tree_configuration#How_to_configure_the_DT_using_STM32CubeMXhttps://wiki.st.com/stm32mpu/wiki/How_to_build_Linux_kernel_user_space_toolshttps://wiki.st.com/stm32mpu/wiki/How_to_cross-compile_with_the_Developer_PackageAnd to be fair these are really good materials but i cant manage to be able to run spidev_test example.i did rebuilt kernel , mod
Hi.I was going to buy STM32MP157C-DK2 but its status NRND(Not Recommended for New Design). So I think to buy STM32MP157F-DK2. Are they different point is only a clock(650 or 800) of A7 core? What's the difference?Thank you.Best regards.
I want to know what "st-image-xxxxx" parameter mean.Especially, I want to know what name of xxxxx (for example "weston") means.Is the name of xxxxx related to the name of some config file?For example, if I changed the name of xxxxx to any name from weston, Are output files by bitabake influenced?Best Regards,H. Masuda.
We would like to share data between the A7-core and the M4-core on an STM32MP1 device. Those cores both have access to the SRAM1,2,3,4 . The M4-core is connected directly via the AHB interconnect, the A7-core is connected via the AXI-based NIC-400 interconnect which has access to the AHB. Since both interconnects have a bit-width of 32 bits or more, I am wondering if writing or reading to/from a 32 bit address will always be atomic, at least for aligned accesses. So for example, if the A7 is constantly writing a uint32 into a commonly known memory address in SRAM1 and the M4 is constantly reading this address, is it guaranteed that the M4 will never read a partially updated value?Thanks in advance
Hello I am getting the following error after trying to build the imageThe rootfs size 5956484(K) exceeds IMAGE_ROOTFS_MAXSIZE: 763904(K)and I don't find anything related to this problem apart from this line that should be implemented in the local.conf file:MENDER_STORAGE_TOTAL_SIZE_MB=.... Will this solve my problem? If not how do I solve this problem please I am a beginner with yocto.I want to use the maximum space that I can so that this error won't come again. I will add a lot of packages and modules after so please tell me if there is a default size to apply. Thank you
Hi, I have 10 DK2's in a server rack for development and testing. STM32CubeIDE (1.5.0) debugging wants me to specify a serial port and an IP address for debugging. This is IMHO redundant, why? Moreover, the serial ports /dev/ttyACM* are to be selected from a drop-down list. But, those assignments are not persistent. After a reboot of the server or a reconnect of the boards, the ttyACM* changed. I would prefer using the persistent names available at /dev/serial/by-id/usb-STMicroelectronics_STM32_STLink*, but cannot select those in the Debuggger tab.Finally, the IDE asks me for my credentials several times per debug session. Is there a log which I can inspect to see what's going on behind the windows?RegardsKnarfB
Hi.It's ready to use MP1 peripheral(USB, Ethernet, SD card) right away if I download to OpenSTLinux image to MP1-DK board after downloaded on ST website? or Do I need to make device driver for peripheral?Are there guiding, or tutorial for making application about using USB, Ethernet or SD card on OpenSTLinux?Thank you.Best regards.
HelloI am trying to build an Image based on the Yocto Project for my stm32mp157c-DK2 according to st-wiki.When I try to build the image I get the following error.ERROR: Task do_populate_sdk in /home/mehdi/Distribution-Package/openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-st/meta-st-openstlinux/recipes-st/images/st-image-weston.bb rdepends upon non-existent task do_package_write_deb in /home/mehdi/Distribution-Package/openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-st/meta-st-openstlinux/recipes-st/images/st-image-weston.bb ERROR: Command execution failed: 1What did I miss or what did I do wrong in my local.conf file ?Best regards.I can share with you the content of the file.
I wanted to flash my image using the command STM32_Programmer_CLI.exe -c port=usb1 -w flashlayout_st-image-weston/trusted/FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsvBut I end up getting the following error:Error: Unable to open the file st-image-bootfs-openstlinux-weston-stm32mp1-disco.ext4 Error: Download partition 0x21 failed Error: TSV flashing service failedI am working in the following directory which has the following files in it:~/DP1/openstlinux-5.4-dunfell-mp1-20-11-12/build-openstlinuxweston-stm32mp1-disco/tmp-glibc/deploy/images/stm32mp1-disco$ ls -s total 1685864 4 arm-trusted-firmware 4 bootloader 4 build-st-image-weston-openstlinux-weston-stm32mp1-disco 4 flashlayout_st-image-weston 4 kernel 4 scripts 15532 st-image-bootfs-openstlinux-weston-stm32mp1-disco-20201214112610.bootfs.ext4 4 st-image-bootfs-openstlinux-weston-stm32mp1-disco-20201214112610.bootfs.manifest 10392 st-image-bootfs-openstlinux-weston-stm32mp1-disco-20201214112610.bootfs.tar.x
I found that the UBoot env stored at the same address as the bootfs, which caused emMC to fail to start the kernelEnv and Uboot are both at 0x280000 addresses,
..
Hi! As the TouchGFX library is free for STM32, will it also support the STM32MP1 running under Linux? Regards Friedl
I have a custom built buildroot image on my STM32MP157C-DK2. Used STM32CubeIDE 1.5.0 to create a M4 blinky project. Can download and run the .elf manually on the board, LED blinks okay. Engineering Mode works too. In Production Mode, I can download the .elf from IDE. Have to enter my credentials and see the download progress and the resulting .elf on the board.But, after download, I have to enter the same credentials again and .. finally get:Error in final launch sequence: Failed to execute MI command: target remote 192.168.2.44:3333 Error message from debugger back end: 192.168.2.44:3333: Connection timed out. Failed to execute MI command: target remote 192.168.2.44:3333 Error message from debugger back end: 192.168.2.44:3333: Connection timed out. 192.168.2.44:3333: Connection timed out.There serial connection says:[ 2174.385112] remoteproc remoteproc0: stopped remote processor m4 [ 2179.484162] remoteproc remoteproc0: powering up m4 [ 2179.493251] remotep
Hi, We have a custom board with onboard eMMC which is connected on SDMMC2 lines: SDMMC2_D0 - PB14 SDMMC2_D1 - PB15 SDMMC2_D2 - PB3 SDMMC2_D3 - PB4 SDMMC2_D4 - PB8 SDMMC2_D5 - PB9 SDMMC2_D6 - PC6 SDMMC2_D7 - PC7 SDMMC2_CMD - PG6 SDMMC2_CLK - PE3 These pins are not all default pins for SDMMC2 so I'm interested if there is a way to program this eMMC using DFU mode with Cube Programmer. Is there a way to change pins which are used for programming? Best regards, Nenad
Hello,i am trying to create a simple qt application that needs to use both M4 (Free RTOS - simple CAN data to be exchanged to application) and A7 ( run Qt application on Embedded Linux).as of now created a distribution package with Qt layer,created a qt application on Linux PC need to be flashed to embedded linux.Trying to establish a communication between 2 Processors using IPCC rproc mechanism.Are there any video tutorials to learn all the basics with STM32MPU157c - dk2?Are there any blogs or post to learn these?
Hello EveryoneI am using the README.HOW_TO.txt file to install the kernel. IN section 3 it is stated that I must apply some patches:1-Section 3 patch applicationif there is some patch, please apply it on source code $> for p in `ls -1 *.patch`; sudo do patch -p1 < $p; done mehdi@LAPTOP-CP6QP7G9:~/DevPack/stm32mp1-openstlinux-5-4-dunfell-mp1-20-11-12/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.4.56-r0$ for p in *.patch; do sudo patch --strip=1 < $p; done can't find file to patch at input line 16 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From 4556074b66971918536ed27d52f5f4f6337f0646 Mon Sep 17 00:00:00 2001 |From: Lionel VITTE <lionel.vitte@st.com> |Date: Mon, 5 Oct 2020 13:19:40 +0200 |Subject: [PATCH 01/22] ARM-stm32mp1-r2-rc8-MACHINE | |--- | arch/arm/kernel/time.c | 2 ++ | arch/arm/mach-stm32/Kconfig | 1 + | arch/arm/mach-stm32/board-dt.c | 2 ++ | 3 files changed, 5 insertions(+) | |diff --g
Hi,I'm interested if there is ADC input protection against voltage transients and overvoltage inside STM32MP157C or I should add external protection for used pins? If I had to add external components do you have some recommendations?Best regards,Nenad
Hi,I want to compile linux kernel for stm32mp157c-dk2, i followed guide in README.HOW_TO.txt and when i run command "make ARCH=arm O="$PWD/../build" multi_v7_defconfig fragment*.config" in point 5. I get following errors:/opt/st/stm32mp1/stm32mp1-openstlinux-4.19-thud-mp1-19-02-20/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/linux-4.19.9/scripts/kconfig/Makefile:109: *** No configuration exists for this target on this architecture. Stop./opt/st/stm32mp1/stm32mp1-openstlinux-4.19-thud-mp1-19-02-20/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/linux-4.19.9/Makefile:539: recipe for target 'fragment*.config' failedmake[2]: *** [fragment*.config] Error 2/opt/st/stm32mp1/stm32mp1-openstlinux-4.19-thud-mp1-19-02-20/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/linux-4.19.9/Makefile:286: recipe for target '__build_one_by_one' failedmake[1]: *** [__build_one_by_one] Error 2make[1]: Opuszczenie katalogu '/opt/st/stm32mp1/stm32mp1-op
WATCH ON-DEMAND | STM32 Summit 2026
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.