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
I am getting an error when working through the README.HOW_TO.txt in linux-stm32mp-6.1.82-stm32mp-r2-r0 directory.It seems to work fine until:6.2 Compile External Device tree* Compile and install on a build directory (different of kernel source code directory)Line 221 $ make ${IMAGE_KERNEL} O="${OUTPUT_BUILD_DIR}" KBUILD_EXTDTS="${EXTDT_DIR}/linux" <name of external devicetree .dtb>where I get this output:jtest@jtest-B250M-D3H:~/stm_dev/Developer-Package/stm32mp1-openstlinux-6.1-yocto-mickledore-mpu-v24.06.26/sources/arm-ostl-linux-gnueabi/linux-stm32mp-6.1.82-stm32mp-r2-r0/linux-6.1.82$ make ${IMAGE_KERNEL} O="${OUTPUT_BUILD_DIR}" KBUILD_EXTDTS="${EXTDT_DIR}/linux" stm32157f-dk2-a7-examples.dtbmake[1]: Entering directory '/home/jtest/stm_dev/Developer-Package/stm32mp1-openstlinux-6.1-yocto-mickledore-mpu-v24.06.26/sources/arm-ostl-linux-gnueabi/linux-stm32mp-6.1.82-stm32mp-r2-r0/build1'GEN MakefileCALL /home/jtest/stm_dev/Developer-Package/stm32mp1-openstlinux-6.1-yocto-mickledor
New to STM32CubeIDE and trying to compile/download examples to STM32MP157C-DK1.It seems that the ST-Link on this particular board is not functioning correctly, both STM32CubeProgrammer and command line suggest that there is 'No device found on target'. C:\Windows\System32>C:\ST\STM32CubeIDE_1.16.1\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.win32_2.1.400.202404281720\tools\bin\ST-LINK_gdbserver.exe -p 61234 -l 1 -d -s -cp C:\ST\STM32CubeIDE_1.16.1\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.1.400.202404281720\tools\bin -m 2 -g STMicroelectronics ST-LINK GDB server. Version 7.8.0 Copyright (c) 2024, STMicroelectronics. All rights reserved. Starting server with the following options: Persistent Mode : Disabled Logging Level : 1 Listen Port Number : 61234 Status Refresh Delay : 15s Verbose Mode : Disabled SWD Debug : Enabled Target no device found Error in initializing ST-LINK device. Reason: No dev
Dear ST community, i don't know if any one encountered this issue before, however when i try to import the matplotlib module on the mickledore version of the openstlinux the system crushes like shown in here Python 3.11.5 (main, 24 2024, 12:23:19) [GCC 12.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import matplotlib.pyplot as plt Matplotlib is building the font cache; this may take a moment. Segmentation fault (core dumped) root@stm32mp157c:~# Broadcast message from systemd-journald@stm32mp157c (Sat 2024-10-04 01:56:00 UTC): systemd[1]: Caught <SEGV> from unknown sender process. Broadcast message from systemd-journald@stm32mp157c (Sat 2024-10-04 01:56:00 UTC): systemd[1]: Caught <SEGV>, dumped core as pid 1621. Broadcast message from systemd-journald@stm32mp157c (Sat 2024-10-04 01:56:00 UTC): systemd[1]: Freezing execution. im including the image to my image config like so IMA
Cubeide 1.13 and CubeMX 6.9 can generate the valid code for stm32mp157,but Cubeide 1.14 and CubeMX 6.10 can not! is there a bug or the CubeMX 6.10 have some change for stm32mp157?. MCU Package 1.6.0 and the STMH7xx doesn`t affect it. void MX_QUADSPI_Init(void) {/* USER CODE BEGIN QUADSPI_Init 0 *//* USER CODE END QUADSPI_Init 0 *//* USER CODE BEGIN QUADSPI_Init 1 *//* USER CODE END QUADSPI_Init 1 *//* USER CODE BEGIN QUADSPI_Init 2 *//* USER CODE END QUADSPI_Init 2 */} why?
Hi!I'm using the provided Kernel software from ST. The Kernel from STM32CubeIDE.I have compiled the kernel and made it start. But once In load a module by using "insmod" or placing the modules inside the /liv/modules folder, then the kernel hangs.I get no error messages so If can't point at anything that may causing the problem.It can be that my kernel is located at another partition (bootfs) /dev/mmc0p6 and not in rootfs /dev/mmc0p7 where insmod is. Perhaps insmod expecting another kernel locationI have a small thought that it might be so that the kernel from ST is modified to fit STM32MP processors and cannot be allowed to be changed. Please let me know.Kernel version: 6.1.82
I'm on Linux debugging STM32MP1, latest version of everything installed. I used to be able to debug in "production mode" but now I got:"The serial device 'MPU Serial (/dev/ttyUSB0)' is not available."if I start debug"The selected serial device 'MPU Serial (/dev/ttyUSB0)' is not available anymore, please update the Debug configuration."However, I'm able to open the /dev/ttyUSB0 with other terminal softtware, the "/dev/ttyUSB0" appears as an option on debug options, also, the status on bottom right is green.How to fix this?
If I have grasped USB-C correctly, the BootROM must communicate with the STUSB1600 chip for role negotiation, otherwise it couldn't switch to device mode and thus it wouldn't be possible to use serial boot mode over USB-C. On the DK2, the STUSB1600 is connected to I2C4, and quite obviously, serial boot mode works on that hardware.Since I was unable to find any information on these details:1. Does the boot ROM communicate with the STUSB1600?2a. If it does, is it hard-coded to I2C4 or is it possible to use a different I2C?2b. If it doesn't, how/why does role selection work without proper negotiation?In other words: is it possible to send the TF-A bootloader to an STM32MP157 via USB-C if the STUSB1600 chip is connected to a different I2C bus than I2C4?Best regards,Robert
I have started working on STM32MP257f board. I have installed open st linux distribution package on my board. Now I want to blink led on my board using my own yacto customized layer. Can anyone please help me with the steps. I have executed simple helloworld program using my own yacto layer, now I want to access gpio periheral using A-35 core.
I have configure so my login session is done automatically. So once my STM32-OS starting at my STM32MP151 processor, then weston is up after few seconds.OK! Good, but I want a login as well. Have anyone any recommendation of a software for a login session that works on STM32MP1 dev boards?I have been trying with SDDM, without any success. It seems that it won't work.kmscon will work...but...it's terminal based login only. Also kmscon using standard HDMI resolution, which is not good because if your text is to small, then you cannot change the resolution inside DRM.
Hii try to install qt-wpe-simple-browser on my board but it fails with error wpewebkit-qtwpe-qml-plugin. ERROR: st-image-qt-1.0-r0 do_rootfs: Unable to install packages. Command '/home/md/Workspace/Demo_file_fr/MPU_EDS_V1.0/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/st-image-qt/1.0-r0/recipe-sysroot-native/usr/bin/apt-get install --allow-downgrades --allow-remove-essential --allow-change-held-packages --allow-unauthenticated --no-remove apt cog dpkg packagegroup-base-extended packagegroup-core-boot packagegroup-core-eclipse-debug packagegroup-core-ssh-dropbear packagegroup-core-tools-profile packagegroup-framework-core packagegroup-framework-core-base packagegroup-framework-core-extra packagegroup-framework-tools packagegroup-framework-tools-base packagegroup-optee-core packagegroup-optee-test packagegroup-st-demo packagegroup-x-linux-qt psplash-drm qt-wpe-simple-browser qtbase-plugins qtwayland-plugins resize-helper run-postinsts wpeweb
Hi all, I work on a STM32MP153 device and I used the command echo mem > /sys/power/state to put CPU A7 in Cstop mode, but I still have MCU running. Before to enter suspend mode I have shared some memory buffers with MCU M4 with virtio RPMSG (as recommended). In such case the suspend procedure doesn't come to end and it freezes in the middle. If DMA buffers are not allocated everything works. I have stopped every write operation from MCU M4 to don't interfere with the suspend process, but it freezes as well. Thank you in advance Andrea
While creating scripts to build the kernel preparing for the DK2, found that it creates vmLinux and Image (not uImage) even though ST's kernel build readme stated to build uImage . Torvalds has also posted something about the compressed versus uncompressed behavior for arm64 recently.https://www.phoronix.com/news/Torvalds-ARM64-Compress-KernelAlso the AArch64 kernel seem not to provide a decompressor, So should mkimage used to generate uimage for the DK board ? Is the readme outdated ?Ref:https://linux-arm-kernel.infradead.narkive.com/bcdVuTBY/aarch64-kernel-image-decompression"Bringing in uImage as a target on ARM might have been a mistake, since now people want to bring in new targets for whatever boot format they happen to want. So it's a good idea to keep arm64 from going down the same path and stick to the native, raw, formats"https://www.phoronix.com/news/Torvalds-ARM64-Compress-Kernel
Dear Sir, We are using stm32mp135f processor on our custom board. We want to interface flexible external memory controller bus with an external FPGA device. How this can be achieved? Are there any reference or example that you can provide? Is it possible to connect FPGA as an external device?
Hello,I’m trying to build an EKF (Extended Kalman Filter) application using Bitbake on an STM32MP1 platform, but I’m encountering the following error:Nothing RPROVIDES 'gnss1-ekf' (but /home/futura/STM32MPU_workspace/Distribution-Package/layers/meta-st/meta-st-openstlinux/recipes-samples/images/st-example-image-qtwayland.bb, /home/futura/STM32MPU_workspace/Distribution-Package/layers/meta-st/meta-st-stm32mp/recipes-st/images/st-image-userfs.bb RDEPENDS on or otherwise requires it)Here are the steps I’ve taken so far:Sourced the environment: DISTRO=openstlinux-weston MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.shAdded "gnss1 gnss1-ekf" in layer.conf and appended the line: IMAGE_INSTALL: "gnss1 gnss1-ekf"Included "gnss1-ekf" in st-image-userfs.bb.Ran bitbake st-example-image-qtwayland to create the Qt image, where I encountered the error mentioned above.It seems like the gnss1-ekf package is not being found. Could someone guide me on what might be missing or misconfigured in
Hi everyone,Currently, I am working on STM32MP153 mpu. I am building a Linux image using Yocto.In the image, I want to add a Python package (pyarrow).But when I built the Linux image I got the error, Please see the attached image.
I have followed this guide, https://wiki.st.com/stm32mpu/wiki/How_to_create_your_own_machine but that doesn't work well and requires a lot of manual changing to get the image booting. (it breaks extlinux stuff)My custom board is too different as one that are supported by DK or EV devkits. What is the best way of adding my board to yocto? I don't seem to find a tutorial or guide about this.
Hi All,i am using STM32MP135-DK kit & i want to interface the ultrasonic sensor HC-SR04.from user space i have tried to make gpio toggle at 10uSec ON/OFF which will be trigger signal for sensor but what i observe in the trigger output pin is not toggling at same rate what i made it in bash script. can someone help me to resolve this or if we have ready solution available i can utilize it instead of reinventing it again.
hii am using stm32mp157d-dk1 and i have downloaded qt creator and i have created a simple hello world window now how to display it in the stm32mp157d-dk1? how to set up cross compilation in order to deploy Qt projects directly from a host Linux machine to the embedded target using qtcreator.
Hello,According to the doc, the Padding header extension adds the rest of the bytes in the header to complete the 512 bytes.When parsing a signed binary with STM32MP_SigningToolCLI, I find that the padding bytes have “random” values every time. Could you explain how these bytes are calculated?Thanks
Hello,I am trying to set up a web browser on my STM32MP157F-DK2 board.Following https://wiki.st.com/stm32mpu/wiki/How_to_install_a_simple_web_browser.I tried:root@stm32mp15-disco:~# apt-get install qt-wpe-simple-browserReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneE: Unable to locate package qt-wpe-simple-browserapt-get update was successful. Using apt-search doesn't locate the package.However, source.list file seems properly configured.Any clue would be appreciated.Best Regards,Vincent
Hi, I'm new to yocto project, I'm trying to set password for custom image in yocto in stm32mp157d-dk1(scarthgap) ,by editing the bb layer in image, its successfully build and flashed into SD card , but I'm trying to enter the login id and password , it says login Incorrect ,I tried in all ways , but still it shows login incorrect ,I attached the Picture of the bb layer of my image above , Please anyone could tell me what I'm missing there..
HI There, I am getting error installing wireguard in STM32mp135s. I have added wireguard-tool by adding in local.conf, its successfully builts. but when I add wireguard-module I get compilation error. So I skipped it wireguard-module. Some kernel setting also done for Wireguard by following this site https://www.wireguard.com/compilation/#kernel-requirements. When I try create inteface I get following error. What is the solution for this, how can I add wireguard in my build?Error-wg-quick up wg0[#] ip link add wg0 type wireguard[ 129.799785] wireguard: Unknown symbol curve25519_null_point (err -2)[ 129.799834] wireguard: Unknown symbol udp_sock_create4 (err -2)[ 129.799858] wireguard: Unknown symbol udp_tunnel6_xmit_skb (err -2)Error: Unknown device type.[ 129.799894] wireguard: Unknown symbol chacha20poly1305_encrypt_sg_inplace (er r -2)[ 129.799939] wireguard: Unknown symbol chacha20poly1305_encrypt (err -2)[ 129.800041] wireguard: Unknown symbol chacha20poly1305_decr
I am planning to ultimately use the MPU from the STM32MP131 line. Before that, I am reviewing various aspects using the STM32MP135DK board. I'm planning to configure Wi-Fi using the Murata-1DX product on the DK board. Since there doesn't seem to be any related middleware available, I intend to port the source from the H7 Middleware Pack.Inquiries:Are there any tips or precautions I should be aware of regarding this?(especially during the Source Adding process and concerning Registers)Is there any support planned for 1DX-related Wi-Fi Pack or demos?
TL;DR: is there an "ST approved" method to put have a custom machine's CubeMX project AND generated code under source control?I am trying to do something similar to OP's goal in this post, which didn't receive a full response, I think.I have also gone through the "create your own machine" guide and I managed to generate a custom machine, except a couple of snags (e.g. CubeMX 6.12 adds a CA7/ element to the generated device tree path, which the guide seems to ignore, I guess it's out of date?).Now, this work needs to go to source control somehow, and the guide doesn't provide any guidance on how to do that.One option would be to fork meta-st-stm32mp-addons, point your manifest to your fork and store your work there. This has a minor drawback (the need to keep your fork up-to-date with the official meta-st-stm32mp-addons), but also it seems to be explicitly discouraged by the meta-st-stm32mp-addons repo, since it puts the mx folder in .gitignoreAnother option, which would
Hi STM team,I'm working on a solution based on STM32MP2 and camera being one of the primary components I want to integrate the camera with the STM32MP2 processor and make use of the ISP present in it.I saw a video (https://www.youtube.com/watch?v=c0fKAj5rlH8) explaining the ISP present in the processor and its tuning tool. I couldn't get any datasheet or details related to the "STM32 ISP IQTune". It would be really helpful if I could get my hands on the tool and the documents related to it.Regards Akash
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.