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
Hi,And currently using the STM32MP157F-DK2 demonstration board using Open ST Linux (Kirkstone).And have an issue with the audio codec CS42L51 in that on startup the codec operates as expected, once any playback occurs, 4 seconds after playback stops there is excessive noise on the headphone output.Switching the playback volume to 0, or disabling the mixer has no effect.The only way to stop the noise is to unbind and rebind the codec to the I2C port, I believe this will reinitialise the codec.Reading online this is most likely a DAPM issue, but looking at the DTS and Kernel drive in that latest version of Open ST Linux there are no significant changes.Is this a known issue?Grateful for any recommendation on a fix or workaroundThanksKevin
I got a STM32MP257F-DK with preprogrammed 16GB SD card and the Linux start-up works fine. When I'm building a Linux image based on openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 (DISTRO=openstlinux-weston, MACHINE=stm32mp2) and using a command "sudo dd if=../flashlayout_st-image-weston/optee/../../FlashLayout_sdcard_stm32mp257f-dk-optee.raw of=/dev/mmcblk0 bs=8M conv=fdatasync status=progress" with a 32 GB SD card the Linux start-up ends to errors as[ 10.043162] RESIZE-HELPER START[ 10.173849] RESIZE-HELPER: Using systemd-growfs[ 10.199307] EXT4-fs warning (device mmcblk0p10): ext4_resize_begin:83: There are errors in the filesystem, so online resizing is not allowed[ 10.223720] EXT4-fs (mmcblk0p8): resizing filesystem from 65536 to 65536 blocks[ 10.252068] EXT4-fs (mmcblk0p9): resizing filesystem from 49152 to 256000 blocks[ 11.194098] EXT4-fs (mmcblk0p9): resized filesystem to 256000[ 11.575969] EXT4-fs (mmcblk0p11): resizing filesystem from 131072 to 717278 blocks[ *] A start jo
WARNING Screenshot Hi ST Community, I’m working with the STM32MP135D-FK (Boyard) board and trying to build a Weston image using a custom machine configuration, following this official guide: :link:https://wiki.stmicroelectronics.cn/stm32mpu/wiki/How_to_create_your_own_machine I’m using OpenSTLinux (scarthgap) and everything builds fine, but I get this warning during the final step: WARNING: st-image-weston-1.0-r0 do_create_flashlayout_config: >>> Cannot generate FlashLayout_board.tsv file: the arm-trusted-firmware/tf-a-stm32mp135f-studyproject1-mx-opteemin-program/fsbl_boot.bin is missing in deploy folder It says fsbl_boot.bin is missing and so the FlashLayout_board.tsv file can’t be created. The build itself completes successfully otherwise. My questions: How can I fix this issue and generate the missing fsbl_boot.bin? Do I need to enable or configure something extra in trusted-firmware-a or optee-os? Is there anything specific I need to add
Hi,Is there a way in userspace of (remotely) identifying the silicon revision of an STM32MP157 part? for instance a file or shell command?thanks
In order to add a GNSS1 GPS module to my STM32MP257F-EV1 I added layers via bitbake by following the .pdf tutorial attached.The gnss_app application has been compiled using the SDK.I want to display it via: https://dsh-assetracking.st.com/So I followed the pdf tutorial (still attached) and added a device and generated an API key on the dsh-asset-trackin site that I entered in the "creds.conf" file.And as soon as I try to do code 20 to send the data to the dsh-asset-tracker server I get this error://////////////////// GNSS SENSOR DATA UPLOAD ////////////////////Cloud Config Error: Cannot read cloud configuration fileEnsure that file is present in the same directoryUploading to Cloud Every 9000 miliseconds...Latitude => XX.XXXXXLongitude => X.XXXXXXAltitude => X.XXXXXWhere the Xs are the coordinates of my location.If anyone has any ideas or is experiencing the same problem...Thanks in advancePS:I don't know if the .pdf is attached.It is: um2909-getting-started-with-xlinuxgnss1-p
Hello,I am encountering an issue when enabling the OpenAMP middleware in CubeMX for a new project targeting the STM32MP257F‑DK board. After creating the project and activating only the OpenAMP middleware (see attached screenshot), the build fails because several required files are missing. Below is the full error message generated during compilation.Thank you in advance for your help. 11:12:24 **** Build of configuration Debug for project openAMP_mp257_CM33 ****make -j12 all arm-none-eabi-gcc "../OPENAMP/mbox_ipcc.c" -mcpu=cortex-m33 -std=gnu11 -g3 -DDEBUG -DUSE_FULL_LL_DRIVER -DCORE_CM33 -DUSE_HAL_DRIVER -DSTM32MP257Fxx -DNO_ATOMIC_64_SUPPORT -DMETAL_INTERNAL -DMETAL_MAX_DEVICE_REGIONS=2 -DVIRTIO_SLAVE_ONLY -c -I../Core/Inc -I../../Drivers/STM32MP2xx_HAL_Driver/Inc -I../../Drivers/STM32MP2xx_HAL_Driver/Inc/Legacy -I../../Drivers/CMSIS/Device/ST/STM32MP2xx/Include -I../../Drivers/CMSIS/Include -I../OPENAMP -I../../Middlewares/Third_Party/OpenAMP/virtual_driver -O0 -ffunction-secti
An error in the interrupt priority configuration of the STM32MP135 code generated by CubeMX will result in all interrupts being set incorrectly. For example, if you set the interrupt priority for EXTI0 to 10 in CubeMX, the code will be generated:IRQ_SetPtiority(EXTI0_IRQn, 10);And the correct way is to shift the priority by 3 bits:IRQ_SetPtiority(EXTI0_IRQn, 10<<3); Can this be fixed in future releases?
Hardware setup:- STM32MP257F-DK- The OTP in the chip is burned with the correct OTP value and it is closed.- Connect CN15 USB Port to a Ubuntu Laptop.- BOOT0 = BOOT1 = BOOT2 = BOOT3 = 0- Power on the DEV KIT.Software:Enable Secure Boot + EncryptedROOT_SIGN_KEY = "/mnt/HDD_2TB/KeyGenSecBoot/stm32mp25-signaturekey" ROOT_ENCRYPT_KEY = "/mnt/HDD_2TB/KeyGenSecBoot/stm32mp25-encryptionkey" # Generate Distribution Package with signed binaries for STM32MP25 SIGN_KEY = "${ROOT_SIGN_KEY}/privateKey00.pem" SIGN_KEY_stm32mp21 = "${ROOT_SIGN_KEY}/privateKey00.pem" SIGN_KEY_stm32mp23 = "${ROOT_SIGN_KEY}/privateKey00.pem" SIGN_KEY_stm32mp25 = "${ROOT_SIGN_KEY}/privateKey00.pem" EXTERNAL_KEY_CONF = "1" SIGN_KEY_PASS = "xxx xxx xxxx xxxx xxxxxx xxx xxx xxx" SIGN_ENABLE = "1" SIGN_TOOL = "/home/thinhnguyen/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32_SigningTool_CLI" # Generate a Distribution Package with encrypted partition binaries for STM32MP25 ENCRYPT_ENABLE = "1" ENCRYPT_FSBL_KE
We have changed the Yocto ecosystem of our builds from Kirkstone to mickledore.Everything works smoothly if all the components from the boot chain are built with the same ecosystem (either Kirkstone or Mickledore). Which means is, if TF-A, U-BOOT, Kernel, and rootfs all are either Kirkstone based or Mickledore based in the the image, the system boots fine.We have a different test base scenario, the deployed hardwares in the field are currently operational with kirkstone releases, we intend to update the components individually in the hardwares to avoid the software breaks and to enhance the rollback feature in case of update failure.So, when we update either U-BOOT (kirstone to mickledore) and the kernel is of kirkstone based, the system doesn't boot and watch dog timer keeps resetting the system.When we keep the U-BOOT at kirkstone version and update the kernel (kirkstone to mickledore), the system doesn't boot and the watchdog timer keeps resetting the system.This boot fails after th
Hi,I have a custom Board with a STM32MP157C marked 'B' with an attatched SD card and an eMMC (one from ISSI).First of all I am aware that this revision is having the errata 'eMMC boot timeout too short'. I also read through this post: https://community.st.com/s/question/0D50X0000BiBhHQSQ0/stm32mp153a-failed-to-boot-from-emmcThe problem I am having is that I indeed can boot from the eMMC when resetting it and the MP1 with the NRST pad (using a switch if that matters). TF-A tells me the following reset reason:NOTICE: CPU: STM32MP157CAA Rev.B NOTICE: Model: STMicroelectronics custom STM32CubeMX board INFO: Reset reason (0x14): INFO: Pad Reset from NRSTwhich also makes sense. If I let the system boot and try to reboot it via U-Boot or Linux console it won't start. After the shutdown the boot from eMMC fails and the serial boot is entered.By using my SD-Card I know that the reset reason is MPSYSRESET when rebooting from the command line, as seen in the TF-A trace:INFO: Reset reason (0x54):
Hi,according to CubeMX the LVDS-pins of the STM32MP25 are not multiplexed, means there is no alternative function available for them.As for my application all this (multimedia) stuff is not needed: is there a possibility to use one of these pins as general purpose output? I'm thinking about something non-time-critical, such as switching an LED more or less slowly.Any hacks available to do that?Thanks!
Dear STMicroelectronics Community,I hope this message finds you well.We are currently working on integrating the Murata M.2 Wi-Fi module with an STM32 MPU platform(STM32MP157D-DK1). The STM32 board provides a 14-pin header interface, and the Murata module is mounted on an M.2 adapter.We would like to inquire if there is any existing connector or adapter solution available that can interface the Murata M.2 adapter with the 14-pin header on the STM32 MPU, specifically supporting SDIO and UART lines.Any guidance or recommendations on compatible hardware or reference designs would be greatly appreciated.Thank you for your support.Best regards,[Adarsh Katiyar][engineer][acl DIGITAL][9651373221]
I build openSTLinux based on the manifest at this link https://github.com/STMicroelectronics/oe-manifestI'm not sure if STM32MP157F supports virtualization. And if it does, can you share how to add docker to openSTLinux?Can I add meta-virtualization (https://git.yoctoproject.org/meta-virtualization) and install docker to my SD card image?
I use default uboot in openSTLinux. I use the command below to save uboot environment.$ env save but it showed an error, and the environement did not save. please see the picture below. How to fix it?
Dear forum,I recently bought an STM32MP157F-DK2 I want to evaluate for the course I am teaching, but I get stuck at the following step "Populate the SD Card" from ST official websiteI have the board initially recognized, the udev rules working fine, the cube programmer connecting correctly and I work under Ubuntu 24.04. The process seems to start fine with the provided file (FlashLayout_sdcard_stm32mp157f-dk2-optee.tsv), but after a few seconds, the process stops with the Cube interface saying "Reconnecting to the board...." for some time, then the process times out and nothing happens.The red led blinks continuously.I am using a compatible power supply, the provided USB-C cable and all seems in the end correct....any idea where the problem might be? Thanks in advance for your help!
I successfully downloaded using STM32CubeProgrammer on the stm32mp257f-dk board by referring to the wiki and using the Yocto OpenSTLinux distribution package.After that, I built the stm32 buildroot-external-st distribution package in the same way, but an error occurs when trying to download by reading the flash.tsv file.How can I perform the flashing properly?Also, the image created this way is for the SD card — how can I build and flash it for eMMC?
Dear STMicroelectronics Community,I hope this message finds you well.We are currently working on integrating the Murata M.2 Wi-Fi module with an STM32 MPU platform(STM32MP157D-DK1). The STM32 board provides a 40-GPIO pin header interface, and the Murata module is mounted on an M.2 adapter.We would like to inquire if there is any existing connector or adapter solution available that can interface the Murata M.2 adapter with the 40-GPIO pin header on the STM32 MPU, specifically supporting SDIO and UART lines.Any guidance or recommendations on compatible hardware or reference designs would be greatly appreciated.Thank you for your support.Best regards,[Adarsh Katiyar][engineer][acl DIGITAL][9651373221]
Hi, we are trying to run a simple helloWorld program on the STM32MP157F board, but we couldn't find any documentation or any instructions on how to do so. We re not sure about the requirements. Is someone have any idea how to do that or where to find instructions that would be appreciated.
Title shortened from "How do I know the pinout of the STM32MP25 chip that the LVDS interface on the STM32MP257F-DK development board connects to?"Please see: How to write your question to maximize your chances to find a solution.When we added an LCD screen driver to the STM32MP257F-DK development board, we consulted the Linux source code <arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi> pin definition file and found that the chip pins corresponding to the LVDS interface on the development board did not seem to be defined in the file. However, when we consulted the <stm32mp257f.pdf> document, there are multiple pins with LCD multiplexing functions. How can I know which pin of the STM32MP25 chip the LVDS interface on the STM32MP257F-DK development board corresponds to? Or where can I get the hardware schematic diagram of the development board. Or maybe the official has defined the pin functions of the LVDS corresponding chip somewhere else. Please forgive my suspicion as a
We are developing the STM32MP257F-DK development board. We searched the development documents on the official website of ST and found the development documents of STM32MP257F-DK (https://wiki.stmicroelectronics.cn/stm32mpu/wiki/STM32MPU_Developer_Package#Installing_the_components_to_develop_software_running_on_Arm_Cortex-A_-28OpenSTLinux_distribution-29). However, there is a sentence "Go on st.com to download the STM32MP2 Developer Package, en.SOURCES-stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06.tar.gz file.". We did not find the source code download entrance of STM32MP2 in the link provided. We further found the source code of the linux kernel in github (https://github.com/STMicroelectronics/linux/tree/v6.6-stm32mp), but did not find the device tree file for the STM32MP2 series. Please let us know how to get the source code of the STM32MP257F-DK so that we can explore it and add our device driver.
We are changing the kernel configuration. According to the document (https://wiki.stmicroelectronics.cn/stm32mpu/wiki/Menuconfig_or_how_to_configure_kernel#Menuconfig_and_Developer_Package), when we reach the step of make ARCH=arm64 Image.gz LOADADDR=<loadaddr of kernel>, we need to know the kernel load address of STM32MP257. The relevant information is not clear.
Hello.I am designing a circuit with stm32mp157f.I'm looking for eMMC when choosing memory because 4Gbit slc nand flash is too expensive.In the datasheet, I read in the data sheet that stm32 supports emmc.The question is as follows.Is it correct that eMMC can be used even if it is not SLC(pSLC, MLC...) like IS21EF04GP-JCLI-TR?(It's my first time using mpu and memory. So it's very difficult for me to choose memory.)Is the QSPI flash of STM32MP157F-ev1 used for RAM? Regards,Youngjun.
Hello.I am designing a circuit with stm32mp157f.I'm looking for eMMC when choosing memory because 4Gbit slc nand flash is too expensive.In the datasheet, I read in the data sheet that stm32 supports eMMC. The question is as follows.Is it correct that eMMC can be used even if it is not SLC(it's pSLC, MLC...) like IS21EF04GP-JCLI-TR?(It's my first time using mpu and memory. So it's very difficult for me to choose memory.) Regards,Youngjun.
Hi all, having an issue with programming STM32MP257F-DK/SDCard with the Starter package getting to the stage in the attached screenshot then it seems a connection times out with no success notification popup ?
OPTEE builds fine on ECO 5.0 (just built it right now with ECO SDK 5.0).OPTEE build fails on ECO 6.0 (SDK 6.0)Both on the same machine.Both using the same Cube-MX generated files and build commands used for both ECO versions.LD build/core/all_objs.o arm-ostl-linux-gnueabi-ld.bfd: cannot find libgcc.a: No such file or directory
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.