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, According to this article, https://community.st.com/s/article/FAQ-STM32MP1-Bring-up-procedure , the devicetree files generated by STM32CubeMX are incomplete. We have created a CubeMX project for our stm32mp151c and made some modifications and generated device tree files. However, these device tree files can not be used to compile the tf-a and u-boot components with the developer package. Therefore, we have tried to follow the Lab-BringUpFromPartNumber (from the article above). However, the lab compares the bring up device trees with the mx DK2 board using the stm32mp157c. In our case, there is no board with the stm32mp151c, which means that we can't generate default device trees to compare and merge the missing nodes to our device trees. Is it possible to compare and merge our device trees (that are created for stm32mp151c) with the default device trees for the DK2 board with stm32mp157c exactly as Lab-BringUpFromPartNumber describes? If not, how should we know exactly what to add
I'm trying to rebuild the kernel as described on the wiki page. When I run make, the wiki shows unexplained choices that eventually result in an error. Is there a possible problem?(unexpected) following choices appearBest Regards
We are using Stm32mp157A .We Want to generate Interupts in Core0.For this we are using System timer Generator .We enable STGN and loaded Frequency value(STGN_CNTFID0),STGENC_CNTCV is increamenting . But we are not getting interrupts.We configure GIC registers Also.Please help in this regards.
Hi,A few weeks ago, I created a STM32CubeIDE project for STM32MP157F-DK2 where wrote my CM4 firmware. Everything went well. However, today I decided to make little changes in the code and now there are strange errors when building. IT IS NOT POSSIBLE, I HAVEN'T CHANGED ANYTHING RELATED TO THE NEW ERRORS!In file included from ../Core/Src/main.c:15: ../../Drivers/CMSIS/Include/core_cm4.h:105:8: error: #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" 105 | #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" | ^~~~~ In file included from ../Core/Src/main.c:15: ../../Drivers/CMSIS/Include/core_cm4.h:1688:39: error: unknown type name 'IRQn_Type'; did you mean 'ITM_Type'? 1688 | __STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn) | ^~~~~~~~~ | ITM_Type ../../Drivers/CMSIS/Include/core_cm4.h:1705:46: error: unknown type name 'IRQn_Type'; did you mean 'ITM_Type'? 1705 | __STATIC_INLINE uint32_t __NV
Hi everyone,I'm using STM32MP157F MPU and I'd like to set the "autosuspend" parameter. It's allocated in /sys/module/usbcore/parameters/autosuspend and its default value is 2. When I modify its value to 0 and press the reset button, it becomes 2 again. I'm following this post https://unix.stackexchange.com/questions/91027/how-to-disable-usb-autosuspend-on-kernel-3-7-10-or-above where users say to use grub, however that tool isn't available in OpenSTLinux.Any ideas about how to keep "autosuspend" parameter modified after rebooting?Thank you, Oscar
Pkg-Config is not supported by STM-IDE ,and cannot be installed. This tool really speeds up the library selection process. Perhaps somebody know any alternatives that STM-IDE does support?URL:https://marketplace.eclipse.org/content/pkg-config-support-eclipse-cdtArnas
Hi everyone,I'm not sure if the following questions depends on OpenSTLinux - drivers for example - or STM32MP1 hardware.I have the STM32MP157F MPU and I would like to integrate Bluetooth 5.0 . My main idea was to connect a Bluetooth 5.0 dongle into my MPU, but a question crossed my mind: Does any dongle work for STM32MP157F or should it have any specific feature? Until now, I had found this kind of dongles <link>, will it work?Besides, I would like to integrate another dongle, in this case a SD card dongle - as I would like to have the main SD mounted with OpenSTLinux, which occupies the SDMMC port, and a secondary SD card exclusively dedicated to storage. I have the same question, does any dongle work? This time, I had found this one <link>.I don't know if incorporating dongles is the best option to solve my problem, anyway I am open-minded to new ideas ;)Thank you,Oscar
When I don't use the .flags, i see the mode created, but my display doesn't work. I changed the ltdc register (GCR) manually to set DE and it works. When i add the .flags, no mode is created (i checked with modetest -M stm). Since i understood that this is part of a ST patch, can you please check the behaviour?Thanks
Hello,I'm searching for a yocto package which is using the USB DFU protocol in connection to a stm32 microntroller to do a fimrware update. Is there something around? Wasn't successfull on my search so far.BRNico
I am looking for STM32MP157A-DK1 and STM32MP157A-DK2 Why thouse boards is not recommended for new design? Which developer board you can recommend?@PatrickF @Community member @SEam72
I am running Eclipse IDE for C/C++ Version 2021-06. I am using multiple stm32mp157x-DK2, When they are running kernel 5.4.x I have no problems connecting to them form Eclipse IDE via ssh, if I update them to 5.10.10, suddenly I get "Algorithm negotiation fail". If I revert the kernel back to 5.4.x, everything works fine again.If i just try to ssh from linux host terminal i have no issues, but the Eclipse IDE seems to have this problem occurring with new 5.10.10 ST kernel. Has anybody have encountered similar problem? Any ides how to solve it?
Hello,we want to bring up our own board with STM32MP and ethernet phy LAN8720 (10/100 Mbps).Seems that kernel is recognizing ethernet phy on boot up and configure it with 100 Mbps Full Duplex.[ 2.907461] stm32-dwmac 5800a000.ethernet: IRQ eth_lpi not found [ 2.912172] stm32-dwmac 5800a000.ethernet: PTP uses main clock [ 2.917902] stm32-dwmac 5800a000.ethernet: no reset control found [ 2.923940] stm32-dwmac 5800a000.ethernet: No phy clock provided... [ 2.930837] stm32-dwmac 5800a000.ethernet: User ID: 0x40, Synopsys ID: 0x42 [ 2.937162] stm32-dwmac 5800a000.ethernet: DWMAC4/5 [ 2.942051] stm32-dwmac 5800a000.ethernet: DMA HW capability register supported [ 2.949371] stm32-dwmac 5800a000.ethernet: RX Checksum Offload Engine supported [ 2.956661] stm32-dwmac 5800a000.ethernet: TX Checksum insertion supported [ 2.963500] stm32-dwmac 5800a000.ethernet: Wake-Up On Lan supported [ 2.969774] stm32-dwmac 5800a000.ethernet: TSO supported [ 2.975050] stm32-dwmac 5800a000.ethernet: Enable RX Mitig
If I want to fully erase eval board STM32MP15F and then re-populate it back to its original out-of-the-box state. Is it enough to upload the flash layout from:en.FLASH-stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31.tar_v3.0\stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31\images\stm32mp1\flashlayout_st-image-weston\trustedand reboot the board? Or are there any other steps I should follow?Best regards, Arnas
I am trying to have firmware_m4_X running on M4 core, and fimware_A7_Linux, runnin on Linux and them intercommunicating via RPMSx. If I upload them separately they work fine but after board reboot I want these two images to be started automatically. The M4-firmware remote file "rproc-axujenas1-fw":Board << cd /lib/firmwareBoard >> lsBoard >> LICENCE.cypress_bcm4343 brcm regulatory.db regulatory.db.p7s rproc-axujenas1-fwPC >> cd ../linux-5.10.10/arch/arm/boot/dtsPC >> cat *f-dk2-m4-examples.dts //--//&pinctrl { m4_leds_orange_pins: m4-leds-orange-0 { pins { pinmux = <STM32_PINMUX('H', 7, RSVD)>; }; }; m4_pwm1_pins_a_ch1: m4-pwm1-0-ch1 { pins { pinmux = <STM32_PINMUX('E', 9, RSVD)>; }; };};&timers1 { status = "disabled";};&axujenas1 --my made adjustment { compatible = "st,stm32mp1-rproc"; st,auto-boot = <1>; status = "okay"; };I have named remoteproc node called : "axujenas1", so i
We are generated a code from the Cube MX and written the application its working fine in debug mode through JTAG. But we want to put it into the Sd card . For this what is the procedure and how to enable the cortex M4 controller form A7.
System windows STM32MP157F-DK2 board. The binary I can load and the device connects but it throws the above error. I can find nowhere to set any path in the software.
Hello everyone,I received my STM32MP157C-DK2 device and I built a Buildroot-image and flashed it successfully.I am new to STM32 and to the IoT field so perhaps you can orient me and tell me which Programs I need to do so. I want to write a "hello_world" program that sends hello_world every x-seconds to an Endpoint-rest through Wifi.Is it possible to only use Linux Bash/Shell interface to execute my Program? (I am familiar to these) and like I said I am only testing some features here like the ability of the DK2 to interact with Endpoint-rests.Thank you all and have a nice day.
Hi,How can I connect to STM32MPU via SSH from inside STM32CUBEIDE.?? Is there a way we can do that?This really helps in live debug of things.Alternatively is there a way I can live debug an application running on A7?
Hi,I would like to know for the board how to enter low power mode. I am using a version, openstlinux-5.10-dunfell-mp1-21-03-31. Please let me know how to address it.Best Regards,Sun
I have two codes running (on stm32mp157f-Dk2) successfully one is running on M4+freeRTOS another on A7+Linux, they are intercommunicating via RPMSGx. The problem is that after power-loss or reboot, I want both of my programs starting automatically and not the default UI (GNU desktop screen with icons of examples). Is there a chance to get either step-by-step guide or even better a video executing all the steps to change the kernel and launch customer's code?4 Build the Linux® kernel source code for the first time:https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Modify,_rebuild_and_reload_the_Linux%C2%AE_kernel#Build_the_Linux-C2-AE_kernel_source_code_for_the_first_time (4.1.2 Remote processor 'auto' boot (not recommended by STMicroelectronics)↑:(https://wiki.st.com/stm32mpu/wiki/Linux_remoteproc_framework_overview3.3 Modifying the Linux kernel device tree↑:https://wiki.st.com/stm32m
Good evening,I am using stm32mp157F-DK-2 board. And I want to update the kernel from old 5.4.31 to 5.10.10.I was following step-by-step "Modify, rebuild and reload the Linux® kernel" on the "https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Modify,_rebuild_and_reload_the_Linux%C2%AE_kernel#Build_the_Linux-C2-AE_kernel_source_code_for_the_first_time". Only strange thing the command: >> /sbin/depmod -a - does not return any success/failure info. No errors appeared so I used >> sync and >>reboot.After reboot I see that both old and new kernel modules are present:>> ls /lib/modules 5.10.10 5.4.31When i try to check current kernel version :>> uname -aLinux stm32mp1 5.4.31 #1 SMP PREEMPT Wed Apr 8 07:08:47 UTC 2020 armv7l armv7l armv7l GNU/LinuxHave I missed something? Does the old kernel module should be removed entirely?I have tried re-flashing the board and repeating procedure multiple
Hi.. thereHope all are doing well We have designed our own custom board by taking the reference of the DK2 board, in which we're using the LBEE5KL1DX-883 WiFi/BT module from Murata at SDMMC3 somehow, the module is unable to detect!after dmesg of the MMC log, I got to know that the SDMMC 3 is not initializedhere is the mmc dmesg logs [ 0.000000] Kernel command line: console=ttySTM0,115200n8 quiet hw_dispid=6 hw_code=143 fastboot=n board_name=ns02_ek435 touch_type= root=/dev/mmcblk0p2 rootfstype=ext4 rootwait [ 0.678302] mmci-pl18x: probe of 48004000.sdmmc failed with error -22 [ 0.679283] mmci-pl18x 58005000.sdmmc: Linked as a consumer to regulator.3 [ 0.679417] mmci-pl18x 58005000.sdmmc: mmc0: PL180 manf 53 rev2 at 0x58005000 irq 63,0 (pio) [ 0.708451] mmci-pl18x 58007000.sdmmc: Linked as a consumer to regulator.2 [ 0.708585] mmci-pl18x 58007000.sdmmc: mmc1: PL180 manf 53 rev2 at 0x58007000 irq 64,0 (pio) [ 0.743212] mmc0: host does not support reading read-only switch, assuming write-
Hi All,i am using stm32mp1 cpu,, recently i m facing floating rx issue on debug uart, with physical debug cable , i could default state of RX lines were pull up, and when i remove the cable, the RX lines is floating and its voltage fluctuates between 0.9-1.4 Volts,when i power up unit, with out cable, the u-boot code waiting for receive events, i see the u-boot cancel the normal boot because (USART_ISR) lot of error were seen like noise, eob, cmf, Fe, bits , so most of error bit were set along with RDR data to read flag,i am using FIFO enabled, with 16 byte rx buffer, tried with disabled fifo, still same problemThere is pull up is required, but can this be fixable in software u boot and kernel ? some thing like soft reset/ or any clear pending interrupts ?Any suggestion would be helpfull
Hi,I would like to compile a user space c++ application on the STM32MP157C-DK2. Is it possible to install GCC or G++ on the board?I tried installing them via apt-get but seems like there is not any package with name gcc or g++.How can i install it and how do i make sure it is up and running ? I know we can use Yocto SDK to compile and transfer the code on to the board via SCP. But here i specifically want to compile it on board itself.Any leads will be highly appreciated.
HI ,How can i display simple image on to the screen ?Currently we have weston demo running. I am aware of how to stop it , but post that what command can i use to simply just display an image on to screen?
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.