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
I've been having this problem for a while now. I open one of the trusted flashlayout (.tsv) files in STM32CubeProgrammer. I can connect to the target board over USB without issue. I click "Download" and it successfully downloads tf-a-stm32mp-serialboot and also successfully downloads u-boot-stm32mp.However, when U-Boot is executed, the target board fails to reconnect over USB. Here is the dmesg output:Eventually, STM32CubeProgrammer times out because it is unable to connect to the target to download the kernel.What could the cause for this be? I have looked at the USB configuration in the u-boot device tree many times and have followed the wiki, and it all looks correct.
Hi,I'm trying to create a debug configuration in STM32CubeIDE to debug Linux Kernel but I can't find any related article about the issue. I want to use gdb with ST-LINK (OpenOCD) as JTAG device to debug the Kernel that I have already compiled.Any suggestion?
Hello , On Page : https://wiki.st.com/stm32mpu/wiki/How_to_customize_the_Linux_kernel cd <build dir>/workspace/sources/<name of kernel recipe>/PC $> git format-patch -2Is this correct?I can find the source inside the build/tmp-glibc/work/....and not the above path.Please clarify.Best !
HiI'm designing a custom PCB with a STM32MP157F and a DP83867 PHY connected over MDIO and RGMII. The problem is, the communication between the two is completely dead. No data or clock can be measured on either the MDIO or MDC line, MDIO is constant HIGH and MDC is constant LOW, even when explicitly reading/writing data using the mii or mdio u-boot subsystem.The following code is my u-boot device tree configuration:&ethernet0 { status = "okay"; pinctrl-0 = <&ethernet0_rgmii_pins_a>; pinctrl-1 = <&ethernet0_rgmii_sleep_pins_a>; pinctrl-names = "default", "sleep"; phy-mode = "rgmii-id"; max-speed = <1000>; phy-handle = <&phy0>; mdio0 { compatible = "snps,dwmac-mdio"; #address-cells = <1>; #size-cells = <0>; phy0: ethernet-phy@0 { reg = <0>; ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>; ti,fifo-depth = <DP83867_PHYC
..
Hi ,I am trying to follow the tutorial which is here : https://www.youtube.com/watch?list=PLnMKNibPkDnFeV4sBarnsAtFTg7h6V-9_&v=XhB0rGLjl_Q&feature=youtu.beThis is one of the workshop which i am trying to recreate. At 11:50 , the commands are listed to generate the dtb file from dts file. But when i try to follow it , it is not working and unable to generate dtb file from dts file.I have OpenSTLinux dunfell 5.10.10 flashed on the STM32MPU.I also tried folllowing this tutorial but this also does not seem to work on latest version : https://wiki.st.com/stm32mpu/wiki/How_to_compile_the_device_tree_with_the_Developer_PackageAny leads will be appreciated how to achieve it as in latest SDK it is not working.
I try to use the STM32MP1 in engeneering boot mode to develop the co-processor's firmware. Unfortunately the code generation is not complete, meaning initialization for all GPIO pins (exept MCO Pins) are missing. Is it possible to activate the code generation for the GPIO pins which are used only by the M4 co-processor? Thanks an best regards
Hello i wanted to use the GPIOLib to control my pin manualy. so i added this in my device tree.&usart3 { pinctrl-names = "default", "sleep", "idle"; pinctrl-0 = <&usart3_pins_c>; pinctrl-1 = <&usart3_sleep_pins_c>; pinctrl-2 = <&usart3_idle_pins_c>; uart-has-rtscts; status = "ok"; ethernet { compatible = "st,stm32_usart_net"; local-mac-address = [ A0 B0 C0 D0 E0 F0 ]; pinctrl-names = "default"; rts-gpios = <&gpioa 11 GPIO_ACTIVE_LOW>; cts-gpios = <&gpioa 12 GPIO_ACTIVE_LOW>; };};and in my code i wanted to change the pin state like that:rtsGpio = devm_gpiod_get(&serdev->dev, "rts-gpios", GPIOD_OUT_HIGH); ssleep(1); gpiod_set_value(rtsGpio, 1);but when i look at it the pin is not changing the status. and i get this log message:gpiod_set_value: invalid GPIO (errorpointer)
I work on Win10. DFU is seen in the settings. I use the programmer to transfer the linux image to the customer MP1 board. The transfer is very instable and break on different files/positions. Very seldom the complete *.tsv image is transfered and I can start the linux system.set TOOL=C:\ST\STM32CubeIDE_1.6.1\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_1.6.0.202101291314\tools\bin\STM32_Programmer_CLI.exe %TOOL% -c port=USB1 -d tf-a-u-boot-kernel-initrd.tsv %TOOL% -c port=USB1 -detach pauseC:\Projekte\30088\EMOTAS>C:\ST\STM32CubeIDE_1.6.1\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_1.6.0.202101291314\tools\bin\STM32_Programmer_CLI.exe -c port=USB1 -detach ------------------------------------------------------------------- STM32CubeProgrammer v2.7.0-RC1 ------------------------------------------------------------------- USB speed : High Speed (480MBit/s) Manuf. ID : STMicroelectronics Pr
I've noticed when booting one of our board designs with a STM32MP157C in openstlinux-5.4-dunfell-mp1-20-11-12 with Weston Wayland under the STM32MP157-Ecosystem-v2.1.0 that multiple times when the kernel is loading I'll see the following messages output via std-out..[ 1.661544] 4000e000.serial: ttySTM0 at MMIO 0x4000e000 (irq = 45, base_baud = 6250000) is a stm32-usart [ 2.824397] printk: console [ttySTM0] enabled [ 2.830231] stm32-usart 4000f000.serial: failed to get alias id, errno -19..additionally, later on in the after the Weston Wayland Compositor initializes, I begin getting the following output...[ OK ] Started Weston Wayland Compositor (on tty7). [ 21.050754] dma dma1chan0: Request not allowe[ 21.056455] stm32-usart 4000e000.serial: rx dma pre[ 21.122445] dma dma1chan0: Request not allowe[ 21.126782] stm32-usart 4000e000.serial: rx dma pre[ 31.177662] dma dma1chan0: Request not allowe[ 31.181949] stm32-usart 4000e000.serial: rx dma pre[ 31.213137] dma dma1chan0: Request not al
Hello,I tried to apply the step by step "Modify, rebuild and reload the Linux® kernel" form wiki.st .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_kernelEverything works fine from the first step of the "Getting started " until i uncoutered the error bellow.Unfortunately i am a complete beginner on these tools and don't understand whats happen.Thank you by advance for any help.@PC:~/STM32MPU_workspace/STM32MP15-Ecosystem-v2.0.0/Developer-Package/stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.4.31-r0/linux-5.4.31$ make ARCH=arm multi_v7_defconfig "fragment*.config" HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o LEX scripts/kconfig/lexer.lex.c/bin/sh: 1: flex: not foundscripts/Makefile.hos
Has the RT_preempt Patch been tested with OpenSTLinux on a STM32MP1 device? Are there any instructions on how to apply it?
Hi everyone.I'm using a STM32MP151CAC and I have the following DTS:// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* * Copyright (C) STMicroelectronics 2018 - All Rights Reserved * Author: Alexandre Torgue <alexandre.torgue@st.com>. */ /dts-v1/; #include "stm32mp157a-dk1.dts" #include <dt-bindings/rtc/rtc-stm32.h> / { model = "NNBoard IT2"; compatible = "st,stm32mp157c-dk2", "st,stm32mp157"; aliases { serial3 = &usart2; serial4 = &usart6; }; wifi_pwrseq: wifi-pwrseq { compatible = "mmc-pwrseq-simple"; reset-gpios = <&gpioh 4 GPIO_ACTIVE_LOW>; }; led { compatible = "gpio-leds"; blue { status = "disabled"; }; ledtxrx { label ="ledtxrx"; gpios = <&gpioh 7 GPIO_ACTIVE_HIGH>; default-state = "off"; }; ledtxrs485 { label ="ledtxrs485"; gpios = <&gpioe 11 GPIO_ACTIVE_HIGH>; default-state = "off"; }; ledrxrs485 { sta
Hello,I'm trying to develop an application that use an STM32MP1 Series (STM32MP157A-DK1 for the moment)My application need inter-processor communication between the A7 and M4 CoresI had generated my project with STM32CubeMX and the project is successfully created for the M4 core with a ready to use main.cppI then followed the wiki page How to manage OpenSTLinux project in STM32CubeIDE and compiled the Generated .dts files to a .dtb file and uploaded it on my board. (with a u-boot project)The new configuration works well on the board (my newly updated I2C port is now well recognized on CA7 so the configuration update worked) but when i'm trying to launch the CM4 project from STM32CubeIDE it fails with an error popup saying: "Failed to insert all hardware breakpoints: you have requested too many hardware breakpoints/Watchpoints" (even if i have only one!) and the followings console message:Info : Ne
I was able to build an image containing Chromium by adding meta-browser, meta-clang (dunfell branch) and meta-python2. I can verify Chromium built and was included in the image.The problem is when Chromium runs, it errors out with an error indicating it cannot open the display. Being new to Wayland, I searched for how (and what) to configure as the Wayland display. None of the examples seemed to work.My questions is has anyone been able to run Chromium on this machine? If so, what magic incantation did you use to get the correct display?Thanks,Greg
Custom board STM32MP15AABMX Cube version 6.2.1I just switched from v2 of the Distribution ecosystem to v3. After updating MX Cube to work with the latest and re configuring the kernel and device tree files I'm running into the listed issue.I am able to build and deploy everything to emmc and initially boot the kernel to a command prompt. Upon the next reboot, The system fails to boot to a command prompt and the otg peripheral complains about dwc2 49000000.usb-otg: Overcurrent change detected.Any ideas why, or tips for debugging?
Hi,I am using the STM32MP157F-DK2 MPU for a Linux project. Exactly, I am interested in Linux-RT. Browsing in the Internet, it is said that only is necessary applying a patch in the kernel. The patch file uses the command "git diff", but is not installed in the kernel.My goal is install it, however, "apt" is not either installed, so I have to make the install with "dpkg" - something completely caotic.HELP! Is there any way to install "apt" or "yum"? If not, how can I install "git" command so that applying the patch?Thanks,Oscar
I want to use the STM32CubeIDE to debug the M4 on the STM32MP1.I setup the debug setting for debug probe ST-Link (OpenOCD). If I use the automated generation of the script, it refer to [find target/stm32mp1x.cfg].This is not part of the default installation of STM32CubeIDE 1.6.1 and it is not located in https://github.com/STMicroelectronics/OpenOCD/tree/openocd-cubeide-r3/tcl/targetIn general it doesn't seems to be the MP1 openocd files for the MP1 within the windows installation.
Hi all, I'm trying to customize the device tree of the stm board, but I'm stuck early on. I'm trying to follow stm32mp157c-dk2 tutorial to flash Starter Package (https://wiki.st.com/stm32mpu/wiki/STM32MP15_Discovery_kits_-_Starter_Package), however, when I reach the step PC $> STM32_Programmer_CLI -l usb I get the following output~/stm32mpu-workspace/stm32mpu-tools/stm32-cube-programmer-240/bin/STM32_Programmer_CLI -l usb ------------------------------------------------------------------- STM32CubeProgrammer v2.4.0 ------------------------------------------------------------------- ===== DFU Interface ===== No STM32 device in DFU mode connected my host kernel version: 4.4.0-174-generic
My custom board is based on stm32mp157a-dk1,remove the pmic and usb type c circuit,My porting steps are as follows:1. porting u-boot, verify that u-boot functions properly, compile the uboot trusted image, copy u-boot.dtb to FIP_artifacts/u-boot/ and rename it to u-boot-stm32mp157a-custom-trusted.dtb, copy u-boot- nodtb.bin to FIP_artifacts/u-boot/ and rename it to u-boot-nodtb-stm32mp15.bin2. modify optie-os-stm32mp-3.12.0.r1-r0 source code, add custom dtsi and dts file, modify dtsi and dts file, add custom board in Makefile.sdk file CFG_EMBED_DTB_SOURCE_FILE, use make -f $PWD/ ... /Makefile.sdk CFG_EMBED_DTB_SOURCE_FILE=stm32mp157a-custom all command to generate tee-header_v2-stm32mp157a-custom.bin, tee-pageable_v2-stm32mp157a -custom.bin, tee-pager_v2-stm32mp157a-custom.bin three files and copied to the FIP_artifacts/optee/ directory, in the use of the command is an error prompt can not find other custom board related files in the FIP_artifacts/ directory, but can generate corresp
We would like to implement a dual partitioning system and I am trying to find out if it is possible to have a secondary SSBL (u-boot) partition in trusted mode (eMMC).I don't see any problems for bootfs, vendorfs, rootfs and userfs. FSBL is already redundant, but I could not find anything about having a secondary SSBL partition. Is that possible? Also, if it is possible to have a secondary SSBL partition, how can I tell FSBL to use a determined SSBL partition? From what I could see in the TF-A code, that is not possible, just want a confirmation.For context, all this is for updating a set of partitions when updating a device and switch to this set of partitions in the next boot.Thanks.
Hello ST Teams!I'd like to know if someone have ever tried to get 1920*1080*30fps with the configuration above (STM32MP157C-EV1 and MB1379 board). We'd like to achieve this performance, OV5640 datasheet camera says "ok for me"v4l2 listing capabilities says "ok for me" : Size: Discrete 1920x1080 Interval: Discrete 0.067s (15.000 fps) Interval: Discrete 0.033s (30.000 fps)But if we try with dev board (OSD32BRK) and flying wires with camera(OV5640), fps is limited to 13fps.My question is: Is it possible to achieve 30fps in this configuration?we will reproduce schematics of (STM32MP157C-EV1 and MB1379 board) camera part(dcmi + ext cl
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.