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 all.I'm developing a QT/QML application for my embedded openSTLinux project. This application has to play some videos with relative audio. I'm trying to play a mp4 file. If I use the following gst-launch-1.0 playbin uri=file:///home/root/media/my_video.mp4 video-sink="waylandsink sync=false"audio and video are played correctly. Instead, if I use QML code, for example this Item { id: idVideo visible: true width: 1024 height: 600 Video { id: videoExample anchors.fill: parent source: "file:///home/root/media/my_video.mp4" autoPlay: true focus: true } }or thisItem { id: idVideo visible: true width: 1024 height: 600 MediaPlayer { id: mdpExample source: "file:///home/root/media/my_video.mp4" autoPlay: true } VideoOutput { id: videoExample anchors.fill: parent source: mdpExample } }the display shows nothing (black screen) but the audio is played correctly.Below the "gstreamer" plugins I have installed in my openSTLinux imagegstreamer1.
Hi all,I'm part of a software team that's working on a product based on the stm32mp15, running Yocto images based on the V4.1.1 ecosystem release. We're currently thinking of upgrading the Qt version in our images from Qt5 to Qt6, and while we are able to get it working, we've noticed that the performance is slightly slower than Qt5's - at least in the example applications we provide.We ran some tests on the stm32mp15-eval board and built two sets of st-example-image-qtwayland images from a openstlinux-weston distro based on the v4.1.1 ecosystem, using Qt5 in one image and Qt6 on the other. We applied the following changes:For the Qt5 images, install an alternative version of the cinematicexperience package built from this fork on commit 5d44dd7d4fd563b33570a14c2274e7fa9cc7d84f: https://github.com/alpqr/qt5-cinematic-experienceFor Qt6 images, install the same cinematicexperience package, but using commit fea04d7004a1608308c11189d74bb92d3decbe3d instead (basically, modifying the sources
This article will take MYIR’s MYD-YF13X and STM32MP135F-DK as examples, and continue to explain how to use STM32CubeMX combined with the developer package to implement the booting of the minimal system.https://www.myirtech.com/news_list.asp?id=879Following "Bring up the STM32MP135x - ST Training Course based on MYD-YF13X (I)"4. USB BootUSB boot is used for burning im4.1.3 PWRPower age to external flash, e.g. NAND, SD card, etc. The burning image from PC to external flash is completed by U-Boot combined with STM32Cube Programmer. Configuring and compiling U-Boot is a precondition for burning.According to the STM32 MPU boot sequence:TF-A->OP-TEE->U-BOOT->Linux KernelLoading U-Boot into the DDR depends on TF-A and OP-TEE, sothe configuration and compilation of TF-A, OP-TEE and U-Boot need to be completed in the USB boot phase.4.1 USB Boot: TFA Configuration and CompilationDuring th
We are trying to achieve the same kind of variable watching Keil has but with the STM32CubeIDE. The variables do not appear in the Variables tab under the Debug view so we added dummy variables to the expression tab. The initial value of the variable shows fine and then when we resume the program after the HAL_Init breakpoint the 'Target not available.' error appears. Was anyone able to get the feature to work? Or are we supposed to use another program if we want this feature?Thanks,David.
STM32MP157AAAC custom board. Ethernet works with ECO 1 & 3.1. Used CubeMX to a add ethernet. PHY provided clock to MAC. RGMII interface. 1000Mb/s2. Applied changes exactly as based on the WIKI and as generated by CubeMX to OP-TEE U-boot and KernelBoot Log shows[ 1.548830] stm32-dwmac 5800a000.ethernet: IRQ eth_lpi not found => this also happens on working boards.[ 1.689460] stm32-dwmac: probe of 5800a000.ethernet failed with error 1[ 22.383311] using random self ethernet address[ 22.386439] using random host ethernet addressu-boot seems the interface and mii command workifconfig does not show eth0 interfaceNo other dwmac messages in boot log that those above
I know this is probably a really stupid/noob question but I was trying to flash the STM32MP157D-DK1 board I have for the first time following the following guide:https://wiki.st.com/stm32mpu/wiki/STM32MP15_Discovery_kits_-_Starter_Package I ran into an issue where it started the flash and then couldn't reconnect. I did find this article that seems to describe exactly the issue I'm having:https://community.st.com/t5/stm32-mpus/faq-stm32mp1-stm32cubeprogrammer-usb-reconnect-error-at-stm32mp1/ta-p/49263 It recommends: In Uboot shell run a Dfu command : STM32MP> env set dfu_alt_info "DDR ram 0xC0000000 0x20000000" STM32MP> dfu 0 ram 0 Unfortunately, I don't know how to run a uboot shell to try this. I know this is probably a really stupid problem . . . but I'm also hoping that means it has an easy solution as well. Any help you can give me would be greatly appreciated. Thanks!
Dear all,I'm currently using the STM32MP157F-DK2 series, and I'm trying to use the ADC1 and ADC2 in dual regular simultaneous mode triggered by TIM2 out event. Also, I used one DMA stream (DMA2_stream0) to read the ADC values of the Common Data Register (ADC_CDR) as it is indicated in the MP157F reference manual:This is how I'm starting the ADCs:if(HAL_ADC_Start(&hadc2) != HAL_OK){/* Start Error */Error_Handler();}if (HAL_ADCEx_MultiModeStart_DMA(&hadc1, (uint32_t *)adc_buff, 8) != HAL_OK){/* Start Error */Error_Handler();} if (HAL_TIM_Base_Start(&htim2) != HAL_OK){Error_Handler();}Also, I have checked the ADC's registers, to make sure the configuration is correct. This is the configuration for the ADC1 and ADC2:static void MX_ADC1_Init(void){/* USER CODE BEGIN ADC1_Init 0 *//* USER CODE END ADC1_Init 0 */ADC_MultiModeTypeDef multimode = {0};ADC_ChannelConfTypeDef sConfig = {0}hadc1.Instance = ADC1;hadc1.Init.ClockPrescaler = ADC_CLOCK_ASYNC_DIV1;hadc1.I
hi guys i am trying to use STM32MP135x-DK board with STM32CubeProgammer but after opening the software i got no internet connection due to proxy setting and also no the program does not see any dfu device connected through usb .. can anyone help with this ?
Hi,compiler bug while building m4-projects from `https://github.com/STMicroelectronics/oe-manifest/tree/mickledore` The compiler series 11.2 has a internal compiler bug, so that I cannot compile the yocto mickledore with st settings. The issue is here `https://github.com/STMicroelectronics/meta-st-stm32mp/blob/mickledore/recipes-devtools/gcc-arm-none-eabi/gcc-arm-none-eabi_11.inc` - buggy compiler is used.Here are some bug reports on this topic:https://bugs.launchpad.net/gcc-arm-embedded/+bug/1970029https://bugs.linaro.org/show_bug.cgi?id=5825Here the answer from arm:https://community.arm.com/support-forums/f/compilers-and-libraries-forum/52623/gcc-11-2-arm-none-eabi-internal-compiler-error-illegal-instructionRegardsUwe OS: Ubuntu 22.04/20.04Arch: x64 | /home/uwe/Projects/git/pVentRefresh/yocto/yocto/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/stm32mp 1-ostl-linux-gnueabi/m4projects-stm32mp1/1.6.0-r0/git/Projects/STM32MP157C-EV1/Demonstrations/AI_Charact er_Recog
We are using MuRata Module LBEE5HY1MW on our custom board based on OSD32MP157F. We are using Octavo Systems OSD32MP1 Debian SDK v3.0 based on Debian 11 and OpenSTLinux Kernel version 5.10.10.We've integrated following 1MW firmware files from murata github to OSD32MP1 Debian SDK.BCM4345C0_003.001.025.0172.0344.1MW.hcdcyfmac43455-sdio.1MW.txtcyfmac43455-sdio.bincyfmac43455-sdio.1MW.clm_blobHere are the hardware pin connections between 1MW BT module and SiP: 1MW BT module OSD32MP157F SiPBT_UART_RTS => USART2_RTS (PA1)BT_UART_CTS => USART2_CTS (PE15)BT_UART_RXD => USART2_TX (PA2)BT_UART_TXD => USART2_RX (PA3)We noticed that RTS/CTS pin connection is wrong and we can not change it on the current board version.We want to configure the USART2/BT with “no hardware flow control�? which require RTS/CTS signals to be pulled active low.To integrate 1MW module on USART2 port, we’ve made following changes in kernel device-tree, removed RTS/CTS from pinctrl block and applied pull-dow
ECO sources used (not git). Custom board based on STM32MP157AAA3.Both when using OPTEE in DDR and SRAM this issue occurs.The kernel reports an "cut here" and then reports:[ 0.273935] Unhandled fault: imprecise external abort (0x1c06) at 0x97638f7aThis seems to be a memory access violation. The 0x9 memory location seems to be in I/O space but information is hard to find. One slide from ST refers to 0x9000000-0x9FFFFFF as "STM". Why would the kernel attempt to access this space. More even curious, why for does this happens just after or at the UART ?Log attached.0.236358] Serial: AMBA PL011 UART driver[ 0.243557] stm32-pm-domain pm_domain: domain core-ret-power-domain registered[ 0.250937] stm32-pm-domain pm_domain: subdomain core-power-domain registered[ 0.258122] stm32-pm-domain pm_domain: domains probed[ 0.270843] 8<--- cut here ---[ 0.273935] Unhandled fault: imprecise external abort (0x1c06) at 0x97638f7a[ 0.281026] [97638f7a] *pgd=00000000[ 0.284637] Internal error: : 1c06
Hi there, We are using Murata Module LBEE5HY1MW on our custom board based on STM32MP157A. And we are using OpenSTLinux Kernel Version 4.19.9.We integrated LBEE5HY1MW's bluetooth with BlueZ v5.50 driver.And the HW connections between LBEE5HY1MW BT and STM32MP157A,BT_UART_CTS => USART7_RTS (PE9)BT_UART_RTS => USART7_CTS (PE10)BT_UART_RXD => USART7_TX (PE8)BT_UART_TXD => USART7_RX (PE7)Our Device Tree Configuration as below:&pinctrl { uart7_pins_a: uart7-0 { pins1 { pinmux = <STM32_PINMUX('E', 8, AF7)>, /* USART7_TX */ <STM32_PINMUX('E', 9, AF7)>; /* USART7_RTS */ bias-disable; drive-push-pull; slew-rate = <0>; }; pins2 { pinmux = <STM32_PINMUX('E', 7, AF7)>, /* USART7_RX */ &nb
We are running a stm32mp151c with stm32mp linux built with yocto. The kernel complain that the cpu0 clocl-frequency is not set, but the patch layers/meta-st/meta-st-stm32mp/recipes-kernel/linux/linux-stm32mp/5.10/5.10.116/0022-ARM-5.10.116-stm32mp1-r2.1-DEVICETREE.patch removes DTS clock-freuency setting line 3889: - clock-frequency = <650000000>;From release notes STM32 MPU OpenSTLinux release note - v4.0.0 - stm32mpu for 5.15 I found "BL2 always boots at 650MHz" and it seems the kernel should probe for cpu clock-frequency. The board boots, but we get these log entries that makes me wonder if we miss anything in DTS:"Starting kernel ...[ 0.003140] /cpus/cpu@0 missing clock-frequency property[ 2.666366] stm32-cpufreq stm32-cpufreq: Failed to get chip info: -517"Could anyone give me a hint where I can find more info about this patch and the background for removing the DTS cfg line "clock-frequency = &l
Dear I am creating an image for the stm32mp157c_dk2_defconfig board. Using buildroot the following error appears: Building stm32mp1CC drivers/io/io_block.cCC drivers/io/io_dummy.cCC drivers/io/io_mtd.cCC drivers/io/io_storage.cCC drivers/st/crypto/stm32_hash.cCC drivers/st/io/io_stm32image.cCC plat/st/common/stm32mp_auth.cCC plat/st/common/bl2_io_storage.cCC plat/st/stm32mp1/bl2_plat_setup.cCC drivers/mmc/mmc.cdrivers/st/io/io_stm32image.c: Na função ‘stm32image_partition_read’:drivers/st/io/io_stm32image.c:249:13: erro: ‘result’ may be used uninitialized [-Werror=maybe-uninitialized]249 | int result;| ^~~~~~cc1: todos os avisos estão sendo tratados como errosmake[2]: *** [Makefile:1131: /home/ubu/projects/buildroot/output/build/arm-trusted-firmware-v2.5/build/stm32mp1/release/bl2/io_stm32image.o] Erro 1make[2]: ** Esperando que outros processos terminem.CC drivers/partition/gpt.cmake[1]: *** [package/pkg-generic.mk:293: /home/ubu/projects/buildroot/output/build/arm-trusted-firmware-
Hi,in our STM32MP project, we have some unused securable peripherals. We generate our devicetree bindings with CubeMX where we have not selected anything for these peripherals. Accordingly, they do not show up in the `st,decprot` attribute in the `&etzpc` block in the devicetree.At boot, TF-A prints e.g.: "INFO: ETZPC: UART1 (3) could be non secure". What should this info tell us? Is there anything we need to be concerned about?According to the reference manual, the default register setting for USART1 should be "0b00" which corresponds to "secured". So in my opinion, USART1 should implicity be secured.Thanks in advance
HelloI would like to understand the EDMK (Encryption Decryption Master Key). This key is used to decrypt and encrypt BL2 and FIP binaries.Are there any other application of this key? For example, can it be used for LUKS ?Is it possible to access some API to encrypt/decrypt using this key? Or is it reserved to the ROM code?Thanks
Hi guys,The schematics for STM32MP15x-EVAL board (MB1263) uses a level shifter for SDcard from NXP (IP4856CX25) that is now obsolete. I found 2 close alternatives:ST6G3244MEBJR from ST, with one pin only (C4) different from IP4856TXS0206YFPR from TI, with 5 pins less then IP4856Questions:Is it possible to use the ST6G3244 from ST replacing the IP4856CX25 from NXP? If so, is it a direct replacement (with pin C4 of STG3244 tied to GND)?I noticed that the NXP part has a wider host side voltage range up to 3V3 than the ST part. I don't have the MB1263 board here to measure, so I need to know what is the Voh of the SDcard lines in STM32MP157 in MB1263. Can anyone help me on this?Is it possible to use the TXS0206 from Texas which have a wider host side voltage range compatible with 3V3?Is there any other alternative to replace the IP4856CX25 from NXP?Thank you guys in advance for any light on this topic.
I'm trying to get to know stm32mp1 while making a board for this thing.While using the default image provided by manufacturer seems to work. The kernel used is old compared to the current ST BSP and support from them isn't exactly great so I'm trying to migrate to the latest BSP. This isn't going so well.Following instructions found in the wiki. I've managed to compile it but when trying to run, it just stops at 'starting kernel'. Recompiling with LL_DEBUG and EARLY_PRINTK, resulted in some more info.The lines that seems to show an issue are:[ 1.599531] i2c_dev: i2c /dev entries driver [ 1.606005] syscon-reboot: probe of reboot failed with error -22 [ 1.733737] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 2.031116] irq: no irq domain found for gpio@54004000 ! [ 2.036565] gpio-keys joystick: Found button without gpio or irq [ 2.057386] gpio-keys: probe of joystick failed with error -22 [ 3.458283] Warning: unable to open an initial console. [ 3.465913] Freeing unused kern
on the left CubeMX generated for STM32MP157AAAC and on the right, dk1 dts included: stm32mp15-pinctrl.dtsi (kernel dtsi)The biases are reversed and the pin controls are in separate groups in the DK1 dtsi files. and the slew rates are diferent.i am wondering if this is the reason why mmc dev 1 , mmc info uses 4 bits for GPIO even 8 bits bus is declared.
I'm trying to testing secure boot on a STM32MP157F-EV1. To do so, I planned to use the fuse override command to test secure boot without having to actually burn the OTP 24-31 with the public key hash.But it appears that fuse override command is not working properly: after overriding cache to store publicKeyhash.bin, the read is exempt of the key. (note: the publicKeyHash_values is a placeholder)STM32MP> fuse override 0 0x00000018 publicKeyhash_values Overriding bank 0 word 0x00000018 with publicKeyhash_values[0] Overriding bank 0 word 0x00000019 with publicKeyhash_values[1] Overriding bank 0 word 0x0000001a with publicKeyhash_values[2] Overriding bank 0 word 0x0000001b with publicKeyhash_values[3] Overriding bank 0 word 0x0000001c with publicKeyhash_values[4] Overriding bank 0 word 0x0000001d with publicKeyhash_values[5] Overriding bank 0 word 0x0000001e with publicKeyhash_values[6] Overriding bank 0 word 0x0000001f with publicKeyhash_values[7] STM32MP> fuse read 0 0x00000018 8
Custom board. Boot log as belowextlinux.conf:MENU BACKGROUND /splash_landscape.bmpTIMEOUT 20LABEL OpenSTLinuxKERNEL /uImageFDTDIR /INITRD /st-image-resize-initrdAPPEND root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw console=${console},${baudrate} dyndbg="file drivers/usb/core/hub.c +p"adding the dyndbg following: https://wiki.st.com/stm32mpu/wiki/How_to_use_the_kernel_dynamic_debug#Debug_messages_during_boot_processums 0 mmc 0Did not show /media/$USER/bootfs.Any hints/ideas/suggestion to (enable) debug the root cause?the dt of u-boot is the same as for the kernel.The kernel uImage and DT blob were copied to bootfs.The rootfs /lib/modules was also updated, probably not needed as the SD card was created with the files and tools of the starter package in ECO 5.0.0. and modules were not changed.U-Boot 2022.10-stm32mp-r1 (Oct 06 2023 - 20:22:10 +0800)CPU: STM32MP157AAA Rev.BModel: STMicroelectronics custom STM32CubeMX board - openstlinux-6.1-yocto-mickledore-mp1-v23.06.
Run bitbake rep and sync and DISTRO, then bitbake , it shows the EULA and the build start, interrupt the build by press CTRL-C, closing the console window and re-entering it. then start bitbake, below errors occur.Even creating a new folder running the repo and sync command and then DISTRO shows:HOST DISTRIB check]Linux Distrib: UbuntuLinux Release: 23.04[source layers/openembedded-core/oe-init-build-env][from nothing][EULA configuration][WARNING] No eula file found : not able to configure EULA agreement or not.[Configure *.conf files][INFO] No 'site.conf.sample' file available at /home/user/distro/layers/meta-st/scripts. Create default one...[WARNING] Not able to find STM32MP1.conf file in layers/meta-st : bblayer.conf not updated...===========================================================================Configuration files have been created for the following configuration:DISTRO : openstlinux-westonDISTRO_CODENAME : mickledoreMACHINE : STM32MP1BB_NUMBER_THREADS : <no-custom-conf
..
Hello,we are using STM32MP157A-DK1 Board.we are trying to ping ethernet continuously in uboot can you suggest us how to ping ethernet continuously using commands.Is there any option to write script in uboot to ping continuously.Plese suggest how to write the script.regards,Navaneeth kumar
Hello,I read the AN5122 which explains in chapter 4.2, that the RAM lane byte 0 must be connected to byte 0 of the MP1 and that the bits swapping is not possible. However on the EV1 board, the bits inside byte 0 lane are swapped. Furthermore, i do not know how to identify byte 0 at the ram chip, since i want to use two of them.For the design I am working on, I need 1GB DDR3L RAM, split in two 512MB RAM chips. In the AN I found this picture:I'd like to place the two chips next to each other, using STM32MP1's Byte 2 / Byte 0 for chip 1 and Byte 1 / Byte 3 for chip 2. Is this possible to do?Thanks
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.