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
Hello,I have built a custom image using the Yocto project in the Dunfull branch. However, when I try to upload my code to M4 Core in production mode, it shows me this error message. However, I am able to connect to my board through SSH. So I believe it is not a connection issue, and I have tested on the STM32MP157C-DK2 and it does not work either.I have tested the same procedure on openstlinux Yocto Dunfull, and it worked fine. I am thinking that something is missing in kernel configurations.I am using Linux version 5.10.116 (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 9.3.0 , GNI ld (GNU biutiles) . 2.34.0.020200910 ) #1 SMP PREEMPT sun May 15 18:00:09 UTC 2022
I'm using latest ST official U-Boot release v2021.10-stm32mp-r1 and I'm trying to get OP-TEE working with ST's official Linux release v5.10-stm32mp-r2.1 and it's stuck after U-Boot:Starting kernel ... I/TC: Secondary CI/TC: Secondary CPU 1 switching to normal world boot E/TC:0 Panic 'Watchdog' at ?:0With ST's official Linux release v5.15-stm32mp-r1 it boots correctly. Can anyone from ST please tell me if v5.10-stm32mp-r2.1 is generally supported? I'm using an STM32MP157C SoC.
Hi team,I am developing our PCB referring to the "STM32MP157 EVAL"(MB1263-C04 Board schematic).https://www.st.com/en/evaluation-tools/stm32mp157f-ev1.html#cad-resourcesIn the datasheet, VREF+ looks like a voltage output pin, but why is power supply connected to VREF+ in STM32MP157 EVAL?Best regard,
Hi team,I'm developing a our PCB equipped with STM32MP151AAA3.Are the following pins named "Unused" okay to remain open?VDD_UnusedVDD1V2_UnusedVDDA1V8_UnusedBest regard,
Hi team,I am developing the board referring to the "STM32MP157 EVAL"(MB1263-C04 Board schematic).https://www.st.com/en/evaluation-tools/stm32mp157f-ev1.html#cad-resourcesSTM32MP157 EVAL has an SD card slot and eMMC as storage media.I think the sample Linux environment (demo environment) is stored in the SD card, but is eMMC necessary?(If an SD card is installed, is it not necessary to install eMMC?)Best regard,
I only have a DK2 development board, I want to use the Android firmware program, is there a way to make the Android system work?Can someone provide a patch for me to bringup on DK2, I don't care about performance, just learn android related knowledge, hope someone can help me, my email is tangtaoqaq@gmail.com thanks a lottao
Hi there,I'm working with stmmac driver. I understand this driver is integrated with XDP support.On my board I'm running Linux kernel 5.15.32 with preempt_rt enabled, and I'm running a AF_XDP program on user space at high RR priority, on isolated cpu.When running the XDP program on the network interface driven by stmmac on the socket buffer level everything is working fine.When trying to run the same XDP program in native mode, that is, on the network driver level I'm getting a bunch of the following errors:NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #8And from this point the system is not very usable anymore...The AF_XDP program transmits a icmp request that is received on the other side and a reply is transmitted back. The AF_XDP program then poll() the xsk socket, no data is read from the socket, and this error comes out.Have you any idea?Thanks a lot,Nir.
Hello, I am doing a little bit of cross compiling but I have a problem with the linux interpreter. I am using the openstlinux-weston distro with the ld-linux-armhf.so.3 but the binaries after coming out of my cross compilation are using ld-linux.so.3. I need a little bit of hints here how to make it proper.here's my cmake toolchain and cmake itself it's just stupid example to compile simple hello world print out. Thank everybody in advance :)set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_PROCESSOR arm) set(CMAKE_C_COMPILER /usr/bin/arm-linux-gnueabi-gcc)
Hello,I wants to bitbake ot-br-posix with OT_THREAD_VERSION=1.1, Modified the ot-br-posix_git.bb file, add -DOT_THREAD_VERSION=1.1 in this file. But result is ot-br-posix using Thread Version 1.2Does somebody know how to solve this issueMany thanks.B.RFrank
STM32MPU ecosystem release V4.1.0 is online !Dear STM32 MPU Community, We are please to announce that New MP1 Ecosystem V4.1.0 is available.It contains :openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23 - UpdatedSTM32CubeMP1-v1.6.0STM32CubeIDE-v1.11.0 - UpdatedSTM32CubeMX-v6.7.0 - UpdatedSTM32CubeProgrammer v2.12.0 - UpdatedSTM32PROGFW-UTIL-v1.0.2 - UpdatedPlease check out the STM32_MPU_ecosystem_release_note_-_v4.1.0 on STM32 Wiki to get complete description of content and new features.*** Main NEW features of the STM32MP1-ecosystem-v4.1.0 release ***Kernel drivers Real Time readySPI Slave support in Linux®ADC oversampling support on Linux®SPI master driver with dual-qspi mode in Linux® kernel supportDMA support for CRYP IP (Crypto performance improvement)Firmware update on NAND devicesImprove FIP management on NAND devicesAdd GPIO regulators driver in TF-AUse FCONF to manage the Chain of TrustADC driver implementationIRQ forwardingHUK implementationUpdate r
We don't use PMIC so we remove vmmc-supply = <&v3v3>; in device tree.what should be in vmmc-supply if we connect SD_VDD constantly to 3.3V, no pmic? Many thanks
Hello,while building OP-TEE I encountered one error:Set the ROOT directory " export FIP_DEPLOYDIR_ROOT=$PWD/../../FIP_artifacts"make -f $PWD/../Makefile.sdk CFG_EMBED_DTB_SOURCE_FILE=stm32mp157a-dk1 allERROR:make[1]: Entering directory /developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/optee-os-stm32mp-3.12.0.r1-r0/optee-os-stm32mp-3.12.0.r1' CHK /developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/optee-os-stm32mp-3.12.0.r1-r0/optee-os-stm32mp-3.12.0.r1/../build/stm32mp157a-dk1/conf.mk UPD /developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/optee-os-stm32mp-3.12.0.r1-r0/optee-os-stm32mp-3.12.0.r1/../build/stm32mp157a-dk1/conf.mk CHK /developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/optee-os-stm32mp-3.12.0.r1-r0/optee-os-stm32mp-3.12.0.r1/../build/stm32mp
GPIO for button is 98.GPIO for CAN is 92.In dts file,button: gpio-keys { compatible = "gpio-keys"; #address-cells = <1>; #size-cells = <0>; status = "okay"; button1: plugin-gpio { label = "plugin-gpio"; linux,code = <KEY_WAKEUP>; gpios = <&gpioi 11 GPIO_ACTIVE_HIGH>; status = "okay"; }; };&m_can1 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&m_can1_pins_a>; pin
..
Hi all!I am testing the audio configuration for the stm32mp156C-Dk2, with lastest demo(4.0.1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15).I followed the sound card configuration [tutorial](https://wiki.st.com/stm32mpu/wiki/Soundcard_configuration) and I can't configurate correctly somes controls.E.g (Analog Playback Volume)root@stm32mp1:~# amixer -c STM32MP15DK cset name='Analog Playback Volume' '204','204' amixer: Control sysdefault:0 element write error: Invalid argument root@stm32mp1:~# amixer -c STM32MP15DK cset name='Analog Playback Volume' '100','100' numid=3,iface=MIXER,name='Analog Playback Volume' ; type=INTEGER,access=rw---R--,values=2,min=0,max=228,step=0 : values=100,100 | dBscale-min=-102.00dB,step=0.50dB,mute=0In this case, the max argument is 228 but when I try it with the value 204, it says: "invalid argument" but with other lower value it works...This also happen with others controls.What is the reason for this to happen?Regards!Thanks!
My environmentSTM32MP157C-DK2ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 4.0.4-openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23 stm32mp1 ttySTM0Linux stm32mp1 5.15.67 #1 SMP PREEMPT Thu Sep 8 10:32:54 UTC 2022 armv7l armv7l armv7l GNU/Linux2.2 Configure the AI OpenSTLinux package repository↑Once the board is booted, execute the following command in the console in order to configure the AI OpenSTLinux package repository:root@stm32mp1:~# wget http://extra.packages.openstlinux.st.com/AI/3.1/pool/confi g/a/apt-openstlinux-ai/apt-openstlinux-ai_1.0_armhf.deb --2022-11-27 10:05:26-- http://extra.packages.openstlinux.st.com/AI/3.1/pool/config/a/apt-openstlinux-ai/apt-openstlinux-ai_1.0_armhf.deb Resolving extra.packages.openstlinux.st.com... 52.219.169.48 Connecting to extra.packages.openstlinux.st.com|52.219.169.48|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1128 (1.1K) [application/x-debian-package] Saving to: 'apt-openstlinux
Hi!I am using STM32MP157C-DK2 board and I want to share memory between to processor. My idea is to update variable in the M4 core and then read it in the A7 core (linux). To do this, I create a section in SRAM3 (both cores can access) and save the variable in it:STM32MP157CACX_RAM.ld /* MODIFICATION STARTS HERE */ .buffer(NOLOAD) : { . = ALIGN (1); . = ABSOLUTE (0x10041000); *(.TxBuffer) } > SRAM3_ipc_shmI am using STM32MP157C-DK2 board and I want to share memory between to processor. My idea is to update variable in the M4 core and then read it in the A7 core (linux). To do this, I create a section in SRAM3 (both cores can access) and save the variable in it:STM32MP157CACX_RAM.ld /* MODIFICATION STARTS HERE */ .buffer(NOLOAD) : { . = ALIGN (1); . = ABSOLUTE (0x10041000); *(.TxBuffer) } > SRAM3_ipc_shmMain.cuint8_t x[4] __attribute__ ((section(".TxBuffer"), used));I have debugged and checked that
*** The source tree is not clean, please run 'make ARCH=arm mrproper'*** in /home/developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.10.10-r0/linux-5.10.10***make[2]: *** [outputmakefile] Error 1make[1]: *** [/home/developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.10.10-r0/linux-5.10.10/include/config/auto.conf.cmd] Error 2make[1]: Leaving directory `/home/developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.10.10-r0/build'make: *** [__sub-make] Error 2
HelloI have problem, i can't flash emmc on SoM MYC-YA157C-V2 (STM32MP157A).I use STM32CubeProgrammer ver.2.11.0 under Windows 11 OS.Tried to use STM32CubeProgrammer and _CLI (with different wait timeouts).My firmware script:set tsv="FlashLayout_emmc_stm32mp157c-ya157c-512d-v2-trusted.tsv" set stprog="C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe" %stprog% -c port=usb1 -tm 30000 -w %tsv%While downloading i get the following log:Warning: Timeout is forced to 30000 ms USB speed : High Speed (480MBit/s) Manuf. ID : STMicroelectronics Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000 SN : 003F00333130511539373430 DFU protocol: 1.1 Board : -- Device ID : 0x0500 Device name : STM32MP1 Device type : MPU Revision ID : -- Device CPU : Cortex-A7 Start Embedded Flashing service Memory Programming ... Opening and parsing file: tf-a-stm32mp157c-ya157c-512d-v2-serialboot.stm32 File : tf-a-s
Hi,root@si-rd22:/home/developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/u-boot-stm32mp-2020.10.r1-r0/u-boot-stm32mp-2020.10.r1# make stm32mp15_defconfigMakefile:40: *** missing separator. Stop.can anyone please let me know in makefile line no. 40 I tried putting TAB but still error is not resolved.Makefile:else ifeq ("riscv64", $(MK_ARCH)) export HOST_ARCH=$(HOST_ARCH_RISCV64)endifundefine MK_ARCH // line no 40Thankyou
Hi,We are using SEEED studio 102110318 module which uses STM32MP157CAC3 processor. We want to know if there is any way we can keep processor pin PD13 pin to low state in suspend state. We want the pin to maintain low state while in sleep mode. We have added pullup on this pin in Hardware which is affecting one of our peripheral operation in sleep mode. For this reason we want this pin to be set low which will solve the issue. We do not have any other option to remove pullup in hardware as our device production is completedRegardsNarendra Singh
I want to use arm-ostl-linux-gnueabi-gcc on windows. I have installed stm32mp1-gcc9.3.0-r2.exe on my windows 10 OS. When I try to compile a code, libraries like stdlib.h etc not found error appears. How can I resolve this?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.