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 everyone,I made a yocto based build using stm32mp1. After compiling, I followed these steps: I created 5 different partitions in the SD card. These are as follows. I uploaded the following files to the partitions I created, respectively.sudo dd if=arm-trusted-firmware/tf-a-stm32mp157d-dk1-sdcard.stm32 of=/dev/sdb1sudo dd if=arm-trusted-firmware/tf-a-stm32mp157d-dk1-sdcard.stm32 of=/dev/sdb2sudo dd if=fip/fip-stm32mp157d-dk1-fastboot-sdcard.bin of=/dev/sdb3sudo dd if=st-image-bootfs-poky-stm32mp1.ext4 of=/dev/sdb4 bs=1Msudo dd if=core-image-minimal-stm32mp1.ext4 of=/dev/sdb5 bs=1MLater, when I connect to the DK1 board, I get the following error.When I examine the Flash layout files, I think it does this because it cannot find the FWU_MDATA files. But I don't know the size of the partitions I allocated for FWU_DATA and what type they will be (Linux file system or microsoft basic data). Can you help me with this? Which partitions are missing and what should their file typ
Hello,How to clean all demo applications from OpenSTLinux, which came with the starter-package?
Hello,I am currently working on a project with the STM32MP131FA.We are testing various peripherals and modules on our board.When creating a project with STM32CubeMX, we encounter some issues. Therefore, we sometimes download and test DK examples on our board for comparison.For instance, we have successfully tested DDR initialization by modifying the PMIC I2C part.However, when running the USB example UX_Device_CDC_ACM, it does not work correctly at the Vector table.Could you help identify where I might need to make modifications?void Vectors(void) {__asm__ volatile(".align 7 \n""LDR PC, =Reset_Handler \n""LDR PC, =Undef_Handler \n""LDR PC, =SVC_Handler \n""LDR PC, =PAbt_Handler \n""LDR PC, =DAbt_Handler \n""LDR PC, =Rsvd_Handler \n""LDR PC, =IRQ_Handler \n""LDR PC, =FIQ_Handler \n");
Hello all,I'm working with STM32MP135F-DK board and GC2145 camera that comes with it. My main purpose is to get the image and save it. I tried to use the following documents for this:https://wiki.st.com/stm32mpu/wiki/STM32MP13_V4L2_camera_overview#Grab_a_raw_framehttps://www.st.com/resource/en/application_note/an5478-stm32mp13x-lines-interfacing-with-a-mipi-csi2-camera-stmicroelectronics.pdfI didn't know how to do the "3.1-kernel configuration" step in the first link. So I followed the links below:https://wiki.st.com/stm32mpu/wiki/Menuconfig_or_how_to_configure_kernelAfter this link, I went to the following link:https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_PackageAfter installing some packages here, I went back to the "menuconfig-how to configure kernel" link, and here I got stuck on the following step:I have the specified files but I don't know in which directory I should run the make config or make menuconfig commands.To be honest, I am new to embedded Linux and my ma
HiI have the same problem as described in the topic below:https://community.st.com/t5/stm32-mpus-products/usb-composite-in-stm32mp157c/td-p/142734I tried the solution from the above link. I see that I can set up several USB gadget devices, like NCM Ethernet + multiple ACM serial. But it doesn't work, e.g. I can set the 'usb0' interface link to 'up' and set the IP address to it, but I can't ping it from my laptop. At the same time, I can ping it when I have ONLY NCM Ethernet (without ACM devices).The same situation with ACM devices, it works only if I have only one. If I have more than one USB gadget device (at least 2), serial port either is always busy or transfer works only in one side (from device to laptop).I'm working on STM32MP135 Discovery kit (STM32MP135F-DK) with mickledore yocto provided by ST (https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package).My otg config:usbotg_hs: usb@49000000 {compatible = "st,stm32mp15-hsotg", "snps,dwc2";reg = <0x49000000 0x40000
Hi everyone, I have been trying to get Docker running on the STM32MP135F-DK for quite some time now and have been running into some issues. I originally built an image for the STM32MP135F-DK with the Mickledore release by following this tutorial: Link. However, I kept running into issues trying to get Docker to run correctly. I was able to create an image successfully and install Docker-CE, however it seems the meta-virtualization layer is no longer supported for Mickledore so getting Docker to run correctly with Mickledore does not seem to be possible anymore. I can install Docker-CE and run docker commands, however starting the Docker "hello-world" container I get an error saying "ERROR: http: invalid Host header" after downloading the container. I know we have configured the kernel correctly (we have created images with the Dunfell branch on the STM32MP157 series and got docker to run containers correctly) so I do not think that is the issue. I saw that Kirkstone was still
Dear All,I want to add some packages like zip, nmap, net-snmp, gdb and apache2 to default package.Could you guide how to add some packages to default package to build kernel?
Will you also review the newly designed stm32mp157 artwork file?
os: Ubuntu (wsl)I am trying to follow the steps as below:https://wiki.st.com/stm32mpu/wiki/STM32MP15_Discovery_kits_-_Starter_Package#Installing_the_toolsHowever, step 6.2 Image flashing cannot be completed.When I entered the command below, it iterated only for the tf-a-stm32mp157c-dk2-usb.stm32 file.Here are printed messages.root@jesong:/home/STM32MP157C-DK2/STM32MPU_workspace/STM32MP1-Ecosystem-v5.0.0/Starter-Package/stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21/images/stm32mp1# STM32_Programmer_CLI -c port=usb1 -w flashlayout_st-image-weston/optee/FlashLayout_sdcard_stm32mp157c-dk2-optee.tsv-------------------------------------------------------------------STM32CubeProgrammer v2.16.0-------------------------------------------------------------------USB speed : High Speed (480MBit/s)Manuf. ID : STMicroelectronicsProduct ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000SN : 0049002E3338510939303435DFU protocol: 1.1Board : --Device ID : 0x0500Device name : STM3
Hi,Since Ecosystem 5 OP_TEE is mandatory.We have previously used SP_MIN which is not supported anymore.The change from SP_MIN to OP_TEE costs us approximately an extra second in boot time, we need to limit this as much as possible.I came across in the wiki here - "STMicroelectronics provides OP-TEE support that also embeds a secure monitor on Armv7. It can be replaced with a trusted OS or another trusted environment execution (TEE).".I was wondering, is it possible to change OP-TEE to a different lighter vendor? If so, is there a document describing the steps necessary?Thanks in advance
Hi, "I'm using an STM32MP157F-DK2. I'm struggling with the serial connection between my Linux host and my target board (STM32MP157). I'm using the command 'minicom -D /dev/ttyACM0', but I've been waiting for more than 2 hours for the connection to be established, yet it's still not connected.What can I do to connect to the target device?"
hello@SL2 I am configuring with QuadSPI Dual and encountering an issue where it remains in a busy state and does not resolve.The circuit is not properly connected yet, so I am currently only testing the pin output.I want to output to Bank2 IO. I initialized it as follows: static void MX_QUADSPI_Init(void){ hxspi.Instance = QUADSPI;hxspi.Init.ClockPrescaler = 255;hxspi.Init.FifoThresholdByte = 1;hxspi.Init.SampleShifting = XSPI_SAMPLE_SHIFTING_NONE;hxspi.Init.MemorySize = 0;hxspi.Init.ChipSelectHighTimeCycle = 1;//XSPI_CS_HIGH_TIME_1_CYCLE;hxspi.Init.ClockMode = XSPI_CLOCK_MODE_3;hxspi.Init.MemoryMode = HAL_XSPI_DUAL_MEM;//XSPI_DUALFLASH_ENABLE;if (HAL_XSPI_Init(&hxspi) != HAL_OK){Error_Handler();} } XSPI_ResetChip();HAL_Delay(2);XSPI_AutoPollingMemReady();XSPI_WriteEnable();HAL_XSPI_Command(&hxspi, &sCommand, HAL_XSPI_TIMEOUT_DEFAULT_VALUE);XSPI_Configuration();XSPI_AutoPollingMemReady(); while (1){  
Dear STM32 Forum Community, I am currently working with the STM32MP157F-DK2 development kit and have encountered an issue while trying to run a QT project that includes graphical elements. Issue Description: When attempting to execute the QT project, I receive the following error: root@stm32mp1:/usr/local# ./demo_current_project./demo_current_project: error while loading shared libraries: libQt5Charts.so.5: cannot open shared object file: No such file or directory Steps Taken: Successfully ran QT projects without graphical components. Ensured that all necessary QT libraries are installed on the system. I have followed https://wiki.st.com/stm32mpu/wiki/How_to_build_and_use_an_SDK_for_QT for QT Implemetation Despite these efforts, the problem persists. I suspect that there might be an issue related to the library path or an incomplete library installation. Request: Could anyone provide guidance or suggest steps to resolve this issue? Specifically, I need assistance with: Confirming th
Hello, I create new STM32 project for STM32MP131AAG3 with baremetal. I encounter the following errors when to build the codes of DMA generated by STM32CubeMX.undefined reference to `HAL_NVIC_SetPriority'undefined reference to `HAL_NVIC_EnableIRQ'static void MX_DMA_Init(void){ /* DMA controller clock enable */ __HAL_RCC_DMAMUX1_CLK_ENABLE(); __HAL_RCC_DMA2_CLK_ENABLE(); /* DMA interrupt init */ /* DMA2_Stream1_IRQn interrupt configuration */ HAL_NVIC_SetPriority(DMA2_Stream1_IRQn, 0, 0); HAL_NVIC_EnableIRQ(DMA2_Stream1_IRQn);}I fixed the code as follows.static void MX_DMA_Init(void){ /* DMA controller clock enable */ __HAL_RCC_DMAMUX1_CLK_ENABLE(); __HAL_RCC_DMA2_CLK_ENABLE(); /* DMA interrupt init */ /* DMA2_Stream1_IRQn interrupt configuration */ IRQ_SetPriority(DMA2_Stream1_IRQn, 0); IRQ_Enable(DMA2_Stream1_IRQn);}Is this bug? Or is there possibility that I took mistake MX settings or else?I
hello my board usb stm32mp135faf7 cpu. and the display part change to hdmi (refer to stm32mp157c-dk discovery kit,sii9022). as demesg bellow.but I down know how to display a picture on my TV screen(to test the hdmi can worky)log:# echo 6 > /sys/module/drm/parameters/debug### dmesg[ 868.768386] stm32-display 5a001000.display-controller: [drm:check_connector_changed] [CONNECTOR:32:HDMI-A-1] status updated from disconnected to connected[ 868.768467] stm32-display 5a001000.display-controller: [drm:check_connector_changed] [CONNECTOR:32:HDMI-A-1] Changed epoch counter 6 => 7[ 868.768509] stm32-display 5a001000.display-controller: [drm:drm_sysfs_connector_hotplug_event] [CONNECTOR:32:HDMI-A-1] generating connector hotplug event[ 868.768665] stm32-display 5a001000.display-controller: [drm:drm_fb_helper_hotplug_event][ 868.768700] [drm:drm_client_modeset_probe][ 868.768732] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1][ 868.785066] [drm:update_display_info]
Hi, We have a custom board based on the STM32MP151C CPU and we found that after migration to stm32mpu-ecosystem-v4 (linux-stm32mp 5.15) provided by the meta-st-stm32mp yocto layer (langdale) there are some errors during MMC writing procedure:[ 3358.815661] blk_update_request: I/O error, dev mmcblk0, sector 1199146 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0 [ 3358.815720] EXT4-fs warning (device mmcblk0p12): ext4_end_bio:342: I/O error 10 writing to inode 229382 starting block 599574) [ 3358.815754] Buffer I/O error on device mmcblk0p12, logical block 15893We observe the same behavior on all of our boards, so we have eliminated MMC corruption. The fsck.ext4 doesn't help and the errors still occur.In the previous ecosystem based on linux-stm32mp 5.10 everything was fine and we've never noticed any problems with MMC.Have you faced such an error and know any solution for it? How should we proceed with it?Thank you in advance
I think my problem is almost same with jlrstm's one. https://community.st.com/t5/stm32cubeprogrammer-mpus/stm32cubeprogrammerlauncher-won-t-launch-on-ubuntu-machine/td-p/665195 but I cannot get a solution about it. I have a STM32MP157C-DK2 board. please help me. root@jesong:/usr/local/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin# ./STM32CubeProgrammer./STM32CubeProgrammer: line 4: cd: /usr/local/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin : No such file or directoryException in thread "main" java.lang.reflect.InvocationTargetExceptionat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:498)at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:893)Caused by: java.lang.UnsupportedOperationException: Internal Errorat c
See debug out for details.CA7 : Forward efd info for buf7 with mFdSdbRpmsg:7 and efd:15CA7 : DBG mmappedData[7]:0xb4d00000CM4 : SDB0_RxCpltCallback: B7Ae8800000L00100000CM4 : treatSDBEvent OK physAddr=0xe8800000 physSize=1048576 mArrayDdrBuffCount=7According to the reference manual this area is only accessible by the A7 (DDR Extension).I am using the /dev/rpmg-sdb driver to map the memory.How do I get mmap to map in the proper space? Not sure why it is mapping in the upper range of DDR.I have been using the logic analyzer example.
HelloWe are Working on a custom board with STM32MP157AAA3 processor.We are using uboot(V2023.10) for checking USB 2nd Port.we referred the below link to configure the dts :https://wiki.st.com/stm32mpu/wiki/USBPHYC_device_tree_configuration We are using the same dts configuration in uboot(V2023.10) and linux(V5.13),It works in linux but not in uboot.We are attaching the dts file below.Hope you could refer and suggest us where we are going wrong. Thanks&RegardsSrikanth.R
Hi,allI noticed that the ethernet driver stm32mp13xx_hal_eth.c in the STM32CubeMP13_V1.1.0 already supports PTP, When will STM32CubeMP2 package be available, and since the STM32MP2 series supports TSN, whether EST(IEEE 802.1Qbv) and FPE(IEEE802.1Qbu) functions are supported in the driver? @MWB_CHa ,I see that PTP function is added by you, so do you know the relevant information?
Hello,I am working on a schematic for the STM32MP257FAI3 and the documentation seems to be inconsistent and/or incomplete regarding which ports go where with the built-in Ethernet switch. The data sheet says ETHSW has three ports in which the "The third port is connected internally to the ETH1 controller". This implies that ETH2 and ETH3 are the external RGMII interfaces.The "Getting Started with ... Hardware Development" guide says "ETH1 is either ETH1 direct or ETHSW port2" (it is unstated, but combined with the data sheet this would be an internal connection), and ETH3 there is a note "ETH3 is ETHSW port1". There is no such note for ETH2, so this omission implies that ETH2 is not connected to ETHSW (or perhaps it is connected through STNoC??). The block diagram in the data sheet also matches this notion.In any case, it would be very helpful if there was a table that show what is connected to what when ETHSW is enabled. At this point I need to know what pins t
Dear All, I have been working on communicating with LCD module by 3 wire, 9bits SPI. Firstly I implemented it by gpio. I can communicated with LCD module by 3 wire, 9bits SPI. But we encounter problem in total time in sending pixel data by SPI. We're using 320X240 LCD. It takes around 18 seconds to transfer all pixel data to LCD module. Therefore I need to find another way to reduce time in communicating with LCD module. We think that SPI driver will be faster than using GPIO. But I wonder how to send each data in 9 bits. If anyone have experience about SPI 9 bits, please advise.
I have been working with the Secure boot and OPTEE integration in my Custom board. All the repositories are maintained in kirkstone and I don't want to switch them to scarthgap yet. OPTEE works fine with non-secure system when trusted boot is disabled; everything works fine.But when Trusted boot is enabled the size of BL2 increases by 20KB in the sysram and due to this reason the BL32 (OPTEE) when loaded in the sysram Panics the system because it doesn't find enough room to reside itself in the sysram.Here are the error logs. INFO: Memory size = 0x40000000 (1024 MB) INFO: DFU USB START... INFO: phase ID :3, Manifestation 3 at c717a63b INFO: Send detach request INFO: Receive DFU Detach INFO: DFU USB STOP... INFO: BL2: Loading image id 1 INFO: Loading image id=1 at address 0x2ffff000 INFO: Image id=1 loaded: 0x2ffff000 - 0x2ffff1fa INFO: FCONF: Reading FW_CONFIG firmware configuration file from: 0x2ffff000 INFO: FCONF: Reading firmware configuration information for: dyn_cfg INFO: FC
drivers/firmware/arm_scmi/optee.c:202:32: error: ‘TEE_OCALL2_OUT_PARAM1_ERROR’ undeclared here (not in a function) 202 | PTA_SCMI_OCALL_ERROR = TEE_OCALL2_OUT_PARAM1_ERROR, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~drivers/firmware/arm_scmi/optee.c:228:31: error: field ‘ocall_arg’ has incomplete type 228 | struct tee_ocall2_arg ocall_arg;drivers/firmware/arm_scmi/optee.c: In function ‘setup_ocall_thread’:drivers/firmware/arm_scmi/optee.c:518:38: error: ‘TEE_OCALL2_ARG_INIT’ undeclared (first use in this function) 518 | .ocall_arg = TEE_OCALL2_ARG_INIT, I checked that the corresponding optee.c file does not declare t
Hi, I'm trying to change the value of the register RCC_RDLSICR (RCC reset duration and LSI control register, address offset 0x144). I need to change the Minimum Reset Duration value.In all power management/low power handling manuals for STM32MP15x lines the documentation says that you can change the registers value, but I can't find HOW I can achieve that. I can write them in dts? inside u-boot? please I need clarifications about that. NOTE: I'm using a custom STM32MP153 board with OpenSTLinux distribution on it. Thanks a lot
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.