Get ready for the STM32 Summit 2026 | Online, November 3
Ask questions and find answers on STM32 microprocessors, including hardware, power, DRAM, flashing, interfacing, device tree, and peripherals.
Most recent activity
Hello,I try to install the distribution package usingrepo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15as described in the wiki, before that made sure to install all packages mentioned in the prerequisites page.The command fails with: File "/home/steffen/Kirkstone/Distribution-Package/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/.repo/repo/main.py", line 79 file=sys.stderr) ^SyntaxError: invalid syntaxI am using Ubuntu 20.1, my python version is 3.8.10Does anyone know what I am missing?Thanks!
Is there a walk-through or example of how to setup secure boot using a custom device tree?As a side note, the following page returns "Permission Error", is that expected behaviour?https://wiki.st.com/stm32mpu/wiki/STM32MP15_secure_boot
Hello,When I tried using fseek and getc functions for my project the MP1 failed to execute their code. The execution stops at lines that contain __IO_acquire_lock(fp) and __IO_need_lock(fp) macros and then terminates in the fseek and getc functions respectively. I also tried other file handling functions such as fread and fwrite and they also fail. Is there anyway to solve this issue?thanks for any answers
Is HAL_UARTEx_ReceiveToIdle_DMA supported on STM32MP15 products? If so is there an example for using it?
I've changed the ownership of the /usr/lib/python3.8 file from root to <myname> but did not solved the problem. Here is the whole error:ERROR: Command execution failed: Traceback (most recent call last): File "/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/bitbake/lib/bb/command.py", line 126, in runAsyncCommand commandmethod(self.cmds_async, self, options) File "/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/bitbake/lib/bb/command.py", line 607, in buildTargets command.cooker.buildTargets(pkgs_to_build, task) File "/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/bitbake/lib/bb/cooker.py", line 1581, in buildTargets rq = bb.runqueue.RunQueue(self, self.data, self.recipecaches, taskdata, runlist) File "/home/gencay/STM32MPU_workspace/openstlinu
Using hexdump /dev/input/event1, you can see the data changes. when I use ts_ test command, "open fbdevice: no such file or directory" will appear. Please help me, I really don't know how to configure it.I am sure that the touch screen monitoring is correct and the data is uploaded correctly.
Hi! I am trying to enable PTP on STM32F157 DK2 evaluation board. From my understanding, pps_available should return 1, (if configured correctly). root@stm32mp1:~# cat /sys/class/ptp/ptp0/pps_available 0 I added "linuxptp" to the image: IMAGE_INSTALL_append += " \ linuxptp \ " I tried to follow the instructions for kernel 4.14: https://community.st.com/s/question/0D50X0000BMG2RoSQL/how-do-i-enable-linuxptp-pps-output To enable PPS Out, I also patched stm32mp-mp15-pinctrl.dtsi diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi index 236d77e..1e74905 100644 --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi @@ -160,6 +160,7 @@ ethernet0_rgmii_pins_a: rgmii-0 { pins1 { pinmux = <STM32_PINMUX('G', 5, AF11)>, /* ETH_RGMII_CLK125 */ + <STM32_PINMUX('G', 8, AF11)>, /* ETH_PPS_OUT */ <STM32_PINMUX('G', 4, AF11)>, /* ETH_RGMII_GTX_CLK */
..
I'd try to follow a step of Installing the SDK in Ubuntu (which is on Raspberry pi 4 Model B 4GB using 26GB SD card)in step 4 Run the SDK installation script I get an Error Error: incompatible SDK installer! your host is aarch64 and this SDK was built for x86_64 hosts.What does it mean and how can I fix itThe main goal of this project is to try to run python (with the library) on STM32MP157F-DK, I have two ideas 1. Follow the step and put it with .py instead of .c (no idea with install a library)2. Install Linux in STM32MP157F-DK and run python on it (need some guild also)So here I have 3 questionThank STM for letting me ask a question here.
Hi there. I'm a professor of computer science at a university in Germany. Our main focus is cyber security. I'm currently looking into exploring options with STM for teaching various security mechanisms and, in particular, interested in using the STM32MP157F-DK2 in classrooms. However, I failed to find any information of how to establish an official contact to STM to discuss various details. If someone could help me out, it'd be greatly appreciated. Thanks a bunch! Regards, JB
https://github.com/meta-flutter/meta-flutter.git Here is the link for meta-flutter.
I was trying to install OpenSTLinux distribution. I am using ubuntu 20.04 for my host machine. Firstly I init repo with this command:repo init -u <LINK FOR GIT ST OE MANIFEST > -b refs/tags/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15 then when I try to repo sync. I get following error for almost everythingerror: garbage at end of loose object '543a1d1527d04f297b90ec25658f8dc71f3d0782'fatal: loose object 543a1d1527d04f297b90ec25658f8dc71f3d0782 (stored in /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/.repo/project-objects/openembedded-core.git/objects/54/3a1d1527d04f297b90ec25658f8dc71f3d0782) is corruptopenembedded-core: sleeping 4.0 seconds before retrying
Hi,I am using Cortex A7 processor GIC V2 for Interrupt handling. I configured GICC and GICD both. I enabled timer and interrupt for timer also. After enabling timer i can able to see pending status in GICD but It is not routing to A7 core. For this what may be the reason?
I need to store a password for encryption in otp registers. I configured device tree in tfa:&bsec{ status = "okay"; secure-status = "okay"; enc_pass: enc_pass@0x170 { reg = <0x170 0x10>; st,non-secure-otp; };};&nvmem_layout { nvmem-cells = <&enc_pass>; nvmem-cell-names = "enc_pass";};And in uboot and kernel:&bsec{ status = "okay"; enc_pass: enc_pass@0x170 { reg = <0x170 0x10>; st,non-secure-otp; };};NVMEM is configured in kernel defconfig. I can read and write to set otp register in uboot, but i cant read data in linux.I tried this: hexdump -C -v /sys/bus/nvmem/devices/stm32-romem0/nvmemanddd if=/sys/bus/nvmem/devices/stm32-romem0/nvmem of=/tmp/fileAnd i have that error:stm32-romem 5c005000.efuse: Can't read data32 (-5)hexdump: /sys/bus/nvmem/devices/stm32-romem0/nvmem: Input/output error
Hi,I created a project in Cube-IDE . It is a simple PWM timer Project which planned to be run on A7 processor of the STM32MP1 . I established configurations in Cube-MX and generated the code into the Cube IDE. After that, I moved the .dts file which is in the kernel of the CubeIDE project into the linux kernel arch/arm/boot/dts directory. I am following this video which is a simple PWM timer project(ww.youtube.com/watch?v=XhB0rGLjl_Q&list=PLnMKNibPkDnFeV4sBarnsAtFTg7h6V-9_&index=9). However, in this video conversion of dts to dtb is not shown. The board is booted with a pre-ready .dtb file. I am trying to use the "make dtbs" command it won't work. "No rule to make target. I am also creating an another "build directory" which is located on the arch/arm/boot/build .(Another than the kernel source directory.) Should I copy the .dts file of the project into this build directory? and compile dts to dtb in this directory? And what about the Makefile ? Should I also copy this to that
Hello,Is there a way to access the Tamper or backup registers or the backup sram from the MCU? Or is it physically imposible to do so?Edit:I am still looking for an answer, I just saw in the RCC registers that I can enable BKPSRAM bits to:enable the peripheral for MP (RCC_MP_AHB5ENSETR) and MC (RCC_MC_AHB5ENSETR)enable the peripheral for MP (RCC_MP_AHB5LPENSETR) and MC (RCC_MC_AHB5LPENSETR) in low powerDoes this mean the MCU is able to access the BKPSRAM peripheral?Although I do not see a clock enable for the TAMP, is it the same for the tamper (and backup registers)?Best regards,Andrés
I followed the steps on the below webpage to enable Wireless on my STM32MP1. It would be great to see these instructions added to the wiki.st.com http://trac.gateworks.com/wiki/Yocto/Wireless
As we tested, from word 24 to 32, once write 0xFFFFFFFF ( all 32 bit turn to 1), is there any way to set back to 0x00000000?And same for bit 59 to 95 (free for user)?
here is the link to the packageSTM32MP1Dev - STM32MP1 OpenSTLinux Developer Package - STMicroelectronics
We designed original board using STM32MP153D.We cannot boot by U-boot.When booting via USB, the Hash check (hash_sha256_check) of the page in the init_runtime of opte_os fails when booting U-Boot (see console log below).The page that fails is different each time.SD Card Boot does not fail in Hash check.What is the cause and what can I do about it?I/TC: Pager is enabled. Hashes: 2848 bytesD/TC:0 0 init_runtime:467 Checking hashes of pageable areaD/TC:0 0 init_runtime:473 hash pg_idx 0 hash 0x2ffef4d8 page 0x29800000D/TC:0 0 init_runtime:473 hash pg_idx 1 hash 0x2ffef4f8 page 0x29801000D/TC:0 0 init_runtime:473 hash pg_idx 2 hash 0x2ffef518 page 0x29802000D/TC:0 0 init_runtime:473 hash pg_idx 3 hash 0x2ffef538 page 0x29803000D/TC:0 0 init_runtime:473 hash pg_idx 4 hash 0x2ffef558 page 0x29804000E/TC:0 0 init_runtime:476 Hash failed for page 4 at 0x29804000: res 0xffff000fE/TC:0 0 Panic at core/arch/arm/kernel/boot.c:478 <init_runtime>E/TC:0 0 assertion 'p->pa' failed at core/a
Hello, I use the STM32CubeProgrammer to write Stm32mp157c board boot TF card. But it fail. How can I fix this problem?
Hi,We want to develop bare metal application for Stm32mp157A processor. So we need the DDR initialization Source code in bare metal for Stm32mp157A processor. Can you help us in this.
I followed ST wiki, success to display OTP by the command:STM32_Programmer_CLI.exe --connect port=usb1 -otp displThen I try to test writing a value to wordid 79 which currently is 0x00000000, and free for user.STM32_Programmer_CLI -c port=usb1 -otp program wordID=0x4F value=0x12345678No thing wrong, command return sucess: I display cmd again, it is till 0x00000000, even reset the board. Any one know what I am missing, please?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.