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
Hello, I enabled the generation of debug filesystem by adding two variables in file build-openstlinuxweston-stm32mp15-disco/conf/local.conf as shown below to use with GDB. This step is also mentioned in Yocto documentation (Link: https://docs.yoctoproject.org/dev/dev-manual/debugging.html#using-the-gdbserver-method ). IMAGE_GEN_DEBUGFS = "1" IMAGE_FSTYPES_DEBUGFS = "tar.bz2" When this option is enabled I get below dependency(?) error, Does anyone know how to fix this?Additional information:Target HW : STM32MP157F-DK2Target image : st-image-westonThanks,
Hello, I have stm32mp135f-DK board also gc2145 camera which works perfectly finebut when ı connect Raspberry pi camera module v2it does not appear with v4l2-ctl --list-devices So I wonder is it possible to use that camera with modifying linux kernel device tree etc or is it's just impossible ?
Hi @STTwo-32 ,can i use STM32MP157F-DK2 for Lora gateway, and i have found this link How to integrate LoRaWAN gateway - stm32mpu-ecosystem-v3, have anyone succeeded setting up LoRa gateway using STM32MP157F-DK2 or is there any other MPU used for LoRa gateway.Best Regards.Nasi
Hello STM Community,I am considering using the STM32MP157F-DK2 as a platform for a LoRa gateway and am curious to know if anyone here has experience with this setup. Specifically, I am interested in integrating the following features and would appreciate any insights or advice:Wireless Connectivity:Wi-FiBluetooth Low Energy (BLE)GSMCloud Integration:Azure IoT EdgeLoRa Communication:LoRa Basic ModemSupport for AU915 MHz and IN865 MHz bandsSX1302/03 transceiverSecurity and Logging:IoT DefenderSD card loggingInterfaces:SPIUARTI have seen some congratulatory notes about LoRa gateways in the community and would like to know if anyone has specifically used the STM32MP157F-DK2 for such a project. Additionally, I am seeking support for potential blockages during the setup process.For more information, here is a configuration setup link I found: How to integrate LoRaWAN gateway.If anyone has implemented similar features on a LoRa gateway using this development kit, I would greatly appreci
I have tried to build my own OpenSTLinux by using the SDK and the sources, without sucess. I have been trying to compile for 2 weeks from now and I'm not very pleased over the wiki of ST32MP.Anyway. I have to show a bug. I cannot build an OpenSTLinux Project inside STM32CubeIDE.I first created a project for my STM32MP1 processor, then I tried to attach the SDK with the STM32CubeIDE. But it did not work well.I have STM32CubeIDE 1.16.0 and Lubuntu 22.04 and the latest SDK. So what I'm looking for, is some way to compile the kernel, TF-A, Optee and U-boot with STM32CubeIDE. If it's possible. Or else....it's impossible to follow the wiki of STM32MP. How to install the Yocto Project SDK in STM32CubeIDE - stm32mpuThis is my goal: How to manage OpenSTLinux projects in STM32CubeIDE - stm32mpu
Hello,Is it possible to drive two independent LCD screens from one e.g. STM32MP157? I know it has LTDC controller and also is having MIPI® DSI but I was wondering if it can run them together (no overlapping pins)?I want to make a product that will have one display (non touch), maybe for video output 720p - non touch; and one smaller screen 480p with touch to serve as digital buttons.
hi i successfully connecting wifi on STM32mp157f-DK2 board through IPhone but the when i pass the command "# ping google.com " then it show temporary failure in name resolution , and also dhcp command not found why this is happen. please reach me out As soon as possible
Interrupt Frequency Limit of M4 core and A7 core,where can i find its infomation? and is there some Testing Method?
Hi all,On my Ubuntu 20.04 computer with newly installed STM32CubeProgrammer, I cannot launch the STM32CubeProgrammer v2.17.0 using either the launcher or the programmer using command line. Not sure if it is a graphics card/driver compatibility issue. The PC has a RTX3080Ti with 550.54.15 driver and CUDA Version: 12.4.Could you please assist.Thanks. /home/vunguyen/ST/STM32CubeProgrammer/bin 2024-07-24 20:47:19,481 JavaFX Application Thread ERROR Unable to locate appender "csvFile" for logger config "com.st.mtt" Loading PRG Library: /home/vunguyen/ST/STM32CubeProgrammer/bin/../lib/libCubeProgrammer_API.so [Analytics] No requests are done with CLI [Analytics] No requests are done with CLI 95 external Loader list /home/vunguyen/ST/STM32CubeProgrammer/bin java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodA
I have made my own STM32MP1 board with the STM32MP151AAC3 processor. Right now I'm faceing issues with the software STM32CubeProgrammer and I don't know why this happens.My goal is to flash the eMMC via the UBS OTG. I have SDIO2 as eMMC by the way.What we can see here is that:The STM32CubeProgrammer regonize the STM32MP1 processor and its nameThe USB OTG of the STM32MP1 processor is workingI'm using the OpenSTLinux for STM32MP157 processor because it's the only one that are avaiable as Starter Package . It's only a minor difference between STM32MP151, STM32MP153(CAN FD) and STM32MP157(CAN FD + DSI)The flashing fails on 0x1 fsbl-bootThe STM32CubeProgrammer can recognize the partisions when I connect via USB OTGSo the question is simple:Why does STM32CubeProgrammer get timeout? The full log can be found here: https://pastebin.com/q9GttMiR 00:57:35:752 : UR connection mode is defined with the HWrst reset mode 00:57:35:918 : Device Descriptor: 00:57
Hi,We are using the STM32MP157CAA3 SoC in our design and are having some Ethernet issues:As we had problems sourcing the Realtek PHY from the reference design we use the microchip LAN8830T-V/PSA Ethernet PHY which should support Gigabit Ethernet.When setting booting the device and connecting an Ethernet cable we observe the following issue:1. With 10 MBit or router, the device probes and from both U-boot and Linux we can do dhcp request. But we never get an answer (no IP etc). 2. With 100 MBit or 1000 MBit speed, the linux kernel throws a panic after some time related to DMA (sometimes also the probing fails for the DMA engine).Both paths never show any data coming through the Ethernet port: (DCHP requests seem to be unanswered (don't arrive on server side) and ping also doesn't arrive. LED's remain stale (green = constant ON, orange LED = off). Bootlog during success:root@board:~# dmesg | grep eth[ 0.000000] psci: probing for conduit method from DT.[ 0.269703] usb
Hello,I am trying to do bare metal development, and the ETH uses the RGMII interface and the lwIP protocol stack. The routines I have found are mostly for M4 or M7, and the interfaces are all RMII. I tried to port lwIP from the STM32H7, but it's doesn't work. the hardware is right because the network is working when tested on the development board with Linux
I am using OSTL 4.1.1 and build DISTRO=openstlinux-weston MACHINE=stm32mp15-disco. I am using STM32MP157F-DK2. Found that rpmsg_tty build as dyanamic module. I have loaded rpmsg_tty.ko with modprobe but found that node entries are not getting created in /dev
I have built my own STM32MP15XXAC board from scratch DanielMartensson/STM32-Computer: STM32 Computer were Linux can be deployed onto (github.com)Instead of SD-card, it has eMMC. Now I want to flash the eMMC with OpenSTLinux. How can I do that with STM32CubeProgrammer?I find lack of information how to install Linux or other kind of Linux-OS onto eMMC for STM32MP15XXAC.
The power supply part of the board I made myself did not use "stpmic", but used a discrete power supply. I encountered an issue when porting OpenSTLinux (5.1.0). After modifying the power supply in the "u boot" device tree and using "STM32CubeProgrammer" to download, it kept downloading repeatedly, as shown in the following figure:I have modified these positions: under "i2c4", the "pmic: stpmic@33 All nodes have been deleted, and the following content has been added to the root node:vddcore: regulator-vddcore { compatible = "regulator-fixed";regulator-name = "vddcore";regulator-min-microvolt = <1200000>;regulator-max-microvolt = <1350000>;regulator-always-on; regulator-boot-on;}; v3v3: regulator-3p3v { compatible = "regulator-fixed"; regulator-name = "v3v3"; regulator-min-microvolt = <3300000>;
Dear,Some images are not shown on STM32 MPU OP-TEE overview and STM32MP15 OP-TEE overview.Thanks!
Hi st friends: stm32mp135f-dk bord use pmic STPMIC1D, but it is too expensive than STPMIC1A.can i replace STPMIC1D with STPMIC1A
I am using Baremetal.On my custom board, I successfully loaded the driver for the OTG USB device as a printer. When it succeeded, the code size was small, so I worked on it as a test in the SYSRAM base without any issues (I did not use USBX).However, as the code size increased, I needed to use DDR RAM. After executing the DEMO DDR INIT code, the previously successful code no longer proceeds at the following part.In the PCD INIT function, for (i = 0U; i < hpcd->Init.dev_endpoints; i++){/* Init ep structure */hpcd->IN_ep[i].is_in = 1U;hpcd->IN_ep[i].num = i;hpcd->IN_ep[i].tx_fifo_num = i;/* Control until ep is activated */hpcd->IN_ep[i].type = EP_TYPE_CTRL;hpcd->IN_ep[i].maxpacket = 0U;hpcd->IN_ep[i].xfer_buff = 0U;hpcd->IN_ep[i].xfer_len = 0U;}it does not exit the for loop and keeps running continuously. Please explain why this issue occurs.
I am using the latest OpenSTLinx (5.1.0) Linux version: 6.1.28, and it can display normally when using the official root file system (st-image-eston-openstrinux-eston-stm32mp1. ext4), as shown in the figure below. However, when I use the root file system generated by buildroot myself, it cannot display normally, and there is no output on the screen when using "echo test_ceool>/dev/tty1". Some example screens running qt5 also have no output. Is there anything to pay attention to when building a root file system using buildroot?
Hello, I have the STM32MP157-DK2 board and the GNSS2 eval board (w/Taoglas antenna) and I am trying to follow UM2909 (getting started). It seems the ST Wiki is updated past the UM2909. For example in 3.3 titled “Downloading the kernel sources (developer package)” the link the kernel sources (titled “Modify, rebuild and reload the Linux kernel” goes to a wiki page that is labeled NRND. If I start the wiki from scratch, I go to a different wiki page: https://wiki.st.com/stm32mpu/wiki/STM32MP157x-DKx_-_software_distributions The instructions on this page (going to the Yocto build) are not complete or they are different. Any help/suggestions are appreciated. If it makes sense to follow the NRND pages, I can do that - but my Linux is not as strong as I would like. I am willing to start from scratch if necessary as well but if there are any insights out there I do appreciate the help. Thank you.
Hello,I use a stm32mp135f-dk and would like to develop a Gui with gtk and also use the hardware (Uart, gpio's, etc.).I went through the “get started” https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP135x-DK in advance.When I wanted to create a new project with CubeIDE, the HAL drivers for the board are not loaded.When creating a project from an STM32MP157, the HAL drivers are loaded https://wiki.st.com/stm32mpu/wiki/How_to_debug_a_user_space_application_with_STM32CubeIDE/User_space_GTK_library_project What do I have to do to get the HAL drivers into the project and how do I flash them onto the STM32MP135x-DK?
Hello all,I'm trying to cross-compile with Developer Package,My main source was this link: https://wiki.st.com/stm32mpu/wiki/STM32MPU_Developer_PackageCurrently, above link directed me to this one:https://wiki.st.com/stm32mpu/wiki/How_to_cross-compile_with_the_Developer_PackageBut there is a problem in the instructions described in second link. I can display my menuconfig when I type make menuconfig in my Linux kernel directory, and I can go into Device Drivers - Generic Driver Options. However, "Size in Megabytes" is not visible in my Generic Driver Options, contrary to description below:Can you help me with that?Thanks.
Hi, I usb buildroot(branch: st/2023.02.2) to buid my system.I want to know how to configure to enable secure boot.if i just enable TRUSTED_BOARD_BOOT=1MBEDTLS_DIR=$(MBEDTLS_DIR)then compile error as follow make[2]: *** No rule to make target '/home/gary/test/stm32mp15/buildroot/output/build/mbedtls-2.28.2/library/aes.c', needed by '/home/gary/test/stm32mp15/buildroot/output/build/arm-trusted-firmware-hgs_test/build/stm32mp1/release/libmbedtls/aes.o'. Stop.make[2]: *** Waiting for unfinished jobs....package/pkg-generic.mk:290: recipe for target '/home/gary/test/stm32mp15/buildroot/output/build/arm-trusted-firmware-hgs_test/.stamp_built' failedmake[1]: *** [/home/gary/test/stm32mp15/buildroot/output/build/arm-trusted-firmware-hgs_test/.stamp_built] Error 2Makefile:82: recipe for target '_all' failedmake: *** [_all] Error 2
The issue I am having is BKPSRAM is not retaining the information I write to it after a power cycle. I can read and write to BKPSRAM after I set it to non-secure in optee, removed the power features in pwr_regulator, and I enabled the CLK bit. I have followed the apps notes on page 440 of the reference manual, and the backup regulator is enabled. Every time I boot it up it reads back 0x00003000, instead of what was written to it. I am trying to ultimately store a 4KB struct that needs to be non-volatile. An FAE already mentioned trying to look through TF-A source code, but I cannot find any place that would clear the BKPSRAM, I only see clk configuration when I search through it, nothing to actual do with the BKPSRAM memory itself.I am using a custom board, I have OpenSTLinux configured for this custom machine and I am using st-image-core.Thank you very much for your time.
Hello,I am trying to use I2C2 peripheral with DMA2 streams 2 (Tx) and 3 (Rx). I am also using OpenAMP to communicate with A7 core, which runs Linux.A short time after launch, a Hard Fault is triggered. I noticed this only happens when DMAs are initialized as well as OpenAMP. If I comment out one (either DMA or OpenAMP), the code works fine.Any idea why this would happen ? I suppose this might be caused by some kind of memory conflictThank you.
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.