Get ready for the STM32 Summit 2026 | Online, November 3
Join conversations with your peers and ST experts. Explore the full potential of STM32 microprocessors for your embedded design.
Most recent activity
Hi,I have an STM32MP135F-DK board and I would like to know if to follow the steps in the video below I just need to install STM32CubeIDE on a computer running Linux or if I need to install something first?https://www.youtube.com/watch?v=qEzfqKt3exEFor example, is it necessary to follow the steps corresponding to the links below first, or does the STM32CubeIDE installation itself and the sequence of steps in the video already do this?https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP135x-DK/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Install_the_SDKhttps://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP135x-DK/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Create_a_simple_hello-world_applicationThanks, Ari
Hi, Since the STM32CubeIDE "Target status widget" for some reason isn't receiving the IP address of my STM32MP135F-DK board, I want to try creating a new SSH connection manually. Could someone please tell me how to configure the dialog box below: Do I also need to change the settings in the dialog box below?
Using board based on stm32mp135f MPU, my goal is to configure a GPIO pin (let's say PD0, already freed from using with CAN) as a simple GPIO Output, active-high, with pull-up.I read following ST Wiki entires:- Overview of GPIO pins,- GPIOLib overview,- How_to_control_a_GPIO_in_userspace, - How_to_control_a_GPIO_in_kernel_space, - GPIO_device_tree_configurationand additionally this FAQ: faq-stm32mp1-how-to-get-initialized-a-generic-gpio-to-control This pin is free, so it can be set with gpioset command. But this holds the configuration only as long as the gpioset process is active in Linux, which is bad. And the configuration is not active when Linux boots.Following this FAQ I have written a dummy device driver:#include <linux/module.h> #include <linux/of_device.h> #include <linux/kernel.h> #include <linux/delay.h> #include <linux/gpio/consumer.h> #include <linux/platform_device.h> static int gpio_init_probe(struct
Hello,We have a custom board based mainly on stm32mp257-dk design. The sdcard supply voltage doesn't activate on STPMIC for some reason. Is the stpmic preprogrammed on the DK board or should the Rom code of the MPU activate it via I2C? Best RegardsRaimo
I understand that the STMCube environment doesn't function as a BSDL (Boundary Test) tool. Can anyone suggest a free tool that is compatible with the ST-LINK-V3SET?Keysight, Corsair, XJTAG are out of my rangeMy application is gather tools for board bring-up for our STM32MP255F prototype PCB.Thank you.
Following the instructions at https://wiki.st.com/stm32mpu/wiki/How_to_start_the_Cortex-M_coprocessor_from_U-Boot#Manual_start I try to load and run an M33 app from U-Boot.Within the U-Boot console I managed to load the elf file from the boot partition. But I can't load the file to the M33 coprocessor using rproc.rproc is available in the console, but doesn't show any coprocessor:STM32MP> rproc init Remote Processors are already initialized STM32MP> rproc list STM32MP> My board is from MYIR with an stm32mp257D MPU on it using:- I/TC: OP-TEE version: 3.9.0-3162-g355cb55d2 (gcc version 12.3.0 (GCC)) #1 Fri Nov 1 10:58:57 UTC 2024 aarc- U-Boot 2022.10-stm32mp-r2 (Nov 07 2024 - 02:59:13 +0000)CPU: STM32MP257DAL Rev.YModel: MYiR STM32MP257F Evaluation BoardBoard: stm32mp2 (myir,myb-stm32mp257x-2GB)DRAM: 2 GiBoptee optee: OP-TEE: revision 3.19 (355cb55d)Core: 416 devices, 38 uclasses, devicetree: boardU-Boot config has COPROC settings:CONFIG_REMOTEPROC=Y C
Hi,I'm just getting started with C programming for embedded Linux using the STM32MP13x. My applications are mostly IoT applications.I'd like to know which IDE is best for beginners, between STM32CubeIDE and Visual Studio Code.And where can I get information on how to configure these IDEs to compile and debug user-space C applications remotely?Ari
HelloWe are using the STM32MP257F in M33TDCID flavour using the packagestm32mp2-m33td-openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11We can boot and run the Non Secure application, but when we try to use some of the peripherals (I2C, SPI, GPIO)we see processor exceptions or Resource Manager issues.How do we configure the device to allow the Non-Secure application access to all the peripherals Thanks
I'm currently working with an IMX219 camera sensor connected to the STM32MP257-EV1 board. The camera is successfully streaming, and the pipeline appears correctly configured through media-ctl. However, I’m unable to use the dcmipp-isp-ctrl tool at runtime for ISP control.System Info:Board: STM32MP257-EV1Sensor: IMX219ISP Tool: /usr/local/demo/bin/dcmipp-isp-ctrlKernel & Yocto BSP: scarthgapMedia-ctl Output:Camera is streaming properly; format and pipeline are configured as expected.root@stm32mp25-eval-e3-e7-ad:~# media-ctl -d /dev/media2 -pMedia controller API version 6.6.78 Media device information------------------------driver dcmippmodel DCMIPP MDEVserial bus info platform:48030000.dcmipphw revision 0x30driver version 6.6.78 Device topology- entity 1: dcmipp_input (4 pads, 5 links, 0 routes) &nb
Hi,The bootfs firmware compiled from the Yocto environment I am using is a symbolic link. Every time the STM32CubeProgrammer software downloads this firmware, it exits directly.I am certain that the firmware itself is fine. If I directly modify the bootfs firmware to the file pointed to by the symlink, it can be downloaded.I don't know if the behavior of generating symlinks is controlled by ST or Yocto.How can I avoid this problem? Environment info: Ubuntu 24.04.2 LTS on WSL2: Yocto, branch: scarthgap, commit 792d18b4cb2451b00280641403e6eaf37bd6e53f meta-st-stm32mp, tag: openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11 meta-st-openstlinux, tag: openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11 Windows 11: STM32CubeProgrammer v2.20.0 ThanksDunliang
Hello all,I'm new with STM32MP157F-Disco board. So maybe i do something wrong, but i cant find a solution. I use CubeIDE_1.18.0 with packages STM32Cube_FW_MP1_V1.7.0. When i start a new project with the board selector, STM32MP157FAC1. Then it will make a new project and you can build that project. When i add FreeRTOS for CM4 and change the Timmer to TIMX and the SYS to that timer and i build the project, it says ;fatal error: freertos_mpool.h: No such file or directory.Why does it not include the: freertos_mpool.h ? Because it is in the STM32Cube_FW_MP1_V1.7.0 in the correct location, but CubeIDE does not copy it to the project for some reason.Also when i change in FreeRTOS ->advanced settings -> USE_NEWLIB_REENTRANT to Enable. It says it can't find newlib-freertos.h: instead of reent.h is this a bug, does any one ells has this problem.I have the same problem on different computers(Windows and linux).I hope someone can help me with this problem.I you need
Hi,I followed the steps in the link below, minus "populate target," but I was able to successfully compile, transfer, and run the C example.https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP135x-DKI also managed to create and compile an OpenSTLinux C project for the STM32MP135F-DK board using STM32CubeIDE.Now I'm having trouble debugging the code.My STM32MP135F-DK board has Ethernet working, and I can communicate with it using SSH. The STLINK interface of the Ubuntu host PC is working. I can use it to load MCU firmware onto a Nucleo board. The STlink serial port is also working, as I can connect to the board using the Minicon terminal and execute commands as shown in the link below:https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP135x-DK/Let%27s_start/Execute_basic_commandsThe difference in relation to the link is in the item: "Printing distribution specific information", which for my board shows: BB_VERSION = 2.0.0BUILD_SYS = x86_64-
Hello,I am working with a SOM based on the STM32MP157C and I am trying to bring up a display panel that uses the Sitronix ST7703 MIPI DSI controller.The operating system has been built with Yocto using the BSP provided by the SOM vendor. This BSP is based on Linux kernel 5.4, which unfortunately does not contain the upstream panel-sitronix-st7703 driver.Has anyone already backported the ST7703 panel driver to Linux 5.4 for STM32MP1 platforms? Or does anyone have guidance on how to integrate this driver into an older kernel version?Any hints, patches, or references would be greatly appreciated.Thank you in advance!
Hi,I'm trying to get ADC working on ST32MP257F-DK board. There is no example in ST's sw-package and the example for ST32MP257F-EV1 board fails in HAL_ADC_Init -function giving error messages:stm32_serc_handle_ilac:134 SERC exceptions [63:32]: 0x8000000stm32_serc_handle_ilac:140 SERC exception ID: 59Can somebody help, what is the difference between these boards with ADC? (And why there is no ADC example for ST32MP257F-DK?)
Hello.We are developing a device with the STM32MP257 and we will not have a USB Type-C connector in our design. We plan to use the USB3DR as a USB2.0 device with a USB 2.0 connector to USB boot (USB boot for flashing). Does the STM32MP2 embedded bootloader uses the UCPD CCx signals?How can we inform the USB3DR about detection of the USB VBUS?Is is possible to emulate UCPD CCx signals (sink mode) from the USB VBUS as a variant of detecting the incoming USB power?Best regards,Vadim Aleynikov
On DK2, ADC is used to measure the voltage on cc lines, how to skipcan u give me the yocto steps to follow on commenting the following line in uBoot Device Tree:do u have to create a new layer or can we edit the patch file in the uboot device tree and build it.
Can someone suggest me a best gui application as i am using stm32mp157d-dk1
"is there possibility we can auto mount a usb when connected to usb host and how to build the udev-extraconf package for my stm32mp157f-dk2" how to build this please give the steps to build for my stm32mp157f-dk2 as i want my pendrive to mount automatically /home/sharan/STM32MPU/Distribution-Package/layers/openembedded-core/meta/recipes-core/udev/udev-extraconf
Hi,During the integration of FreeRTOS using STM32CubeMX on the STM32MP157F-DK2 platform, the initial compilation fails. In my experience with other ST microcontrollers, the initial build after adding FreeRTOS generally completes successfully without requiring manual intervention. However, this behavior is not consistent with the STM32MP157F-DK2.The build process reports missing files such as cmsis_os2.h, freertos_mpool.h and freertos_os2.h. Even after manually adding these files, additional compilation errors continue to arise, indicating deeper integration issues.I would appreciate any suggestions or insights into what might be going wrong in this process.Software Version:STM32CubeIDE ==> 1.18.0STM32CubeMX ==> 6.14.0Here are few screenshots suggesting the same.
I am trying to get the TTY echo example running on my discovery kit. Everything seems to go fine until I get to the point of starting the debugger. When I click the debug button nothing happens. I am running the IDE in Windows 10 if that matters. I am a hardware guy and I don't have a Linux box to use. More info: When I do the build it finishes with 0 errors and warnings but does say that the build might be incomplete.
I have had difficulties programming the STM32MP257 via stm32cubeide. I followed the first few steps to flash an OS image onto the board using the section populate and boot the image, from the STM website. When trying to flash IOC generated code via stm32 cube ide It gives me an ethernet over usb error if I have just the ST-LINK connected, but when I connect to the DFU usb, it seems like it will flash for a moment and throws this remoteproc error. I think it may be a secure boot issue with the stlinux, but im not sure how to get around this or what options I have.
Dear All,I'm having problem to get DFU over USB running on custom board.In general device can boot from SD card and with no SD card it can be detected via uart4 by STM programmer, so it enters DFU as far as I can tell.USB DP/DM is connected to DP2 (being pulled-up to ~3.3V) and DM2 (looks like a weak pull down). OTG_ID (PA10) hangs free and OTG_VBUS (U15) hangs free.3V3_USBHF+FS connected to LDO4 and present (3.3V)EDIT: 24Mhz xtal present, no 22Ohm series resistors and also removed all esd protection at this moment...Nothing happens on the USB lines when I connect the cable to the PC and the device is not detected. The voltage on the OTG_ID pin is LOW - which is strange, as is should be pulled up theoretically. Connecting OTG_VBUS (PA10) pin to VBUS from the connector does not change anything, that is - no detection, no communication, looks like my device behaves like a host.I could not find any reference design for USB connection, but I really thought it is so simple. Any suggestions
Hello Experts,Based on STM32MP257F-EV1 we have designed a custom board. For the DDR, PMIC, and eMMC we tried to follow the EV1 rooting as much as possible. There are few differences on the BOM though: Our DDR chips are Alliance Memory AS4C1G16D4A-62BCNOur eMMC is a Kingston EMMC32G-TS0A-01002We have build an image that can be flashed into the EV1's eMMC without any issues. Things go differently when we try to flash our 2 prototypes. The first prototype stops after having properly downloaded the partition 0x3 fip-stm32mp257f:12:15:04 : Number of partitions: 14 12:15:29 : USB speed : High Speed (480MBit/s) 12:15:29 : Manuf. ID : STMicroelectronics 12:15:29 : Product ID : DFU in HS Mode @Device ID /0x505, @Revision ID /0x2000 12:15:29 : SN : 0029002A4C4250110038344D 12:15:29 : DFU protocol: 1.1 12:15:29 : Board : -- 12:15:29 : Device ID : 0x0505 12:15:36 : Start Embedded Flashing service 12:15:36 : Opening and parsing file: tf-a-stm32mp257f-tablet-mx-optee-progra
Hello,I am testing a custom board based on STM32MP257FAK3 with two DDR4 MT40A1G16RC-062E_B devices, for a total of 4 GB (32-bit width).I have correctly set up the main configuration files to work with the PMIC and UART. I also exported the PCB layout of the Ax pins using CubeMX and re-imported them into the DDR configuration file. The .stm32 image is successfully generated and uploaded through CubeProgrammer. I can also access the console and successfully complete steps 0 and 1.However, when reaching step 2, the initialization fails.After some investigation, it seems that the failure occurs during training after the PHY configuration, specifically in the function: ddrphy_phyinit_usercustom_g_waitfwdone()At this point, the call to get_major_message() always returns 0xFF, which causes the program to enter the failed state.My questions are:Could this be related to incorrect training values not being properly written into the RAM?Or is it more likely that the PHY is not synchron
Hello, I am working with the STM32MP135F-DK development board and trying to interface the onboard GC2145 camera with the STMIPID02 MIPI-to-parallel bridge. The goal is to convert the camera's MIPI output to parallel data, which is then received by the DCMIPP peripheral.During debugging, I encountered a strange issue: after each power-on reset, there is only about a 10% chance that the system successfully receives continuous image frames. In the remaining 90% of cases, the DCMIPP does not receive any image data at all.I conducted further investigation and found that in the failure cases, the VSYNC signal output from the STMIPID02 goes high only once at startup and then remains constantly high. However, the HSYNC, PCLK, and DATA signals appear to be in the same state as during normal operation. Additionally, the STMIPID02’s ERROR signal remains low (indicating no error), and the INT signal stays high (indicating an interrupt condition).Given this situation, I would like to ask what could
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.