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
In a normal M4 like the STM32F466RE the MX program does most of the setup for transmitting the UART with DMA when you configure. However there is NO DMA option when setting up the UART for the STM32MP157. I dump internal information to a UART so I can see what is going wrong. The UART is operating at 2Mb (2,000,000 baud or bits per second) While that is good at getting the data out, it is too much of a drain on the processor going in and out of interrupts that fast. That is what DMA is for. It operates in the background and is not noticed by my processor. The DMA is different with the STM32MP1, some help with the configuring it with a UART for transmit would be helpful.
I am getting an error in the kernel log when remoteproc tries to "set hold boot" during startup in Linux. The error is:remoteproc remoteproc0: failed to set hold bootremoteproc remoteproc0: releasing m4stm32-rproc: probe of mlahb:m4@10000000 failed with error -3After this I do not have remoteproc0 in the /sys/class/remoteproc folder. I have attached device tree and log file.Can someone please suggest a possible cause.
..
Hi allFor test purpose I want to run a real-time kernel on the STM32MP157c-DK2 with the newest ecosystem 3-1-11. The goal is to develop a real-time kernel module, out of the Yocto environment.I did build the Image with Yocto and flashed the image. Apparently the ecosystem 3.1.11 uses the Linux kernel 5-10-61.I could also successfully build and run the Linux kernel 5-10-61 outside Yocto, adding the .config from the /proc/config of the imag.Now I'd like to add the reat-time patch, but there is no patch for 5-10-61, but only for 5-10-59 or 5-10-63.I tried to use the 5-10-59 patch with the 5-10-61 kernel. It compiled successfully, but the kernel did not start up.I also tried to use the newest kernel with the proper patch: 5-10-83. This did not work either.What do you recommend to do?By the way: the M4 inside stm32mp1 is intentionally not used.
Hello GuysI'm using a157-EV1 board and my custom board.Both board have sd card slot and emmc. And possible of linux install to sd card and emmc.Anyway if built images using STM32_Programmer_CLI in Ubuntu environment can be install on the board according to Flashlayout_emmc.tsv, Similarly, when booting from a sd card, can i the built images be install in emmc according to Flashlayout_emmc.tsv using command? Among the results of complete Image build, if I look at create_sdcard_from_flashlayout.sh and FlashLayout_sdcard_stm32mp157.how_to_update.txt in the script directory, it seems possible with a command, but I don't know how to change and use that fit for emmc.I need a lot of help as I have no professional knowledge in BSP.How can I install Linux on EMMC using commands after booting from SD card?Thanks
Hi STM-Team,I am working with STM32MP157F-Eval board. I have enabled and tested secure-boot flow as per https://wiki.st.com/stm32mpu/wiki/STM32MP15_ROM_code_secure_boot.Now, I am looking for next security part for singing-verification of kernel & DTB images and some mechanism of filesystem integrity checking (e.g. dm-verity) at every boot-up in stm32mp1 series board.I do not see any reference for this part. Can anyone help me with any reference document to implement these stuff on stm32mp1 series boards?Thanks & Regards,Pratik Manvar
Looking at the code, i see file sf_probe.c with .id = UCLASS_SPI_FLASH, that performs the id reading. How can i use stm32_spi.c with .id = UCLASS_SPI, driver instead? and send "raw" spi data?
I noticed that after I flash the ST starter package root filesystem, at first boot there is a check on bad blocks and a resize of the partitions, while when I flash the exported root filesystem, there is no checks and some partitions are not resized to the full size.For instance, when doing df, i get:Filesystem 1K-blocks Used Available Use% Mounted on devtmpfs 377684 0 377684 0% /dev /dev/mmcblk1p4 703328 498552 155760 77% / tmpfs 445508 0 445508 0% /dev/shm tmpfs 445508 17300 428208 4% /run tmpfs 445508 0 445508 0% /sys/fs/cgroup tmpfs 445508 12 445496 1% /tmp /dev/mmcblk1p2 59365 30635 24144 56% /boot /dev/mmcblk1p3 14839 6900 6793 51% /vendor tmpfs 445508 20 445488 1% /var/volatile /dev/mmcblk1p5 122835 4084 109577 4% /usr/local tmpfs 89100 0 89100 0% /run/user/0But /usr/local should be 2.9G.Thank you for any help.Lidia
Hi,I am designing a product which requires RGB interface length matching. For that I want Pin Delay/ Pin Length from die to ball for STM32MP157CAC3 MPU.If possible please provide Pin Delay/ Pin Length from die to ball for all available pins in STM32MP157CAC3, STM32MP157AAB as well.
If I'm interpreting Table 13 correctly (datasheet p 128), VDDA can be set to 0 volts provided VREF is not used. Similarly power pins related to USB can also be set to 0 volts. Looking in the datasheet p29,I just need to star-connect VDD_ANA, VDD_PLL and VDD_DSI to VDD, and make sure that VDD powers up before VDDCORE. Would this be alright, have I missed any important details?
HelloI am using Distribution Package and st-image-core.I had to use sftp while testing my board, so I tried it, but it doesn't seem to be installed in the default package.So, after adding the following to st-image-core.bb, I tried bitbake, but an error occurs.There was no problem adding the other packages, but the problem occurs when I add the two below.CORE_IMAGE_EXTRA_INSTALL += "openssh" CORE_IMAGE_EXTRA_INSTALL += "openssh-sftp-server"Error:ERROR: st-image-core-1.0-r0 do_rootfs: Unable to install packages. Command '/home/parkseunghyun/Distribution-Package/openstlinux-5.10-dunfell-mp1-21-11-17/build-openstlinuxweston-stm32mp1-HSOT_GW01/tmp-glibc/work/stm32mp1_HSOT_GW01-ostl-linux-gnueabi/st-image-core/1.0-r0/recipe-sysroot-native/usr/bin/apt-get install --force-yes --allow-unauthenticated --no-remove apt base-passwd cronie dpkg hostapd hsgt lighttpd openssh packagegroup-base-extended packagegroup-core-boot packagegroup-core-ssh-dropbear packagegroup-framework-core-base packagegroup
Hello.I developed my own board based on A-DK1 board using STM32MP157CAC and MicroSD, PMIC, Ethernet and DDR periphery. When I connect my plate to the usb with sd-card (st-link 2.1) I always receive the message:PANIC at PC : 0x2fff2d17Exception mode=0x00000016 at: 0x2fff2d17Only these 2 strings.My power and clock schematics exactly the same as -dk1 board.I have only one difference. There is a STM32MP157AAC on the dk-1 and I use STM32MP157CAC...I have one sd-card for the both boards. My MPU just doesn't wake up and I don't understand what should I doing
I've been trying to build-time reserve a 64KiB memory region anywhere between 0xC0000000 & 0xDFFFFFFF for the Cortex-M4 core using a device tree reserved-memory node. I've tried 0xC0000000, 0xD0000000 & 0xDFFF0000 but each time U-Boot fails either during flash programming or when trying to boot the Linux kernel.I've managed to kludge a reservation at 0xC0000000 by changing the root memory@c0000000 node to have "reg = <0xc0010000 0x3fff0000>;" after which I can read & write the 64KiB from the M4 without crashing the running Linux kernel and use it, for example, as additional M4 heap.However this is icky. Ideally, I'd like the flexibility to assign it to the memory-region property in the &m4_rproc node and have rproc able to load data or code into it or use it for true zero-copy shared memory between the two domains. (Unlike the provided mechanism that uses DMA to move data between SRAM & DDR.)I have searched the ST & community wikis to no avail for more det
Hello. I have used the STM32MP157A-DK1 this year and I have learned to work with it. Now I develop my own PCB with STM32MP157CAC3. There is a 12-V external power supplier in it. I do't use USB Type-C. Can I do like this? I care about pins USB_PWR_CC1 and USB_PWR_CC2. It seems to me that they will not allow starting the processor without USB.Thanks!
Page 31 says PF0 is GPIO24/SDMMC3_D0 and on page 28 and 34 it says PF14 is ARDUINO_A2_ADC2_IN6.
I have been trying to compile an image in Yocto with a custom machine to load my own device tree, but when trying to compile I always get the same error, here is a log: Log data follows:| DEBUG: Executing shell function do_configure| gtkdocize: neither configure.ac nor configure.in exist| NOTE: Executing meson -Dgtk_doc=false -Ddtrace=false -Dfam=false -Dsystemtap=false -Dselinux=disabled -Dlibmount=true -Dman=false -Dinternal_pcre=false -Dinstalled_tests=false --cross-file=/home/fpinilla/STM32MP15-Ecosystem-v3.0.0/Distribution-Package/layers/poky/meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-linux --cross-file=/home/fpinilla/STM32MP15-Ecosystem-v3.0.0/Distribution-Package/layers/poky/meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-glibc --cross-file=/home/fpinilla/STM32MP15-Ecosystem-v3.0.0/Distribution-Package/layers/poky/meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common...| The Meson build system| Version: 0.53.2| Source dir: /home/fpinilla/STM32MP15-Ecosy
HI. I have a custom board that basically identical to the PDKWe Made 2 Boards for test.One starts up OKThe Other failsSection of Console belowThe section of interest is the lineINFO: CPU 0 IT Watchdog 2 and soThe Same SDCard in both.Must be a hardware issue but what?Any Help appreciatedFound /mmc0_extlinux/stm32mp157c-dk2_extlinux.confRetrieving file: /mmc0_extlinux/stm32mp157c-dk2_extlinux.conf706 bytes read in 39 ms (17.6 KiB/s)Retrieving file: /splash.bmp18244 bytes read in 39 ms (456.1 KiB/s)Select the boot mode1: OpenSTLinux2: stm32mp157c-dk2-a7-examples3: stm32mp157c-dk2-m4-examplesEnter choice: 1: OpenSTLinuxRetrieving file: /uInitrdINFO: CPU 0 IT Watchdog 2INFO: CPU : 0INFO: sp_usr : 0x0INFO: lr_usr : 0x0INFO: spsr_irq : 0x0INFO: sp_irq : 0x0INFO: lr_irq : 0x0INFO:  
When compiling the U-boot, these four commands are used:PC $& gt; export KBUILD_OUTPUT=.. /build/stm32mp15_trustedPC $& gt; export DEVICE_TREE=stm32mp157c-dk2PC $& gt; make stm32mp15_trusted_defconfigPC $& gt; make alluse the first: export KBUILD_OUTPUT=.. /build/stm32mp15_trusted, the compiler will fail, but if there is no first statement, the compiler will succeed
I am trying to read/write the QuadSPI flash on the EV1 from the CM4 controller. I am able to flash and boot from the QuadSPI memory using STM32CubeProgrammer, but when I try to use QuadSPI init code ported from another ST chip (STM32H750), it hangs during QSPI_EnterFourBytesAddress() -> QSPI_WriteEnable() while auto-polling for the write enable bits. All other commands appear successful under debug until this point (incl. HAL_QSP_DeInit, HAL_QSP_Init, QSPI_ResetMemory, QSPI_EnterQPI, QSPI_AutoPollingMemReady). The chip commands used in these functions appear compatible between the MX25L51245G (EV1) and the MT25TL01G (H750B-DK). There seems no good way to tap the QSPI signals on the EV1 to diagnose if there are any line problems, but I have triple-checked the GPIO init and it SHOULD be right, so I'm not sure how to proceed. Obviously the QuadSPI works since the BootROM can access it...maybe it is just clock tree issues (I am using very basic bare-metal firmware on the A7 to boot the
I need to connect a Waveshare Electronics 5.5" HDMI AMOLED display that does not provide it's supported modes, their website states it needs to be configured manually with the followingmax_framebuffer_height=1920max_usb_current=1config_hdmi_boost=10hdmi_group=2hdmi_force_hotplug=1hdmi_mode=87hdmi_timings=1080 1 26 4 50 1920 1 8 2 6 0 0 0 60 0 135580000 3How would I do this on the openstlinux_eglfs st-example-image-qt image ?Thanks in advance.
Hi all,How can we integrate swupdate with current yocto build infrastructure for stm32mp167c-dk2?TIA
Hi Community,I am building android image of STM32MP157C-EV1.I have got incompatible error when I have built as following commands.commans: $ repo init -u https://github.com/STMicroelectronics/android-manifest -b refs/tags/st-android-11.0.0-2021-08-31 -m stm32mp1droid.xml $ repo sync $ source ./build/envsetup.sh $ lunch aosp_eval-user $ make -jerror: checkvintf E 11-10 15:16:51 206 206 check_vintf.cpp:554] files are incompatible: Runtime info and framework compatibility matrix are incompatible: No compatible kernel requirement found (kernel FCM version = 5). checkvintf E 11-10 15:16:51 206 206 check_vintf.cpp:554] For kernel requirements at matrix level 5, For config CONFIG_DEBUG_FS, value = y but required n checkvintf E 11-10 15:16:51 206 206 check_vintf.cpp:554] : SuccessObviously these files are mismatch. out/target/
Dear STM32 MPU Community,We are please to announce that New MP1 Ecosystem V3.1.0 is available.It contains :Openstlinux-5.10-dunfell-mp1-21-11-17STM32MP1Cube V1.5.0STM32CubeIDE V1.8.0STM32CubeMX V6.4STM32CubeProgrammer V2.9.0Please check out the STM32MP15 ecosystem release note - stm32mpu on STM32 Wiki to get complete description of content and new features.*** Main NEW features of the STM32MP15-ecosystem-v3.1.0 release *** Coprocessor firmware Authentication supportQSPI NAND performance improvementsLinux KGDB supportDMA pause & resume supportstm32key command update for easy evaluation of STM32MP15 secure bootEnabling LPDDR2 / LPDDR3 PHY built-in Read Valid training (RVTRN)*** 1st Buildroot distribution based on ST Linux BSP and supported by Bootlin !! *** Read STM32MP15 Buildroot release note - v3.1.0Wiki for previous ecosystem are still available :Ecosystem-V2-WikiEcosystem-V1-WikiHope you will enjoy this new release.In case any questions, issues
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.