Get ready for the STM32 Summit 2026 | Online, November 3
Ask questions and find answers on STM32 microprocessors, including hardware, power, DRAM, flashing, interfacing, device tree, and peripherals.
Most recent activity
1. Does the STM32MP157D-DK1 board have 3.0 USB ports? Does the USB C connector have USB 3.0 capabilities?2. If no to the questions above, what STM32MP board should we use if we want to have USB 3.0 capabilities?
I'm trying to get SecureBoot running on STM32MP157.After opening and reading about 30 pages of your wiki and basically following [1] I was able to create keys and convinced yocto into generating "*_Signed*" files.Sadly I then got confused with publicKeyHash00.bin and publicKeysHashHashes.bin and uploaded the latter one into my OTPs (all instructions always point to publicKeyhash.bin - never the correct file name). My bad.When I now try to upload new signed images onto the emmc, the process outputs: NOTICE: Bootrom authentication failed NOTICE: BL2: v2.8-stm32mp1-r1.0(release):lts-v2.8.6-dirty(ff0bd5f9) NOTICE: BL2: Built : 17:57:15, Apr 21 2023 NOTICE: TRUSTED_BOARD_BOOT support enabled ERROR: BL2: Failed to load image id 1 (-80) Authentication in boot ROM fails as expected. That's okay. But from the last line I think loading of the fip image also fails.Page [2] says "The process ends with error authentication error -80 in case of incorrect provisioning.".Does this mean the b
Where can I find the STM32MP25_CM33.svd file?
When attempting to install the MP1 SDK again on a machine that previously had the SDK installed in a different location I see the error:Argument list too long SDK could not be set up. Relocate script failed. Abort!What is the best method for uninstalling a previous installation of the SDK?My objective was to relocate the SDK.The console output is:./st-image-weston-openstlinux-weston-stm32mp1.rootfs-x86_64-toolchain-5.0.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06.sh -d /development/stm32mpuv5/Developer-Package/SDKST OpenSTLinux - Weston - (A Yocto Project Based Distro) SDK installer version 5.0.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06==================================================================================================================================You are about to install the SDK to "/development/stm32mpuv5/Developer-Package/SDK". Proceed [Y/n]? YExtracting SDK.......................................................................................................
Hi,Migrating to STs ecosystem v.5.1.0 from v.3 right now and having an issue with M4 where remoteproc is unable to attach to running M4 and consequently fails. From what I can see in the logs there is a timeout while waiting for the resources, in fact only m4_dma2 becomes available (see attached log dyndbg.txt).I am following this guide How to assign an internal peripheral to an execution context - stm32mpu to configure DT files (see attached DT.txt). As you can see all corresponding soc peripherals have been disabled and all m4_ peripherals enabled, but for some reason only dma2 gets probed. What am I missing here?Thanks!
Hello ! I am developing a STM32mp257FAI3 board.Does STM32mp257FAI3 support ubuntu 20.0.4 operating system?
Hi ST,Komal here, I want to purchase STM32MP157D-DK1 my requirements include:should support Linux full OSEthernet phyRAM 4GBso my question is will this board support full linux OS and other requirement of mine ?if not suggest a board according to my requirement.if the board suits good then kindly suggest which series of the board i will have to go for. Waiting for your quick response. Thank you
Is there a recommended minimum SMT package size and power rating for resistor R4 (8R2) please?
We have a board with PMIC attached to I2C2. I've followed the directions in https://wiki.st.com/stm32mpu/wiki/PMIC_hardware_components#TF-A to add the i2c2 node to the device tree. I have the I2C2 clock set to use HSI. No matter how I configure the clocks I can't get I2C2 to be initialized properly. Here is the message I get in TF-A:ERROR: I2C clock rate is 0ERROR: Cannot initialize I2C 40013000 (-22)
Hello, I am having an issue when I try to download the Developer package in the wiki. I am using this link (https://wiki.st.com/stm32mpu/wiki/STM32MPU_Developer_Package#Installing_the_Starter_Package) in the 5.2 section, there, it redirects me to (https://www.st.com/en/embedded-software/stm32mp1dev.html#get-software). In the last link, when I try to download the file, it downloads the wrong file, since it downloads the SDK instead of the Developer package. Probably there is an error in the API and it gets the wrong file. Does anyone else experiences the same issue?
I have two STM32MP157C-DK2 dev boards, they still have the demo software on it.They collected a lot of dust, over the past years.The problem is the 3d cube demo slowing down after days.After a reset it is fast again. Perhaps a memory leak?Because it needs a reset every day or maybe every hour, I never was willing to start developing software on it.I'm cleaning up, and I am about to throw these kits in the trashbin.But, what's the undelying problem? Is there a solution to keep de kits running stable and at full speed anyway?
Is there a way to increase code size which is used on M4 MCU? I saw some memory regions in device tree, but it is not clear how to do a change. Any info will be appreciated.Best regards,Nenad
Please help me add support for USB-UART converters of the CP210x and CH341 series on the STM32MP157F-DK2 board. I expect to see ttyUSBx, but no new devices appear after connection. I am using the Distribution Package, and in the kernel configuration, I have activated the following settings: # USB port drivers # CONFIG_USB_SERIAL=y # CONFIG_USB_SERIAL_CONSOLE is not set CONFIG_USB_SERIAL_GENERIC=y CONFIG_USB_SERIAL_SIMPLE=m # CONFIG_USB_SERIAL_AIRCABLE is not set # CONFIG_USB_SERIAL_ARK3116 is not set # CONFIG_USB_SERIAL_BELKIN is not set CONFIG_USB_SERIAL_CH341=m # CONFIG_USB_SERIAL_WHITEHEAT is not set # CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set CONFIG_USB_SERIAL_CP210X=m But when connecting a CP210x- or CH340-based converter to any of the four USB-A ports on the board, I only get the following in dmesg: [1619.270102] usb 1-1.3: new full-speed USB device number 4 using ehci-platform At the same time, I can see my adapter when running lsusb: Bus 001 Device
Hello,I have a custom board with the STM32MP257FAK processor. I am having issues booting into u-boot from emmc. I can boot into u-boot fine using dfu-util over usb. But once I program in fsbl, ssbl, and meta data into the emmc and try to boot from it I get a error with the metadata partition. See log below.Any ideas what could cause this error?
Hi I am trying to reset M33 with IWDG4. I configured the IWDG4 and enable IWDG4 Reset Interrupt in EXTI2. Now I see it loop into the IWDG4_RST_IRQHandler. But M33 not reset. Can anyone help to figure it out? Thanks a lot
We're moving to the latest scarthgap release (v24.11.06) of the ST distro (building from yocto). We have a custom board.Generating the device tree from STM32CubeMX 6.13.0 no longer seems to define the pinctrl settings in the device tree?I clicked the option to migrate the .ioc file.Apart from a few whitespace changes, the device tree differs only in terms of missing pinctrl configuration. This doesn't seem right to me, I don't see where else that is being defined and will be required for our pin muxing. The STM32M4 firmware base code also output is missing configuration for the GPIO?Why are there no Pinctrl definitions any more? Is there a configuration, or is STM32CubeMX broken? I've reinstalled it and the packages.(we migrated .ioc file and regenerated the device tree successfully several times for mickledore)
Hello,I encountered a problem with optee that I could not resolve due to a misunderstanding of debug information.During boot up the board, I get the following debug logSpoiler (Highlight to read)...F/TC:0 0 __clk_enable:1195 Clock 192 has been enabledD/TC:0 0 probe_driver_node:550 element: stm32-rtc on node rtc@5c004000 initializedF/TC:0 0 probe_driver_node:543 Probing stm32-iwdg on node watchdog@5a002000F/TC:0 0 pager_deploy_page:1469 Mapped 0x30023000 -> 0x2fffa000F/TC:0 0 pager_deploy_page:1469 Mapped 0x30056000 -> 0x2ffea000F/TC:0 0 pager_deploy_page:1469 Mapped 0x30021000 -> 0x2fffd000D/TC:0 0 gic_it_set_cpu_mask:410 cpu_mask: writing 0xff000000 to 0x349218b4D/TC:0 0 gic_it_set_cpu_mask:412 cpu_mask: 0x3000000D/TC:0 0 gic_it_set_prio:426 prio: writing 0x1 to 0x349214b7D/TC:0 0 dt_driver_device_from_node_idx_prop:370 Property resets missing in node watchdog@5a002000F/TC:0 0 __clk_enable:1195 Clock 58 has been enabledD/TC:0 0 iwdg_wdt_get_version_and_status:528 Watchdog is
Hi Team,There are two version of OSTL i.e. v4.0.0 STM32 MPU OpenSTLinux release note - v4.0.0 - stm32mpu-ecosystem-v4 and v4.1.0 STM32 MPU OpenSTLinux release note - v4.1.0 - stm32mpu-ecosystem-v4. what is difference between them both are at 5.15.x kernel and using Kirkstone? Is OSTL v4.1.0/v4.1.1/v4.1.2 backward compatible with v4.0.0/v4.0.1/v4.0.2? @OlivierK Thank you.
Hi:Recently, I have been transplanting Debian on the stm32mp2 platform, but Xfce cannot be started, and the following error keeps occurring. Can you give some suggestions? startx X.Org X Server 1.21.1.7 X Protocol Version 11, Revision 0 Current Operating System: Linux myd-ld25x 6.1.82 #1 SMP PREEMPT Mon Sep 9 07:52:16 UTC 2024 aarch64 Kernel command line: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw earlyprintk earlycon loglevel=8 console=ttySTM0,115200 xorg-server 2:21.1.7-3+deb12u8 (https://www.debian.org/support) Current version of pixman: 0.42.2 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec 1 14:13:50 2024 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE
Hello,I am currently using Linux kernel version v5.15-stm32mp-r2.tar.gz and U-Boot version v2021.10-stm32mp-r2.tar.gz for my project based on the STM32MP family. I have recently upgraded the Linux kernel to linux-5.15-stm32mp-r2.2.However, I am unsure which U-Boot version is compatible with linux-5.15-stm32mp-r2.2. I tried using U-Boot version v2022.10-stm32mp-r2 with this kernel, but encountered the following error during compilation: Error: arch/arm/dts/.stm32mp157c-ccb-mx.dtb.pre.tmp:1478.1-6 Label or path sram not found FATAL ERROR: Syntax error parsing input tree Check /home/vivekb/workspace/source/NGACEM-269/SSB-buildroot/output/build/uboot-custom/arch/arm/dts/.stm32mp157c-ccb-mx.dtb.pre.tmp for errors make[4]: *** [scripts/Makefile.lib:336: arch/arm/dts/stm32mp157c-ccb-mx.dtb] Error 1 make[3]: *** [dts/Makefile:44: arch-dtbs] Error 2 make[2]: *** [Makefile:1173: dts/dt.dtb] Error 2 make[1]: *** [package/pkg-generic.mk:293: /home/vivekb/workspace/source/NGACEM-269/SSB-buildr
I'm encountering difficulties while attempting to connect and debug my STM32 microcontroller, and I'm seeking guidance from the community. I have erased the full chip flash memory and uploaded my code but suddenly I start getting these error messages,Error Messages:1. In ST-Link Utility:Can not connect to target!If you're trying to connect to an STM32W1xx device, please select Normal or HotPlug mode from Target->Settings menu.If you're trying to connect to a low-frequency application, please select a lower SWD Frequency mode from Target->Settings menu.
Hi everyone,The stm32mp1 use SDMMC2 as default emmc controller. Now, I need use SDMMC1 to connect emmc flash. And I saw the OTP need changed. Bud I am confuse about IOs of SDMMC1. Does it also need setting some OTP bits to pinmux CK, CMD, D0?This picture show need change bit to chose SDMMC1.This picture is confused me. When I use SDMMC1, is it need configure CMD, CK,D0 to default pinmux on SDMMC1? If it is needed, where to configure those?
Hi Guys,Please I facing problem to have a QT application fitting the DSI screen,it sounds like it is 400x240 and not 800x480. I`m probably missing something on QTor on the STM32MP157C-DK2.Can someone please help-me to correct the resolution and how to use it landscape ?Thanks [ ]
I am trying stm32mp157f-dk2 for learning linux based on starter packageI just got succeed with load example 1 dtb and echo uart operating Anyway so I got checked the extlinux.conf file can control which dtb would be called But I dont know what's happening let me show what i wonder 1. Why stm32mp157c-dk2-extlinux.conf is called?2. Why load stm32mp157c-dk2.dtb? there's not FDT setting in default LABEL I can do with just change conf file in 157c-dk2 for nowBut i want to know how to select conf file Thank you
HelloI tried everything but I cannot get STM32CubeIDE to get the editor to work.I just keep on getting this message: There is no active editor that provides an outline.I spent hours re-installing but nothing workedAll help will be appreciated
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.