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
..
I want to use a SIP with ST32MP153 and it uses PC13 to PMIC wakeup, PC1 is used for MDC so I'm left with only PI8 so can't use active tamper.I sit possible to use Ethernet without MDC so I can use PC1 for active tamper with PI8?
I use STM32MP151CAA3 Cortex-M4 on my custom board.I have created Linux image running on my custom board.In the case that the SD card is inserted for the first time, Linux image is running successfully.However, in the case that I turn power off and power on with the SD card inserted, boot fails despite using the same SD card.Is there a difference when power on and when the SD card is inserted for the first time, such as the files to read?What should I investigate to solve this problem?Best Regards,H. Masuda
Hi all,I'm runnig the example 'OpenAMP_TTY_echo_wakeup' on a STM32MP157C-DK2. My question is regarding the Option 5) in the readme.Here we put the system into standby and wake the CA7 up then. Afterwards there is no FW running no the CM4.My Question: Is it also possible to exit the standby mode from the CM4 while the CA7 is still in standby? I mean in a way that the CM4 FW is still there and running?ThanksKlaas
I was hoping to find any examples/pre-built applications which can be run off the SD card to simply turn on an LED or so, for the STM32MP157A dev kit. Can anyone point me to any resources like this?
Hello Guys.In the current state, when connecting the LAN cable and attempting to connect to the board's IP by SSH, it has been confirmed that the connection is immediately established.It is thought that anyone can access the board in this state.So I need to change root passwordHowever, there are no guidelines for how to do this on the WiKi Page.How can I change root password of STM32MP1?
Hi all, On behalf of ST and all ST employees involved in this community I would like to wish - to all members here - the best for coming year 2021 ! I take this opportunity to thanks you all for your participation by posting or answering questions.Special thanks @Led @Lukas Brückner , @KnarfB , who help us make the STM32 MPUs one of the most successful topics in the ST Community.Please note that activity from ST will be lower than usual in our community for the next two weeks, as we all take some time off with our families after what has been a challenging year for us all with Covid having had an impact on our professional and personal lives.We wish you all a very happy holiday season and hope to see you all well-rested and full of energy for another great year in the ST Community ! Take care ! Olivier
Hi All,I have performed Secure Boot over Avenger96 Board replaced with STM32MP157CAC earlier,but now I'm facing error provided below.NOTICE: CPU: STM32MP157CAC Rev.? NOTICE: Model: Arrow Electronics STM32MP157A Avenger96 board NOTICE: Boot authentication Failed INFO: Reset reason (0x15): INFO: Power-on Reset (rst_por) INFO: Using SDMMC INFO: Instance 1 INFO: Boot used partition fsbl1 NOTICE: BL2: v2.0-r1.5(debug): NOTICE: BL2: Built : 13:13:37, Oct 2 2018 INFO: BL2: Doing platform setup INFO: PMIC version = 0x10 INFO: RAM: DDR3-1066/888 bin G 2x4Gb 533MHz v1.45 INFO: Memory size = 0x40000000 (1024 MB) INFO: BL2 runs SP_MIN setup INFO: BL2: Loading image id 4 INFO: Loading image id=4 at address 0x2fff0000 INFO: Image id=4 loaded: 0x2fff0000 - 0x30000000 INFO: BL2: Loading image id 5 INFO: Loading image id=5 at address 0xc0100000 INFO: STM32 Image size : 833640 INFO: Check signature on Non-Full-Secured platform ERROR: Authentication Failed WARNING: Failed to load image id=5 (-22) ERROR:
I understand that when I create my own machine, I can create device tree by following 2 method. Method 1) Building device trees by Developer Package (separately from bitbake) This method is described in following Wiki page. https://wiki.st.com/stm32mpu/wiki/How_to_compile_the_device_tree_with_the_Developer_Package Method 2) Building device trees by Distribution Package (included in bitbake) This method is described in following Wiki page. https://wiki.st.com/stm32mpu/wiki/How_to_create_your_own_machineIn both of above two methods, I could create the device tree (.dtb file) successfully.Now, I want to modify the "arch/arm/boot/dts/stm32mp157c.dtsi"In Method1, I could create updated device tree (.dtb file) by modifying "arch/arm/boot/dts/stm32mp157c.dtsi".However, In Method2, I could not create updated device tree (.dtb file) even though I modified "arch/arm/boot/dts/stm32mp157c.dtsi".(The build was successful, but the changes were not reflected.)Why does th
Hello Guys.I am using STM32MP157C-DK2 and st-image-core.Looking at the st-image-weston and wiki Page, I am configuring the hotspot mode to be available in my image.First, while looking at the wiki page and st-image-weston, I composed a script that uses the following command.(/usr/sbin/hostapd /etc/hostapd.conf -P /run/hostapd.pid -B)I created systemd because there is no response from the installed hostapd systemd.Next, I made systemd execute my script.However, the hotspot mode did not work.If I run the script directly from the terminal or crontab, hotspot mode operates normally as shown below.---------------------------------------------------------------Configuration file: /etc/hostapd.confwlan0: Could not connect to kernel driverUsing interface wlan0 with hwaddr 10:98:c3:63:a7:e3 and ssid "HSGT_SsgRk4hU"random: Only 19/20 bytes of strong random data availablerandom: Not enough entropy pool available for secure operationsWPA: Not enough entropy in random pool for secure operations
Hi.Can I use all peripheral in MP1 by only M4 code? I couldn't find MP1 HAL Library for USB, Ethernet, SD Memory and etc. For example, How can I use it if I want to use USB data write&read by M4 code?Thank you.Best regards.
Hi,iam trying to get an understanding of the OpenAMP Framework and i wanna use it for interprocess communication with the STM32MP1. As my understanding, the OpenAMP Framework could be used from Baremetal/RTOS side and apparently also from Linux Side. But when i had a look to the stm-wiki site i only found an Implementation of the OpenAMP to the Cortex M4 not to the A-Cores. So my question is, if there is any example to use OpenAMP also on the A-Cores, with the STM32MP1. Another Question is, if its possible to run the Linux in Slave Mode and the M4 In Mastermode? In my understanding its not possible with the STM32MP1 or?
Hello,we have a custom board based on STM32MP151C. On our SPI is the Ethernet Switch KSZ8794. How should I proceed to enable the ethernet in the U-Boot? I have already configured the etherne0 node (according to the ST documentation). Should I add the node to the spi node?
We are using the latest STM32CubeIDE (1.4.0) and are trying to develop applications for linux user space on our STM32MP157 board. Our goal is to use the cross compiler toolchain for developing and debugging with the IDE.When we create a new project, it seems the IDE doesn't create any ready to compile main.cpp files for the A7 processor like for the M4. See this screenshot: For the M4, the project compiles with the template main.c just fine. But for the A7, nothing is there.So my question is, is there any documentation on how to develop linux user space application with the STM32CubeIDE for the A7?Thank you.Best regards,Kevin
I am interested in the platform to evaluate wifi chips from different vendors. But based on the quick run through schematic, I don't think its possible to connect any different wifi chip (which has sdio as supported interface) in the DK2 kit. If anyone has performed similar exercise or have a different solution in mind, please feel free to educate me.
We have confirmed the operation on our original board that "STM32MP151CAA3" mounted on.When I start our Cortex-A7 (Linux) FW and try to load our Cortex-M4 (RTOS: uC3) FW , an error message is output on the console of Linux.The steps when an error occurs is described below.Is there any possible cause for the error?--Steps--1) Write our Cortex-A7 (Linux) FW to a SD card and start it with our original board.2) Build our Cortex-M4 (RTOS: uC3) FW. ⇒ Build is successful.3) Transfer our Cortex-M4 (RTOS: uC3) FW to our original board by scp.4) Start our Cortex-M4 (RTOS: uC3) FW by Cortex-A7 (Linux) FW.⇒ Linux console shows the error message.Best Regards,H. Masuda
Hi.I was going to buy STM32MP157C-DK2 but its status NRND(Not Recommended for New Design). So I think to buy STM32MP157F-DK2. Are they different point is only a clock(650 or 800) of A7 core? What's the difference?Thank you.Best regards.
I want to know what "st-image-xxxxx" parameter mean.Especially, I want to know what name of xxxxx (for example "weston") means.Is the name of xxxxx related to the name of some config file?For example, if I changed the name of xxxxx to any name from weston, Are output files by bitabake influenced?Best Regards,H. Masuda.
We would like to share data between the A7-core and the M4-core on an STM32MP1 device. Those cores both have access to the SRAM1,2,3,4 . The M4-core is connected directly via the AHB interconnect, the A7-core is connected via the AXI-based NIC-400 interconnect which has access to the AHB. Since both interconnects have a bit-width of 32 bits or more, I am wondering if writing or reading to/from a 32 bit address will always be atomic, at least for aligned accesses. So for example, if the A7 is constantly writing a uint32 into a commonly known memory address in SRAM1 and the M4 is constantly reading this address, is it guaranteed that the M4 will never read a partially updated value?Thanks in advance
Hi.It's ready to use MP1 peripheral(USB, Ethernet, SD card) right away if I download to OpenSTLinux image to MP1-DK board after downloaded on ST website? or Do I need to make device driver for peripheral?Are there guiding, or tutorial for making application about using USB, Ethernet or SD card on OpenSTLinux?Thank you.Best regards.
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
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
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.