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
A quick grep through the latest and greatest release shows this:$ grep -r STM32MP157C-DK2 . | grep machine ./meta-st/meta-st-stm32mp/conf/machine/stm32mp1-disco.conf:#@DESCRIPTION: [EXAMPLE] STM32MP157C-DK2 board ONLY with Trusted boot and SDcard support ./meta-st/meta-st-stm32mp/conf/machine/stm32mp1-disco.conf:M4_BOARDS = "STM32MP157C-DK2" ./meta-st/meta-st-stm32mp-addons/conf/machine/examples/stm32mp1-disco-mx.conf.sample:#@DESCRIPTION: [STM32CubeMX-EXAMPLE] STM32MP157C-DK2 board ONLY with Trusted boot and SDcard support ./meta-st/meta-st-stm32mp-addons/conf/machine/examples/stm32mp1-disco-mx.conf.sample:CUBEMX_PROJECT = "mx/STM32MP157C-DK2/my-demo/DeviceTree/my-demo"So I am wondering if/how it's possible to have a kernel/device tree/rootfs which is not signed.My ideal setup grabs (unsigned) kernel/device tree from tftp and passes to the kernel the kernel command line to boot over nfs (unsigned as well).If this possible at all here with an unsigned kernel/device tree/rootfs?If so, c
I recently attended and intro course to the STM32MP1, which was very informative. Subsequently, in considering possible applications, I have questioned wither the STM32 MPUs are suitable for use in functional safety systems as a processor for the execution of safety critical software, e.g. in an automotive, avionics or medical system.The use of Linux on the A7 side of things make it very difficult to use this for safety critical real time software and clearly the M4 is more appropriate anyway. However, as I see it, the M4 is effectively a co-processor with critical parts of the M4 and associated peripherals controlled by the A7 side which means that M4 cannot be adequately segregated from the A7. I understand that some peripherals can be assigned solely to the M4 and protected from access from the A7 but the A7 still controls important related aspects such as clocks and regulators. Furthermore, the A7 must bring up the chip and load and start the M4.This is a similar problem to running
Hi, ST :)In addition to https://community.st.com/s/question/0D53W00000pUh4gSAC/tfa-and-uboot-custom-compile-failsCould you plese explain me what is the reason for such error:dfu_fill_entity_mtd: Memory layout (/0x10/1*122Me) not supported!while downloading flash content with CubeMXProgrammer.I've built a core image with bitbake st-image-core command (hope I'm correct here) and got UBI image with size 116Mb (121896960b). I'm expecting it can be fitted to a UBI partition that has size 0x07a00000b = 127926272b. Please refer to nand partition table below. spi-nand flash size is 128Mb.TF-A and u-boot was manually build during duscussion mentioned with link above.Here is .tsv file:#Opt Id Name Type IP Offset Binary- 0x01 fsbl-boot Binary none 0x0 ./tf-a-stm32mp157a-stm32mp151-dk1-mx-usb.stm32- 0x03 fip-boot Binary none 0x0 ./fip-stm32mp157a-stm32mp151-dk1-mx-trusted.binP 0x04 fsbl Binary(2) spi-nand0 0x000000 ./tf-a-stm32mp157a-stm32mp151-dk1-mx-nand.stm32P 0x05 fip1 Binary sp
C $> sudo apt-get updatePC $> sudo apt-get install corkscrewPC $> git config --replace-all --global core.gitproxy "$HOME/bin/git-proxy.sh"PC $> git config --add --global core.gitproxy "none for <MyPrivateNetworkDomain>" (optional, for example .st.com or localhost)PC $> echo 'exec corkscrew <MyProxyServerUrl> <MyProxyPort> $* $HOME/.git-proxy.auth' > $HOME/bin/git-proxy.shPC $> chmod 700 $HOME/bin/git-proxy.shPC $> echo '<MyProxyLogin>:<MyProxyPassword>' > $HOME/.git-proxy.authPC $> chmod 600 $HOME/.git-proxy.authI'm following above commands but when execute "echo 'exec corkscrew <MyProxyServerUrl><MyProxyPort> $* $HOME/.git-proxy.auth' > $HOME/bin/git-proxy.sh" it says git-proxy.sh not found
Hey there, I am trying to increase the RPMSG buffer size to 1024 on the STM32MP1 for the last couple of days. The A7 side seems to be working fine but the M4 side seems to struggle with the vdev declaration on the device tree. On the A7 side: virtio_rmpsg_buss.c#define MAX_RPMSG_NUM_BUFS (1024) #define MAX_RPMSG_BUF_SIZE (1024) #define RPMSG_RESERVED_ADDRESSES (2048) #define RPMSG_NS_ADDR (53)stm32mp15xx-dkx.dtsi:vdev0buffer: vdev0buffer@10044000 { compatible = "shared-dma-pool"; reg = <0x10044000 0x10000>; no-map; };On the M4 side: rpmsg_virtio.h* Configurable parameters */ #ifndef RPMSG_BUFFER_SIZE #define RPMSG_BUFFER_SIZE (1024) #endifThe user-space can see and send messages to the RPMSG channel but when debugging the M4 part I get what to seems to be a memory allocation error (gdb) 0x1000b47e in MAILBOX_Poll (vdev=0x10020f70) at ../OPENAMP/mbox_ipcc.c:105Any ideas or advice will be highly appreciated.
Hello on my serdev when i set it up the transmition complete is not set:stm32-usart 4000f000.serial: transmission complete not setI configurated my device tree like this:&usart3 { compatible = "st,stm32-uart", "st,stm32f7-uart", "st,stm32h7-uart"; pinctrl-names = "default", "sleep", "idle"; pinctrl-0 = <&usart3_pins_b>; pinctrl-1 = <&usart3_sleep_pins_b>; pinctrl-2 = <&usart3_idle_pins_b>; uart-has-rtscts; status = "okay"; ethernet { compatible = "st,stm32_usart_net"; local-mac-address = [ A0 B0 C0 D0 E0 F0 ]; current-speed = <38400>; };};So in my system it shows up like this:/sys/devices/platform/soc/4000f000.serial/serial0/serial0-0drivermodaliasof_nodepowersubsystemueventThe probe methode of my serdev_device_driver looks like this:struct stmuart *stm;u32 speed = 115200;int ret;stm = devm_kzalloc(&serdev->dev, sizeof(*stm), GFP_KERNEL);stm->serdev = serdev;spin_lock_init(&stm->lock);INIT_WORK(&stm->tx_work, stmuart_tran
..
When you create a project, CORE_CM4 symbol is added to properties by default.However, if you look at stm32mp1xx_hal_rcc.h, the CORE_CM4 area is still disabled. Is it a bug? Can I ignore it and use it? Or please tell me how to solve it.
Hi, Everybody!Referring to this issue:https://community.st.com/s/question/0D53W00000oVNtqSAG/qaudspi-spinand-flash-device-tree-for-tfa-and-ubootPatrickF suggested to manually configure U-BOOT for my board. I have downloaded tf-a sources patched it, of course installed and configured SDK and trying to do all according to it's README.HOW_TO.txt file.As I have my specific DT I need to specify it in makefile parameters:README.HOW_TO.txt has this example:make -f $PWD/../Makefile.sdk TFA_DEVICETREE=stm32mp157c-ev1 TF_A_CONFIG=trusted ELF_DEBUG_ENABLE='1' allBut in fact TFA_DEVICETREE var-name should be TF_A_DEVICETREE. Is this correct?Then, file format. We have .stm32, also .fip file format avaialbleI can compile both .stm32 tf-a and u-boot, but u-boot fail to start with following error:NOTICE: CPU: STM32MP157DAB Rev.ZNOTICE: Model: STMicroelectronics STM32MP157A-DK1 STM32CubeMX boardINFO: Reset reason (0x14):INFO: Pad Reset from NRSTINFO: PMI
Hello, my EVB is based on STM32MP151A SoC. The situation we are facing is that sometimes, the FSBL gets stuck and we would like to recover from it. i.e. reflash some Known Good FSBL. As the FSBL in that situation is kinda functional, the device will not fallback to boot from Serial. On the other hand, as the FSBL is itself stuck, any SW based solution to do so is irrelevant. Ideally, we need some external mean to force a serial boot, either from the STCube programmer, or the JTAG, or the like. As this seems like a very likely problem to appear during dev, there must be some classical solution to it, unfortunately, i couldn't find out a way from all the docs I could read. Is that known to anybody ? Thanks, Jacques
I'm trying to edit the device tree of the distribution but there is no .dts or .dtsi files in all the distribution package directories. The only way I found to experiment modifying the device tree is doing it with developper package (I modified stm32mp157c-dk2.dts) but I now must add it to the distribution and I'm still not able to force bitbake to generate any dts file.How can I do it.Thank you in advance.
Is there any reason why M4 is reset multiple times when entering debug mode in STM32CubeIDE? Is this normal?For example, in the case of an application that toggles GPIO, GPIO defaults to low while entering debug mode, then toggles, then goes low and toggles again. When entering debug mode completely, GPIO stays low and then toggles. (Original operation)It doesn't matter whether it completely enters debug mode and works, but it seems that m4 is reset several times while entering debug mode. I want to know why and is this normal?
My STM32MP157F-DK2 is powered by 5V 3A PSU. but at the boot up time, always it displays the warning ***************************************************** WARNING 500mA power supply detected ** Current too low, use a 3A power supply! *******************************************************At the end of the boot process, I do see following display as well:root@stm32mp1:~# [ 33.112323] usb33: supplied by vdd_usb[ 33.114843] vref: supplied by vdd[ 33.118045] vref: disabling[ 33.120724] vdda: disabling
for the STM32MP157C board
I have successfully build st-image-weston using Distribution-Package.Now I want to add libmodbus to st-image-weston.I refer to the wiki page below.https://wiki.st.com/stm32mpu/wiki/How_to_integrate_an_external_software_package1) I checked the libmodbus recipe in the path below.And I am using the meta-oe layer containing libmodbus.But I can't find libmodbus in the target.Why doesn't rootfs include libmodbus?layers/meta-openembedded/meta-oe/recipes-extended/libmodbus2)I tried to add libmodbus by executing the command below.The following error occurs.how to fix it?echo 'IMAGE_INSTALL_append += "libmodbus"' >> ../layers/meta-st/meta-st-openstlinux/recipes-st/images/st-image-weston.bbappendbitbake st-image-weston -c cleanall bitbake st-image-westonNOTE: Started PRServer with DBfile: /home/osboxes/STM32MPU_workspace/STM32MP15-Ecosystem-v3.0.0/Distribution-Package/openstlinux-5.10-dunfell-mp1-21-03-31/build-openstlinuxweston-stm32mp1/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 35363,
I need some clock synchronization between M4 and A7 cores. So I need steady clock values from A7 and M4 for single time point
I don't know What Can I Do.Please Help Me. Can you share the information or guide StmCubeMX and StmCubeIDe Programing
Hi, everyone. :)I am planning to make communication system with stm MCU.AND, at the same time, I should boot up 'Linux' OS on stm MCU, for matching with other systems.I'm just wondering that stm MCU can carry on Linus OS.If stm MCU can use Linux OS, Which MCU is suitable for debugging and operating?Please, give wisdom.Thank you!
I am working with a custom board, and are using the CM4 core to configure and mange FPGAs via the FMC. In my system the FPGA configuration requires the transfer of a large data buffer (3MByte-10MByte) between the CA7 core and the CM4 core. I understand this is sub-optimal due to the asynchronous connection between the AHB and AXI busses, but as the FPGAs are not configured very often that is okay.I’ve set up shared data buffers using the indirect method, similar to the example described in How to exchange large data buffers with the coprocessor - example - stm32mpu. The difference in my current implementation is that I am transferring data from CA7 core to CM4 core, and for now I am not using DMA, just memcpy. Plan to add DMA later after getting a functional system for customer demo. Also I am using the standard rpmsg/OpenAMP framework for control messaging.There is no problem on the CA7 side, the data buffer device is created by the CM4
While learning how eMMC partitioning works, I issued a mmc create gp command from Linux and since then I cannot flash a new image on a EV1 board. The error message I get is:Message from Embedded Flash Loader : ssbl (0x6): invalid address 0x80000 (min=0x400000)I can boot using the sdcard and access eMMC from there, I need to know how to restore eMMC so it will accept flashing commands.I could recreate partitions using the gpt command on u-boot and "dd" ext4 fs images to the partitions. The boot process start on the eMMC but since UUIDs don't match what is in the image, it does not finish booting. Which leads back to cube programmer and being unable to flash a new linux image.My question is essentially how to put eMMC back in a state I can flash it.Regards.
I'm working on STM32MP157a-dk1I followed the link https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package and used these steps to create a imageSteps:PC $> cd <working directory path>/Distribution-PackagePC $> mkdir openstlinux-5.10-dunfell-mp1-21-03-31 PC $> cd openstlinux-5.10-dunfell-mp1-21-03-31PC $> repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-5.10-dunfell-mp1-21-03-31PC $> repo syncPC $> DISTRO=openstlinux-weston MACHINE=stm32mp1-disco source layers/meta-st/scripts/envsetup.shPC $> bitbake st-image-westonbuild creates the image openstlinux-5.10-dunfell-mp1-21-03-31/build-openstlinuxweston-stm32mp1-disco/tmp-glibc/deploy/images/stm32mp1-disco/flashlayout_st-image-weston/trusted/FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsvbut it doesn't create image for stm32mp157a-dk1.how to make image for stm32mp157a-dk1 with additional debian packages
Hi,I'm working on STM32MP157A-DK1. By following this linkhttps://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package tried building the image for STM32MP157A-DK1 but i facing the error ERROR: icu-66.1-r0 do_compile: oe_runmake failed during build. attached build log.i tried to resolve with the command "bitbake -c cleanall icu-native" and build still it fails. if i separately build "bitbake icu-native" it build fine but if i run command bitbake st-image-westonthe error comes up.
Hi, Everybody! Could anyone help with correct device tree for qspi-nand flash. I can't see any activity on pins connected to flash. If I try to boot from spi-nand with BOOT0..2 set to 1, I can see clear SPI transactions... So, flash connection looks correct.Flash type is MT29F1G01ABAFDWBConnected to following pins:PF10 - CLKPB6 - NCSPF8 - IO0PF9 - IO1PF7 - IO2PF6 - IO3TF-a device tree:pinctrl node: qspi_bk1_pins_a: qspi-bk1-0 { pins1 { pinmux = <STM32_PINMUX('F', 8, AF10)>, /* QSPI_BK1_IO0 */ <STM32_PINMUX('F', 9, AF10)>, /* QSPI_BK1_IO1 */ <STM32_PINMUX('F', 7, AF9)>, /* QSPI_BK1_IO2 */ <STM32_PINMUX('F', 6, AF9)>; /* QSPI_BK1_IO3 */ bias-disable; drive-push-pull; slew-rate = <1>; }; pins2 { pinmux = <STM32_PINMUX('B', 6, AF10)>; /* QSPI_BK1_NCS */ bias-pull-up; drive-push-pull; slew-rat
I would like to run Azure RTOS application on Cortex-M of STM32MP1 SOC. Is Azure RTOS available for Cortex-M of STM32MP1 devices? any example code?
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.