Get ready for the STM32 Summit 2026 | Online, November 3
Join conversations with your peers and ST experts. Explore the full potential of STM32 microprocessors for your embedded design.
Most recent activity
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
Hi, I am helping establish a reliable drone survey product, performing low-bandwidth sense operations and image detection for on-board analytics. This unit responds to what it reports, performing control & maintenance when needed.Unit:- Drone w/steer & control`- Image capture & analysis- General sense, comm(RF/BT) & GPS- Low power (e.g. for the proc, ~4-6 hours on 2000mAh?)Services:- Route Navigation- Obstacle detection & avoidance- Survey Image Analytics (AI request)- Liquid dispense on request- System network integrationThis team has selected the Raspberry Pi 4 for solution, with interest in the Google Coral but I grew concern over reliable full-feature set support. Would the STM32MP support this feature set for a drone? They may ask for Google TPU support (the Coral's AI-engine via PCIe), would the STM32MP support interface to the TPU via PCIe?It looks like the answer is a strong yes to all listed above, I was reaching out to you first for confirmation =)Kin
Hi, i just started working/learning STM cards as an intern. I want to run C/C++ codes on STM32MP157A-DK1 ARM Cortex-A7.I did the getting started tutorials at wiki, and im using environmet version 2.1.0 release I followed these posts:https://community.st.com/s/question/0D53W00000M9GphSAF/using-stm32cubeide-for-developing-linux-user-space-applicationshttps://wiki.st.com/stm32mpu/wiki/How_to_manage_OpenSTLinux_project_in_STM32CubeIDEThen I wrote an the most basic hello world code. just want to get an build, deploy and see if its working properly then i will start working on the task that i given.#include <stdio.h> int main() { printf("hello world\n"); return 0; }The problem is when i press : Run as -> STM33 Cortex-A Linux deployment it gives an error and says : " Activation DeviceTree... failed" I really dont know anything about this kind of work, i worked as a programmer but with visual studio, unity engine and unreal engine so this kind of environment is compl
Qt uses 'eglfs' to display. After configuring this 'hwcursor', use Qt to display the card on HDMI. The touch screen will also get stuck. When the QT_QPA_GENERIC_PLUGINS environment variable is deleted and the mouse is plugged in, the mouse cannot be displayed on the Qt interface, and the mouse can be used, and the use of 'hdmi' or LCD is very smooth. The terminal keeps printing "Failed to move cursor on screen UNKNOWN1: -14", as shown below.
Are the low level interfaces such as LL_GPIO_MODE available for STM32MP157C? If so, where can I find the headers? I created a project using STM32CubeIDE but can only see headers for HAL.
Hello,I have a custom board based on STM32MP151-C with an eMMC on the following pins:SDMMC2_CK PE3 (AF09)SDMMC2_D0 PE6 (AF07)SDMMC2_CMD PG6 (AF10)I read that the ROM expects the the SDMMC2_D0 pin on PB14 so I need to change it by using values from the OTP. I found this link (https://community.st.com/s/question/0D50X0000AkQJiHSQW/how-to-change-emmc-interface) and did the same as the ST Support, just for my pins. Here are my results.OTP3 = 0x00000004 SDMMC2 (uses non default AFmux defined in OTP)OTP5 = 0x38745394SDMMC2_CK = PE3 (bits[15:0]: port0=5=GPIOE, pin0=3, afmux0=9, mode0=4=AF;pull-up;medium-speed)SDMMC2_D0 = PC8 (bits[31:16]: port1=3=GPIOC, pin1=8, afmux1=7, mode1=4=AF;pull-up;medium-speed)OTP6 = 0x000076A4SDMMC2_CMD = PG6 (bits[15:0]: port2=7=GPIOG, pin2=6, afmux2=10, mode2=4=AF;pull-up;medium-speed)Could someone please let me know if I calculated the OTP values correctly? So I dont brick the board.PS: How do I determine th
Hello,We have an issue with QML multimedia to display camera stream. The result is not smooth while with Qt widgets it works fine. Gstreamer pipeline from command line works as well. The hardware is a STM32MP157C SoC which provides a Vivante GCnano as GPU. Everything is compiled with our specific Yocto layer along with OpenSTLinux 2.0 release. So Qt release is 5.14.2 and GSTreamer release is 1.16. The camera output is VGA in UYVY format and the screen resolution is 480x800. Everything was tested in Weston session or EGLFS without differences. GStreamer pipeline from command line is:gst-launch-1.0 -v v4l2src ! "video/x-raw, width=640, height=480, framerate=(fraction)30/1, format=(string)UYVY" ! videoconvert ! videoscale ! video/x -raw,width=480,height=800 ! kmssink driver-name=stm connector-id=32 force-modesetting=trueThe result is smooth. QML applications are started by default with this environmentQT_QPA_EGLFS_ALWAYS_SET_MODE=1 QT_QPA_EGLFS_INTEGRATION=eglfs_kms QT_QPA_
I would syncrhonize A7 and M4 on STM32MP151A using IPCC interrupt, how can I do it? Moreover, using FreeRTOS, I need to start some task before of MX_OPENAMP_Init, but I noticed if I move this function after the Kernel starting, it doesn't work. I don't understand why?
Hello ST Support team,I have MP23DB01HP digital MEMS MIC sensor which has PDM output. I was gone through "AN5027" application note. I want to connect this digital MIC with DK2 to find dB data from it.suggest me steps to connect and run mic on DK2 board.Thanks in advance,Nikunj
Hi: I encountered a strange problem when I tried to operate the gpioz pin with the gpioset command in user space and found that the level never changed. Can you give some suggestions to solve it.
I have built a device tree file using the details in wiki in CubeMX. I build with my custom machine using Yocto. When I run the built TF-A binary I get the following output on UART4:NOTICE: CPU: STM32MP157CAD Rev.B NOTICE: Model: STMicroelectronics custom STM32CubeMX board WARNING: VDD unknownINFO: Reset reason (0x15): INFO: Power-on Reset (rst_por) INFO: Using USB INFO: Instance 2 INFO: Boot used partition fsbl1 NOTICE: BL2: v2.2-r2.0(debug):v2.2-dirty NOTICE: BL2: Built : 13:36:23, Oct 22 2019 PANIC at PC : 0x2ffd5f27 Exception mode=0x00000016 at: 0x2ffd5f27Any idea what I am doing wrong?Here is my very simple device tree/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /* * Copyright (C) STMicroelectronics 2020 - All Rights Reserved * Author: STM32CubeMX code generation for STMicroelectronics. */ /* For more information on Device Tree configuration, please refer to * https://wiki.st.com/stm32mpu/wiki/Category:Device_tree_configuration */ /dts-v1/; #
HelloI am working on an IoT project and would like to know which package is suitable for me? I am responsible for customizing the Linux tree, installing packages, set Ethernet, Wi-Fi and the right security protocols from a Hardware point of view.I used to work with other distributions and use the "make menuconfig" and make linux-menuconfig" to choose everything I need.I installed the Starter Package but it is empty and I don't know how to proceed. Can someone tell me if I installed the wrong distribution?Using a VM slows my laptop that's why I am using Ubuntu 18.04 LTS under WSL2Best regards
I have the latest version of ST-Link Utility (ver. 4.6.0) on Windows 10 and the latest firmware (V2.J37.S7), both of which I downloaded yesterday. My co-worker has ST-Link Utility ver. 3.7.0 on Windows 7 and firmware V2.J24.S7 and he has no trouble writing to the device.I'm having several other errors:Blank check almost always fails. When I check the memory location where Blank Check fails, it looks right.Sometimes (maybe 1 in 6 tries) the first file I try to load does load. But the second file NEVER loads. I get this error: Programming error @ 0x0800344C! (the memory address is always different.)Read Out Protection is Disabled and no Flash sectors are protected.I am using Program and Verify with Verify while programming selected.Can you provide any assistance in programming this device? Is it possible to get the older version of ST-Link Utility and the older firmware?
#include <linux/platform_device.h>#include <linux/module.h#include <linux/types.h>MODULE_LICENSE("GPL");MODULE_AUTHOR("Robert W. Oliver II");MODULE_DESCRIPTION("A simple example Linux module.");MODULE_VERSION("0.01");static struct platform_device *pdev;static int __init fake_eth_add(void){ int inst_id = 0; pdev = platform_device_alloc("fake-eth", inst_id); return 0;}static void __exit fake_eth_put(void){}module_init(fake_eth_add);module_exit(fake_eth_put);
I am trying to enable FDCAN on STM32MP157C. I modified Linux Kernel (STM32MP15-Ecosystem-v2.0.0) and U-Boot, following the steps explained in the Developer Package guide. I get these messages, which are suggesting I setup everything correctly.root@stm32mp1:~# dmesg | grep m_can [ 3.032730] m_can_platform 4400e000.can: m_can device registered (irq=51, version=32) [ 44.537911] m_can_platform 4400e000.can can0: bitrate error 0.3% [ 44.542503] m_can_platform 4400e000.can can0: bitrate error 0.3%root@stm32mp1:/sys/kernel/debug/pinctrl/soc:pin-controller@50002000# cat pinconf-pins | grep CAN pin 11 (PA11): alternate 9 (FDCAN1_RX) - push pull - floating - low speed pin 12 (PA12): alternate 9 (FDCAN1_TX) - push pull - floating - low speedThe board seems to pass the internal loopback test as well (https://wiki.st.com/stm32mpu/wiki/How_to_send_or_receive_CAN_data#Hardware_self-test).The problem is that I cannot get anything on the physical ports. What could have gone wrong?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.