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
I have been trying to connect to stm32mp157x-DK2 via on board stl-ink and to my custom board via stlink-v3set, using the STM32CubeProgrammer, but on both boards I get the same error. I have tried selecting engineer and productions mode - no luck. What am I doing wrong? - see a picture bellowAlso why stm32mp157x-DK2 - allows full access via uart to boards memory and custom board does not (see schematics bellow)1.pic. J-tag error of not detecting MPU on eval-board.2.Pic. Eval-board st-link schematics.3.Pic.Custom board - pins that connects to STlink-V3set.
Hello!When I build the Open ST Linux distribution, I get the following warning:WARNING: st-initrd-1.0-r0 do_package: Manifest /home/ubuntu/OpenSTLinuxDistr/openstlinux-5.10-dunfell-mp1-21-11-17/build-openstlinuxweston-stm32mp1/tmp-glibc/sstate-control/manifest-x86_64_x86_64-nativesdk-st-image-resize-initrd.packagedata not found in stm32mp1 cortexa7t2hf-neon-vfpv4 cortexa7t2hf-neon cortexa7t2hf-vfp cortexa7hf-neon-vfpv4 cortexa7hf-neon cortexa7hf-vfp armv7vet2hf-neon-vfpv4 armv7vehf-neon-vfpv4 armv7vet2hf-neon armv7vehf-neon armv7vet2hf-vfp armv7vehf-vfp armv7at2hf-vfp armv7ahf-vfp armv6thf-vfp armv6hf-vfp armv5tehf-vfp armv5ehf-vfp armv5thf-vfp armv5hf-vfp allarch x86_64_x86_64-nativesdk (variant '')? A little clarification: I'm not adding my machine. It's standart machine. The distribution is loaded into the board and everything works, but I would like to get rid of this warning so that everything is clean. What could it be?
Hi ,I am trying to add a custom recipe in the meta-st-stm32mp layer. Below is my swupdate_1.0.0.bb file :DESCRIPTION = "Swupdate example" HOMEPAGE = "wiki.st.com" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "" # No information for SRC_URI yet (only an external source tree was specified) SRC_URI += " \ file://postupdate.sh file://swupdate.conf file://S98update " # NOTE: no Makefile found, unable to determine what needs to be done do_configure[noexec] = "1" do_compile[noexec] = "1" do_install() { # Specify install commands here install -d ${D}${sysconfdir}/swupdate/ install -d ${D}${sysconfdir}/init.d/ install -m 0755 ${WORKDIR}/postupdate.sh ${D}${sysconfdir}/swupdate/postupdate.sh install -m 0755 ${WORKDIR}/swupdate.conf ${D}${sysconfdir}/swupdate/swupdate.conf install -m 0755 ${WORKDIR}/S98update ${D}/${sysconfdir}/init.d/S98update } FILES_${PN} += "${sysconfdir}/swupdate/ ${D}${sysconfdir}/init.d/" Upon giving a bitbake
Hi @PatrickF I think the previous question reached the maximum number of replies, so I write a new one hoping I'm doing well.Here's my weston.ini[core] #modules=cms-colord.so shell=desktop-shell.so backend=drm-backend.so idle-time=0 repaint-window=100 require-input=false [keyboard] keymap_layout=us [shell] background-image=/usr/share/weston/backgrounds/ST13028_Linux_picto_11_1366x768.png background-color=0xff002244 background-type=centered clock-format=minutes panel-color=0x90a1a1a1 panel-position=top locking=false animation=none startup-animation=none close-animation=none focus-animation=none binding-modifier=ctrl #num-workspaces=6 #cursor-theme=whiteglass #cursor-size=24 #lockscreen-icon=/usr/share/icons/gnome/256x256/actions/lock.png #lockscreen=/usr/share/backgrounds/gnome/Garden.jpg #homescreen=/usr/share/backgrounds/gnome/Blinds.jpg [launcher] icon=/usr/share/weston/icon/utilities-terminal.png path=/usr/bin/weston-terminal [launcher] icon=
Hi there, I am trying to decrease the RPMSG buffer size from 512 to 256 bytes. I have successfully managed to increase the buffer size in the past to 1024 and allocate more memory for 32VRINGS. When attempting to decrease the buffer size to lower than 512 in the linux side Cube IDE will prompt "Failed to insert all hardware breakpoints...". I am really curious on how openamp_conf relates to hardware breakpoints.The configuration for both sides as follows:Linux Sidevirtio_rpmsg_bus.c :#define MAX_RPMSG_NUM_BUFS (256) #define MAX_RPMSG_BUF_SIZE (256)stm32mp15xx-dkx.dtsi:vdev0vring0: vdev0vring0@10040000 { compatible = "shared-dma-pool"; reg = <0x10040000 0x0800>; no-map; }; vdev0vring1: vdev0vring1@10040800 { compatible = "shared-dma-pool"; reg = <0x10040800 0x0800>; no-map; }; vdev0buffer: vdev0buffer@10041000 { compatible = "shared-dma-pool"; reg = <0x10041000 0x10000>; no-map; };M4 SideSTM32MP157CACX_RAM.ldMEMORY
I try to use STM32CubeMX generate project with makefile, but the option is gray. It's can not select. Does the cubemx not support generate makefile on stm32mp1 platform ?
The RTC clock is on motherboard and usesthis driver (M41T62). I obtained source code from your website. I try to compile this driver as a linux module (debian). I have learnt that this driver is not supported.
Hi,I am trying to integrate swupdate for OTA update integration for STM32MP1.In the due process I will be in need to modify the flash layout file a bit , since I am trying have an extra rootfs partition , named partition B on /dev/mmcblkp06.I referred to flash layout currently mentioned here.It looks to me that there is not any support for the extra rootfs which is provided.How can i do that? I am sure that I will be in need to change the flashlayout but since offsets are defined static in the mentioned link , I was wondering what should be offset calculation for achieving the same.I want to achieve following scheme:#Opt Id Name Type IP Offset Binary - 0x01 fsbl1-boot Binary none 0x0 arm-trusted-firmware/tf-a-stm32mp157c-ev1-usb.stm32 - 0x03 fip-boot Binary none 0x0 fip/fip-stm32mp157c-ev1-trusted.bin P 0x04 fsbl1 Binary mmc1 boot1 arm-trusted-firmware/tf-a-stm32mp157c-ev1-emmc.stm32 P 0x05 fsbl2 Binary mmc1 boot2 arm-trusted-firmware/tf-a-stm32mp157c-ev1-emmc.stm32 PD 0x06 fip Binary
IDE suggested that I upgrade STLink FW on my STM32MP1-DK2 discovery board. Now when I connect my Linux PC to USBC on DK2, device isn't recognized by STMProgrammer (also nothing shows up in dmesg).
Hi, I downloaded the image file required by STM32MP157-EV1 from Yocto, but this error occurred when I used ST32CubeProgrammer. Does anyone know how to solve it?Error:Yocto image information:
Hello,I am working on IPC between M4 and A7 and it works properly using the "logic analyzer" example. I changed it according to my needs but not the buffers. 1 . I could read the data from 3 buffers, but often buffers are swapping. I would like to what causes this problem and how to solve it?2. When I start IPC, one of the CPU processes goes into 100%. Is it normal for the IPC? and is there anything that I could change to reduce the CPU processes? Thank you in advance
The Nucleo F446RE pops up with a media directory as soon as I plug the USB into the ST-LinkThe STM32MP157A-DK1 does not do that. And when I try to program it it says NO ST-LINK Detected. I have tried the Boot switches in every position but I understand Boot 0 Off, and Boot 2 On should let me program the M4 over the ST-Link. Help.
Hi!My question is: how can I create a stm32mp1 project with STM32CubeIDE 1.8.0 from scratch?I've browsed through the wiki pages, and I only came across examples where they import ready projects.If I create a new project by choosing for example the stm32mp157c-dk2 card as target, the project is created without any problems.I can modify and build the Cortex-M4 subproject without any problems.I can also modify the .ioc file and regenerate the code.I am able to build GTK and Qt userspace example programs in the Cortex-A7 subproject (I built the st-example-image-qtwayland image and the SDK).So it all works. What I can't do:In CubeMX I select which IP belongs to which context. CubeMX generates the new device trees. How can I build .dtb's from these in CubeIDE?The wiki page is not completely clear to me :https://wiki.st.com/stm32mpu/wiki/How_to_manage_OpenSTLinux_projects_in_STM32CubeIDEI cannot follow the steps described here because the compilation stops with the following error:*** *** Con
I believe HSE is 24 MHz, DIVM3 is /2 (12 MHz) DIVN3 is X34 (408 MHz) DIVP3 is /2 (204 MHz) But the screen says it is 208.87793. I thought I knew how the PLL worked. And it is not like this. I have a screen shot.
I tried setting the i2c frequency to less than 20KHz but I got the following error:[ 1.788573] stm32f7-i2c 40012000.i2c: no solution at all[ 1.792517] stm32f7-i2c 40012000.i2c: failed to compute I2C timings.[ 1.798793] stm32f7-i2c 40012000.i2c: Impossible to compute I2C timings.[ 1.805717] stm32f7-i2c: probe of 40012000.i2c failed with error -1This is the device tree change:&i2c1{ pinctrl-names = "default", "sleep"; pinctrl-0 = <&i2c1_pins_mx>; pinctrl-1 = <&i2c1_sleep_pins_mx>; status = "okay"; /* USER CODE BEGIN i2c1 */ clock-frequency = <10000>; /* USER CODE END i2c1 */ };
..
Hi STM32 MPU's community ! On behalf of ST and all ST employees involved in this community I would like to wish - to all members here - a joyful holidays period and the best for coming year 2022 !I take this opportunity to thanks you all for your participation by posting or answering questions.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. Hope to see you all well-rested and full of energy for another great year in the ST Community !Olivier
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,we are working on a sensor data reading application based on your logic analyzer example project. But in our use case the data are sampled on a FPGA connected via QSPI. We have hard realtime requirements (far below 1ms) of reading the data and transferring them to the DDR RAM, so that we cannot use the A7 & Linux (we tried already).I am now trying to get the QSPI working together with the MDMA controller from the M4 to transfer the data to the DDR RAM (or the internal SRAM as 2nd option). But I could not find any example source code. Could you provide an example project or code snippet which shows how to set this thing up? Or is it generally not intended or possible to setup MDMA transfers from the M4?Thanks in advance!Best regards,Karsten
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
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.