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
Hi, I am developing firmware on the STM32MP157C-DK2 in engineering mode and using STM32Cube_FW_MP1_V1.4.0 and STM32CubeIDE. I must say this is my first project with a STM device and the tools. I am unable to direct printf to the UART4 linked to the onboard VCP of the STLink debugger. The cube package example 'UART_Receive_Transmit_Console' seems to directing printf to USART3 port, not the UART4. After reading the application note 'AN4989 Rev 3: STM32 microcontroller debug toolbox', printf redirection to uart port seems quite simple task. But since UART4 cannot be assigned to the CortextM4, it is shared port. I am unable to figure out where the handle of UART4 port is defined, which is essentially needed to redirect printf command. Thanks in advance for any help in making it work. Kind regardsHafeez
..
Hi,Looking at the reference manual, en.DM00327659.pdf, page 3929 it seems the simple way of debugging previous M4 processors using printf() redirect to the ITM and then using the SWO pin/STLINK interface could be used on the MP1 M4 core as well.But there isn't simple mention of the ITM functions in the STM32Cube_FW_MP1_V1.0.0 release, and there is not even a single declaration of the ITM HW in the stm32mp157cxx_cm4.h file(not even the 0xE0000000 base address).Can you provide some code example please, it will be much better starting point than the vague description of the ITM operation in the reference manual. Thank you!Edit: ST-Link utility connected to the STM32MP157C-DK2 dev board seems not able to connect (loaded with latest V2.J34.M25 firmware) to the MP1. It does reset it though, so printf in the SWO viewer is out of the question. Maybe there is a way to redirect ITM to the M4 core ?Second, seems the M4 ITM hw is loosely based on the STM32F469/479 ITM core(at least register addres
Hello, I wanted to know is there a support for autoconf , automake and libtool for STM32MPU? Is there any definitive guide to do so to enable it or install it? Can this be natively installed using sudo apt-get?I have many utilities working on raspberry PI and wanted to port them to stm32MPU but they require autoconf tools for building .Please let me know.Best,D
Hi, i am searching for informations. Sorry first for my english. I am trying to establish a connexion between my stm32 and my phone, i have to know when i send information from my smartphone to my discovery.First i have the starterPackage linux image on my discovery and i have a display example. I can connect my computer with ssh to it and put simple code example on it (hello world), and i can run it. I want the discovery to become a wifi host and send/receive informations between my smartphone and the discovery. But i cant find example on it.For the moment i want to send wifi to discovery and connect to it with my smartphone. Hoping you have some answers for me.
Moreover, when I play the demo video, core usage reaches up to 70%, so is the GPU really working? The blacklist file:root@stm32mp1:~# cat /etc/modprobe.d/blacklist.conf blacklist etnavivDmesg:root@stm32mp1:~# dmesg | grep galcore [ 19.326759] galcore: loading out-of-tree module taints kernel.Lsmod:root@stm32mp1:~# lsmod | grep galcore galcore 319488 6Core usage while playing video:10:56:40 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle 10:56:41 all 78.92 0.00 12.43 0.00 0.00 0.00 0.00 0.00 0.00 8.65 10:56:41 0 82.18 0.00 16.83 0.00 0.00 0.00 0.00 0.00 0.00 0.99 10:56:41 1 75.00 0.00 7.14 0.00 0.00 0.00 0.00 0.00 0.00 17.86Thanks
CubeMX generates pinctrl bindings inside ltdc node, while here : https://wiki.st.com/stm32mpu/wiki/LTDC_device_tree_configuration pinctrl bindings reside inside panel node
I'm shopping for MCU / MPU hybrid processors like the STM32MP1, targeting applications that need Ethernet connectivity to both the MCU and the MPU. Simultaneous connectivity would be easiest to plan for, but selectable connectivity might also work.I would like to understand the topology of the Ethernet connection within the STM32MP1 among the Cortex-M and Cortex-A. I've scoured all of the STM32MP1 documentation and can find information only about the Ethernet component itself, and nothing on how it can be assigned or shared among the integral Cortex-M and Cortex-As. The STM32MP1 product introduction states that "most peripherals can be allocated to either the Cortex-A7 or Cortex-M4 cores". If this applies to the Ethernet MAC, does that mean that it can be allocated to only one of these at a time, not both? Can the allocation be changed on a running system, and does this require a reboot? Where is the mechanism for allocation documented?If the Ethernet interface is allocated to the Cort
Hello everyone, I'm configuring my STM32MP157C-DK2 Board pins and i want to make two SD Card partitions availabe. For the first one i chose the SDMMC1 and attributed it to PC10 pin for the second one do i need to choose SDMMC2 and to attribute it to another pin (for ex. PC6) or is it wrong ? Or can i divide later in the device tree ?
Hi,I'm developping an application where we want the cortex-M doing some power management (with OpenAMP) and the cortex-A taking picture and saving it on SD card.I have the STM32MP157A-EV1.I used the OpenAMP_TTY_echo_wakeup sample that I modified for my need to do the power management. Everything is working fine if I boot in third mode (ie. stm32mp157c-ev1-m4-examples). However, I don't have any camera input as it's saying that /dev/video0 doesn't exist.If I boot in second mode (ie. stm32mp157c-ev1-a7-examples), I've got a camera but I couldn't suspend at first (systemctl suspend), because I would get the following error : PM: Device 40017000.dac:dac@1 failed to suspend: error -16So, I commented every line of code linked to DAC and it worked (ie. I could have the OpenAMP and camera running at the same time). But it's not that great of a workaround. Ideally, I would want to update the device tree. Where could I find the initial device trees used so that I just can quickly modify them ? I
Hi!I use STM32MP151 chip. Use Linux OS. Two master clocks(MCLK) clk_x8(for 48000) and clk_x11(for 44100) connected to I2S_CKIN throw switch. GPIO select it. Can I configure SAI driver and device tree for this situation?
I have an STM32MP157F-DK2 board. I want to be able to build my own image from scratch and I keep hitting knowledge gaps in the how-to guides on the st wiki page. I have tried to follow multiple guides including this one: https://wiki.st.com/stm32mpu/wiki/How_to_manage_OpenSTLinux_project_in_STM32CubeIDEWhat I have done:I have took the default pinout from the STM32MP157F-DK2 from STM32CubeMX and generated the Device tree for that. I have opened the ioc file within STM32CubeIDE.I have setup OpenSTLinux as per the instructions in the how-to guidesWhere I am stuck:I don't have any reference for the run or build configurations.I have not found any information to find the Eclipse or build artifiacts as found in the example I have linked:What I have:What I am looking to do, as per the guide:
hi all ,i have a situation,1. external supply vdd given to cpu, with application running on it2. usb-otg is connected from computer to stm32mp1 which provides v5.3. power off/take off external power supplyideally unit should be OFF, but CPU is getting supply from PC-computer, has any one have suggestion ?how to make only power on and off via external board supply only after application running?
Hi,Is there any example application code for STM32MP1 to keep A7 in deep sleep mode while keeping M4 in always run mode?Regards,Ram
Hi,we are currently testing our FDCAN on our STM32MP157F Device. We get some Messages that there ist an access violation. We see that is caused by the M_RAF interrupt. Are there any hints to get rid off these messages and errors? We tried different settings with the message_ram config in the DT but with no successBest regards,Niklas
I have been looking for step by step guidance on how to create a linux application for STM32MP157C-DK2, but I end up being unsecssuful all the time. The only help I seem to get is to import an existing project, which does not help me. I want my application to be the one running on startup instead of the current demo application that is on the SD card.Your help on this matter is really appreciated.Sel.
I am able to build my STM32MP1 Linux project. Below you can see what is built:I have been trying to follow the guide on the STM32 wiki here: https://wiki.st.com/stm32mpu/wiki/How_to_manage_OpenSTLinux_project_in_STM32CubeIDE#Linux_projectThe issue is that there is information that is completely missing from the getting started guide is that when I try to do this step: Run As->STM32 Cortex-A Linux Deployment I get the following screen. Right away this is different from the guide and has an error message that says: Connection "" not available at the top.Other guides on the wiki mention that the Target Status should be online. Mine is stuck offline and I don't see any indication on how to set that up either.I currently have 3 USB connections to the STM32MP1 Discovery board. One USB C to a power supply, One USB C, and a micro USB to my PC.
Hello Community Hope, all are doing well I'm dealing with the BSP development with STM32MP157a-dk1 board (as my intent is the design the bsp for my own custom board )For the instance, I'm intended to go from top to bottom of the Flash layout for the SDcard bootThat's why I'm following the bsp development tutorial from here https://community.st.com/s/article/FAQ-STM32MP1-Bring-up-procedureVery first, i need to customize the TF-A for my own board For the simplicity, I'm taking the reference of the DK1 board onlyTo get the very initial UART logs from the TF-A, i have just flashed the SD card with the default TF-A provided with the starter packages using Cube programmer I've just added the stm32mp157a-dk1-trusted.tsv file and gave the path of the binary file for the same On IDE GUI , I've just check mark for the ID (0x01) i.e fsbl1-bootboth boot pin of the board at boot-loader mode And then, successfully downloaded the tf-a with SDcard Now, my problem is i'm unable to get the very initial
1) Where can I get information on these GPIOs ?2) Can I safely reassign, say GPIOz ?https://github.com/MYiR-Dev/myir-st-linux/blob/develop/arch/arm/boot/dts/stm32mp15xxac-pinctrl.dtsi
systemd-analyze blame: 6.297s dev-mmcblk1p3.device 3.711s user@0.service 3.668s systemd-udev-trigger.service 729ms console-kit-log-system-start.service 663ms weston.service 598ms systemd-logind.service 516ms pxl-init-script.service 489ms lighttpd.service 373ms systemd-journal-flush.service 365ms systemd-tmpfiles-setup.service 348ms sys-kernel-debug.mount 343ms systemd-journald.service 339ms dev-mqueue.mount 312ms systemd-modules-load.service 308ms tmp.mount &
Hi, Please, I still trying all the ways to have Perl so far I know I should recompile it but using the toolchain I having errors out of the box.echo ${CONFIGURE_FLAGS}--target=arm-ostl-linux-gnueabi --host=arm-ostl-linux-gnueabi --build=x86_64-linux --with-libtool-sysroot=/home/boaretti/Development/stm32/DeveloperPackage/SDK/sysroots/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabiFollow the error when using ./configure ${CONFIGURE_FLAGS}Configuring primary perl executable for arm-ostl-linux-gnueabi (arm-ostl-linux-gnueabi)Checking perl version ... perl5-5.30.1Checking for cc ... ERROR: Supplied arm-ostl-linux-gnueabi-gcc -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/boaretti/Development/stm32/DeveloperPackage/SDK/sysroots/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi is not usableERROR: configure --mode=target failedAny suggestion ?Thank You so much !
Hi All,Please I`m working on a project that uses kvssink ( Aws Kinesis Gstreamer Plugin) that project uses log4cplus and openssl what uses Perl. During the cross compilation there are many perl modules missing from the SYSROOT what is the latest DevelopmentPackage . In fact checking the SYSROOT folder the files and modules are really missed. Those files are present on the DistributionPackage I had used to populate my STM32MP157C-DK2. So, finally the question...Why those files are missing if the Perl is installed on the DevelopmentPackage ?How can add / install those files to the DevelopmentPackage Sysroot ?Thank You All !Fabio Boaretti dos Santos
How to debug what's behind a system reset because of watchdog? I tried using dynamic debug and add stm32_iwdg.c file to print debug output, but that didn't give me more info, just some pings. So what can be reason for watchdog reset? We have program on A7 which is doing some tasks when it is waked up via virtual uart from Cortex M4 which is running all time. Waking up is going well until one time when system is gone in low power and then it is rebooted and reset reason is 0x214, which is wdg reset. Virtual uart wakeup is enabled all the time. I also tried to disable watchdog in kernel menuconfig, but obviously then same case happened after some time (20minutes, 30minutes...) but there was no reset, because there was no wdg, so wdg is just doing it's job.Thanks in advance,Nenad
I found no STM boards on OSADL platform (www.osadl.org). Why ?
Hey there, I am new to STM32MP1 and this forum has been a great help. During the last week I am trying to understand the OpenAMP between the M4 and A7. The ttyRPMSG makes things quite straight forward for the M4 part. When going to the linux part, using terminal is also very convenient, but I would like to send some simple messages from inside C. Until now, I have struggled quite a bit with getting the concept. I have not found yet any simple examples for that. If you have something in mind it would be of great help.
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.