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
There are no repos defined in /etc/apt/sources.list.d/I can't seem to use apt-get to install git or nano or anything....
HI,Is it possible to write and compile c++ user space application for stm3m2mp1?If yes how ?
Hi, I need to edit the "stm32mp1.c" file inside the uboot sources, in particular I have to set the following change on line 413:nb_blink = 4; How can I do that on OpenSTLinux (Yocto approach) ?Where is the file and how can I maintain such edit after recompiling the images ?Thank you
I have followed this guide in order to use custom DTS files (followed step-by-step) and the following error occurs, how can I compile without using the op-tee?ERROR: optee-os-stm32mp-3.12.0.r1-r0 do_compile: File /home/ubuntu/customer/openstlinux-5.10-dunfell-mp1-21-03-31/layers/meta-st/meta-st-stm32mp-addons/mx/DK2_A7/optee-os/stm32mp157c-dk2_a7-mx.dts not found: compilation aborted for optee-os-stm32mp device tree. ERROR: Logfile of failure stored in: /home/ubuntu/customer/openstlinux-5.10-dunfell-mp1-21-03-31/build-openstlinuxweston-stm32mp1-DK2_A7/tmp-glibc/work/stm32mp1_DK2_A7-ostl-linux-gnueabi/optee-os-stm32mp/3.12.0.r1-r0/temp/log.do_compile.18640 ERROR: Task (/home/ubuntu/customer/openstlinux-5.10-dunfell-mp1-21-03-31/layers/meta-st/meta-st-stm32mp/recipes-security/optee/optee-os-stm32mp_3.12.0.bb:do_compile) failed with exit code '1'I've inserted into my machine folder (DK2_A7) the following, populated, folders:u-bootkerneltf-aAs the linked guide suggests, there is no optee-o
hi,i would like to modify the start_up_demo_launcher.sh script as well as the weston.ini file so that my application is started instead of the STM demo application. i would then like to add these files to my own distribution package so that i can flash the eval board w/ it.can someone tell me where i can find these files in an STM download package so that i can build my own image to flash?thanks,vince
..
My board with stm32mp157 wakes up from CSTOP with UART wake source, but cannot wakes with RTC or WAKEUP PINs from STANDBY. TF-A outputs strange errors at the end:ERROR: Illegal access to 0xe0000000 in :ERROR: Non-SecureERROR: PrivilegeERROR: ReadAnd nothing goes on until watchdog reset.This lines I see in tzc400 sources. But I don`t know how to interpret this.Could anyone explain what is going wrong when I`m trying wakes from STANDBY?
I'm developing an IoT device for a customer and I have an external Bluetooth SoC connected to the ST's MCU via UART. The BT SoC shares its UART Tx pin with reset functionality so I need to develop a driver to momentarily turn the UART to GPIO mode to reset the device followed by return to UART mode to carry on with the communication.As a first step I'm doing a Proof of Concept -like solution where I use a normal tty driver (usart3) to communicate and a second custom driver to highjack the GPIO peripheral.The issue is that I don't seem to be able to read any values out of the GPIO registers except for 0. Here is the code I'm using for testing the GPIO access:static const uint32_t GPIO_BASE = 0x50003000; static const uint32_t GPIO_LAST = GPIO_BASE + 0x3fc; ssize_t show_debug_attr(struct kobject* kobj, struct kobj_attribute* attr, char* buf) { ssize_t written = 0; uint32_t i; volatile void __iomem* ptr = ioremap_nocache(GPIO_BASE, GPIO_LAST - GPIO_BASE); if (!ptr) { r
HelloI'm going to create and flash my custom board with CubeMx. But I don't know how to modify the dtb file.Can you give me a link or a way to get the right help?
Hi,Is STM32MP1 is able to drive two displays at once , one via DSI and another via RGB is it possible? Following are the combinations :RGB to HDMI ---- to drive HDMI display.DSI to HDMI ----- to drive HDMI display.RGB to LVDS ----- to Drive LVDS display.DSI to LVDS ----- to drive LVDS display.Which of these would be best combination to drive two displays? I want to drive LVDS and one any display via HDMI.
I want to control a GPIO before u-boot, so how to control in TF-A?
We are building a custom embedded system based on STM32MP1 using customised OpenSTLinux. We are currently using the st-image-core as a starting point but we found it already heavy.Is there any option or other images providing a smaller image ?Also how can we merge the output images in a single fs. Currently there is bootfs, rootfs, userfs and vendorfs ?Is there any documentation ressources about this topics ?Thanks in advance
We are using OpenSTLinux to generate a custom image for our custom board. This board has no wifi nor bluetooth so we would like to remove it's support.Our machine conf file is based on stm32mp1-eval.conf with the following edition (commenting wifi and bluetooth and adding MACHINE_FEATURES_remove for wifi and bluetooth)But even with these modification bluez, packagegroup-base-bluetooth, packagegroup-base-wifi and wpa-supplicant are included in our image (accoridng to manifest). How can we remove bluetooth and wifi support ?#MACHINE_FEATURES += "bluetooth" #MACHINE_FEATURES += "wifi" MACHINE_FEATURES_remove = "wifi" MACHINE_FEATURES_remove = "bluetooth" #BLUETOOTH_LIST += "linux-firmware-bluetooth-bcm4343" #WIFI_LIST += "linux-firmware-bcm43430"
Hi,I am trying to develop something around the STM32MP1.For that I have made some changes in the dts file via cubeMx and followed the process of building it given here.What is the location where the dtb file generated ? My arch/arm/boot/dts folder looks empty.Is there something i am missing?executing make dtbs seperately also exits cleanly but does not generated the dtb file.
currently i have a pin <STM32_PINMUX('F', 14, GPIO)> how to mux as a GPIO before using as a gpiolib, export work fine, but i2c4 is not working but i can see GPIO is getting based on sys gpiolib. as before export i see PF14 line is muxed as pin 94 (PF14): input - low - pull upand this line has AF as a i2c4-clk
I am trying to verify my build environment by building the U-boot code samples to be able to run the DDR Tuning tests.First I start CubeMX (using the ubuntu image provided on one of your workshops) and under tools i choose the DDR Test Suite and select a prebuilt "u-boot-spl.stm32-stm32mp157c-dk2-basic" file found in en.FLASH-stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31.tar_v3.0.0.xz as the DDR utilities binary file. Selecting ttyACM0 for my connection renders a sucessfull connection and enables me to run the ddr tuning tests. Now I need to build my own DDR utilities binary file so I use "en.SOURCES-stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31.tar_v3.0.0.xz" provided on your site and find the u-boot code in u-boot-stm32mp-2020.10.r1-r0.tar.gz which I extract in place.I initialize my Terminal by going to the folder i intend to build:cd ~/SDK/Developer-Package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/u-boot-stm32mp-2020.10.r1-r0/u-boot-stm32mp-202
Hi everyone.I have an already-designed PCB with an STM32MP157 on it. In order to communicate with an external device, I am using USART1. At the same time, I'm using an USB OTG port to connect my device to my PC.My problem is that USART1 is working with pins PA10 (AF7: USART1 RX), PA12 (AF7: USART1 DE) and PB6 (AF7: USART1 TX). It seems that PA10 is also set up as OTG HS pin:usbotg_hs_pins_a: usbotg_hs-0 { pins { pinmux = <STM32_PINMUX('A', 10, ANALOG)>; /* OTG_ID */ }; };(in stm32mp157-pinctrl.dtsi).I am not sure at all but I think this pin is not referenced at any device tree file in the whole DTS. However, if I disable usb-otg device, USART1 starts working.But I don't want to do that.So after reading the usb-otg driver documentation I discovered the following parameter:dr_mode: shall be one of "host", "peripheral" and "otg"So I set up my otg as "peripheral" and now my usb otg works when I connect the external device to my USART1. But USART1 still not works.What
I am using STM32MP1 Device in our costume board . In my application I need 3 UARTS out of three UARTS only one is initialized in UBOOT and its working fine , Now i want to initialize the remaining UARTS , Send and receiving the data from remaining UARTS. For this what is procedure to add new UART drivers(We are using the stlinux for the application development).
Hello!I am having an issue installing the developer package SDK where the shell script is not found as well as an 'argument list too long' failure during setup.I am using Ubuntu WSL to execute the script and see the following:Any insight would be greatly appreciated!sudo ./stm32mp1-openstlinux-5.4-dunfell-mp1-20-11-12/sdk/st-image-weston-openstlinux-weston-stm32mp1-x86_64-toolchain-3.1-openstlinux-5.4-dunfell-mp1-20-11-12.sh -d /mnt/c/Users/aortw/Documents/STM32MP15-Ecosystem/Developer-Package/SDK ./stm32mp1-openstlinux-5.4-dunfell-mp1-20-11-12/sdk/st-image-weston-openstlinux-weston-stm32mp1-x86_64-toolchain-3.1-openstlinux-5.4-dunfell-mp1-20-11-12.sh: 29: gcc: not found ST OpenSTLinux - Weston - (A Yocto Project Based Distro) SDK installer version 3.1-openstlinux-5.4-dunfell-mp1-20-11-12 ======================================================================================================================= The directory "/mnt/c/Users/aortw/Documents/STM32MP15-Ecosystem/Developer-Packag
Hello everyone,I've a question. If I'm not confused, STM32MP157F is dual CA7 core. Now, I'm coding a Linux application which I would like to parallelize. How can I do it? Is there any kind of directives such as OpenMP?Thanks,Oscar
Hi,I am trying to interface a rotary encoder to A7 on STM32MP1.I was able to get the CubeMx COnfiguration done and got the device tree file generated.Also looked into this document: https://wiki.st.com/stm32mpu/wiki/Interrupt_overview#pinctrl_irqchipHowever i could not understand simply how do i detect interrupt has happened and take decision over it? How are interrupt handler for this needs to be written?
Hi ST Teams!We've made a custom board with sdcard and mmc, all these device can be viewed from uboot/linux userspace. We are mainly using starter kit (v1.2) with modified tfa/uboot.For mmc programming, using Cube Programmer CLI(v2.5) we have only uart option available.I've got few questions about emmc:**What is the maximum baudrate we can have on UART boot in order to program emmc (921600)? We manage to begin to program at 115200 but it takes far too long time.At higher speed we have an error message stating:File download completeTime elapsed during download operation: 00:00:04.221RUNNING Program ... PartID: :0x01 Start operation done successfully at partition 0x01GETPHASE command not acknowledged!Reemission of GetPhase commandGETPHASE command not acknowledged!Reemission of GetPhase commandGETPHASE command not acknowledged!We tried to add "-tm 1000" option in command line but doesn't help.Any hints?**Does we have to erase it (emmc) before any update?i
These are log i got during download, any clueSTM32_Programmer_CLI -c port=usb1 -tm 20000 -w flashlayout_mp1som-image/FlashLayout_sdcard_mp1som-mystm32mp1-basic.tsv ------------------------------------------------------------------- STM32CubeProgrammer v2.5.0 -------------------------------------------------------------------USB speed : High Speed (480MBit/s)Manuf. ID : STMicroelectronicsProduct ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000SN : 001F00213438510838333630FW version : 0x0110Device ID : 0x0500Device name : STM32MP1Device type : MPUDevice CPU : Cortex-A7Start Embedded Flashing
image download to sdcard with STM32MP157D-EV1Uploaded Image to SDCARD using VMWARE. However, it does not boot normally.Below is the log when downloading. lastly, "unable to reconnect" error occurs.------------------------------------------- log start -------------------------------------denniskim@denniskim-pc:~/STM32MPU_workspace/STM32MP15-Ecosystem-v3.0.0/Starter-Package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/images/stm32mp1$ STM32_Programmer_CLI -l usb ------------------------------------------------------------------- STM32CubeProgrammer v2.7.0 -------------------------------------------------------------------===== DFU Interface =====Total number of available STM32 device in DFU mode: 1 Device Index : USB1 USB Bus Number : 001 USB Address Number : 002 Product ID : DFU in HS Mode @Device ID /
Hi,The display is always on with the eval-board. I would like to know how to let it off.Kernel Version : openstlinux-5.10-dunfell-mp1-21-03-31Best Regards,Sun
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.