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
MDK compiles, and the program loads the following results: IDE compiles, and the program loads the following results: The MDK program is exported from the IDE, and the two programs are the sameI want to use openamp in MDK, how can I modify it
Hi!I am trying to have full secure booting on the stm32mp platform, using FIP and fitImage on a custom distribution built using Yocto with the meta-st-stm32mp layer.I currently have a FIP containing u-boot booting on the board, that can then load and boot an unsigned fitImage.I now want to enable fitImage signing. The signature verification in u-boot is enabled in u-boot's configuration, and u-boot devicetree has been extended to include a signature section, so that mkimage can insert the signing key for u-boot's to verify my fitImage.The fitImage is signed with the key by setting the following variable in my machine configuration:UBOOT_SIGN_ENABLE = "1"I checked that the image is indeed signed, and that a u-boot devicetree containing the key is in my deploy directory (I disabled the use of the "u-boot" subfolder with a bbappend on u-boot-stm32mp recipe).The issue comes from the final dtb included in u-boot´s binary, before the FIP generation by fiptool. By the end of the kernel s
Hello,We are using the LBEE5KL1DX-883 WLAN+BT chip with a STM32MP157C on a custom board. The SDIO interface is routed to the SDMMC3 interface (different from the DK-2 board). However when we are probing the brcmfmac module, it cannot find the mmc0 interface it seems. It writes the following to the dmesg logs:[ 21.319324] brcmfmac: No platform data available.Is there anything extra which needs to be configured when using SDMMC3 as opposed to SDMMC2? Posting relevant configuration below. Thanksmmc related dmesg logs during boot:root@stm32mp1:~# dmesg | grep mmc [ 0.000000] Kernel command line: root=/dev/mmcblk1p5 rootwait rw console=ttySTM0,115200 [ 1.799815] mmci-pl18x 48004000.sdmmc: allocated mmc-pwrseq [ 1.804262] mmci-pl18x 48004000.sdmmc: Linked as a consumer to regulator.7 [ 1.810928] mmci-pl18x 48004000.sdmmc: mmc0: PL180 manf 53 rev1 at 0x48004000 irq 41,0 (pio) [ 1.848186] mmci-pl18x 58005000.sdmmc: Linked as a consumer to regulator.7 [ 1.853931] mmci-pl18x 58005000.sdmmc: mmc1
Hi,How can i install and develop around amazon AWS SDK for an custom IoT solution?
Hi,I have done certain changes to support the display in the dts files.I have modified dts files under kernel and u-boot.I had also added certain changes in panel-simple.c file as well. I gave a build and forgot to make some changes. So i changed those locally and gave :bitbake st-image-westonBut this time around upon checking i found out that latest changes i made were not compiled and a new .o was not generated. How can i make sure , that local changes are compiled by yocto build system??
hi, we are using stm32MP157A ,in this we enabled timer2 APB1 and APB2 clock for timers . When we trying to write timer 2 the processor gets hanged . For this what may be the issue. In the similar way i did it for the UART4 its working fine . Where as coming to the writing to timer registers its hanging .
I want to use open source utilities to load U-boot into SRAM in "Serial mode". Is it possible?P.S. As I can see, there is an article about it on ST Wiki, but an access to it is restricted for regular users: https://wiki.st.com/stm32mpu/wiki/How_to_load_U-Boot_with_dfu-utilHow to gain access to this article for an ordinary user?
Is there also an ARM version of the SDK to develop the Modules.because here I only found a X86 versionhttps://wiki.st.com/stm32mpu/wiki/STM32MP1_Developer_Package#Installing_the_SDK
We are using a STM32MP157 chip on a custom low-power design and don't need the Cortex M4 core. We would like to disable it properly to reduce power consumption and also remove dedicated support in linux kernel.Is there any recommended way to do this ? Is disabling clock enough ?Thanks in advance for your help
After DDR3 (16 bit) training complete, registers are:DX0DQSTR=0x3DB03001, DX1DQSTR=0x3DB03001Should I redesign CPU board or these values are suitable?
HI ,How can i install mongodb , mariadb and postgresql on stm32mp1?Is there support for databases provided for stm32mp1?
We are seeing some strange behavior on our stm32mp157 system exiting suspend mode.This is not a 'weston' build, so we enter (deep) suspend mode by executing "echo mem > /sys/power/state" and the system powers down and enters low power.root@stm32mp157:~ # echo deep > /sys/power/mem_sleeproot@stm32mp157:~ # echo mem > /sys/power/state[ 30.426284] PM: suspend entry (deep)[ 30.428793] PM: Syncing filesystems ... done.[ 30.477793] Freezing user space processes ... (elapsed 0.001 seconds) done.[ 30.484664] OOM killer disabled.[ 30.487814] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.[ 30.495358] Suspending console(s) (use no_console_suspend to debug)When a wake up happens the processor wakes up and the TF-A detects that the processor exited STANDBY and is running from eMMC, however the system never executes the Linux system, it hangs after "Preparing exit to normal world"NOTICE: CPU: STM32M
Hi all,I am trying to bring a LVDS display up. Display: BOE EV121WXM-N10-1850. Datasheet: LinkDriving MPU : STM32MP1. I am using VisionSoM STM32MP1 based evaluation Kit. LinkThe firmware changes required to make the device up are part of git: LinkI have made following changes in the dts files to support display:kernel/stm32mp157a-visionsom-rgb-emmc-mx.dts and u-boot/stm32mp157a-visionsom-rgb-emmc-mx.dts has following changes : panel { compatible = "boe,ev121wxmn10", "simple-panel"; backlight = <&backlight>; port { panel_in: endpoint { remote-endpoint = <&ltdc_out_rgb>; }; }; };In case u-boot/stm32mp157a-visionsom-rgb-emmc-mx-u-boot.dtsi panel { display-timings { timing0: timing0 { clock-frequency = <74250000>; hactive = <1280>; vactive = <800>; hfront-porch = <48>; hback-porch = <80>;
Hello all,I'm getting following error on our custom board while initializing sdmmc3 as wifi module with SDIO:~# dmesg | grep -i sdio -B 1 [ 3.410271] mmci-pl18x 48004000.sdmmc: no support for card's volts [ 3.415001] mmc0: error -22 whilst initialising SDIO card -- [ 5.298030] mmci-pl18x 48004000.sdmmc: no support for card's volts [ 5.302938] mmc0: error -22 whilst initialising SDIO card -- [ 7.140215] mmci-pl18x 48004000.sdmmc: no support for card's volts [ 7.144982] mmc0: error -22 whilst initialising SDIO card -- [ 8.930932] mmci-pl18x 48004000.sdmmc: no support for card's volts [ 8.935676] mmc0: error -22 whilst initialising SDIO cardWifi module is a ST60-2230C (https://www.lairdconnect.com/documentation/datasheet-st60-2230c) with I/O signalling voltage 1V8.Between STM32MP and ST60 module there are three voltage translators which translate 3V3 (STM32MP) to 1V8 (ST-60). See attached schematics snippet.This is device tree configuration:&sdmmc3{ arm,primecell-periphid = <0x101
In our project we are currently trying to decrease boot time and energy consumption of an embedded linux running on an STM32MP153.To improve energy consumption we are trying to activate hibernation, in order to test suspend-to-disk as well as the hybrid-sleep mechanism.I have activated hibernation in the kernel and have also created a swap disk (which does not mount properly after reboot) by hand.But still "/sys/power/state" gives me nothing more but "mem", indicating we can only do a suspend-to-ram and returns "not supported" for anything else i'll try to echo into it.Is there a possibility to enable hibernation, even if the documentation does not list it explicitly?Thanks in advance!
Can anybody say meaning of four values in ACSR field of DDRPHYC_ACIOCR register?May ill ddr3-equipped board work more stable (i think) if I add no-zero values here...
Hello! I use STM32CubeIDE for STM32MP157A-DK1 board. I want to deploy the kernel directly from the development environment. To do this, I set up local and remote paths for the device tree and for the uImage file (see the screenshot). At first, I tried to update only the device tree - I changed the heartbeat LED from blue to yellow - everything works correctly, the extlinux.conf file is changed automatically. But when I tried to update not only the device tree but also the uImage file, SSH stopped working for me. In the UART console, I see the message "disagrees about version of symbol module_layout". My kernel version has been updated. The cat /proc/version command gives this result: "Linux version 5.10.10 (ubuntu@ubuntu-H410M-H) (arm-ostl-linux-gnueabi-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP PREEMPT Thu Jun 17 17: 59:33 MSK 2021". In the wiki (https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Develop_on_Arm ® _Cortex ® -A7/Modify,
Hi,I'm interested how to change CPU frequency from 650MHz to lower frequency. I looked those two links:https://wiki.st.com/stm32mpu/wiki/How_to_change_the_CPU_frequencyhttps://wiki.st.com/stm32mpu/wiki/Clock_device_tree_configuration_-_Bootloader_specificI went for PLL1 static configuration and added those lines to TF-A device tree, in RCC node pll1: st,pll@0 { compatible = "st,stm32mp1-pll"; reg = <0>; cfg = < 4 80 0 0 0 PQR(1,0,0) >; frac = < 0x800 >; };So If I'm right CPU freq should be: 24000000 / (4+1) * (80+1) = 388 800 000 = 388.8 Mhz.I changed OPP nodes in tf-a device tree and Linux device tree to:&cpu0_opp_table { opp-388000000 { opp-hz = /bits/ 64 <388000000>; opp-microvolt = <1200000>; opp-supported-hw = <0x1>; };};When I wanted to boot the board I got this:PANIC at PC : 0x2ffd7e53Exception mode=0x00000016 at: 0x0000f295What should I do to get lower CPU frequency?Best regards,Nenad
We follow this: https://wiki.st.com/stm32mpu/wiki/How_to_exchange_large_data_buffers_with_the_coprocessor_-_principle and this: https://wiki.st.com/stm32mpu/wiki/How_to_exchange_large_data_buffers_with_the_coprocessor_-_example#Linux_driversarticles for exchanging M4-A7 except for DMA : in our case we write from M4 directly into DDR without DMA transfer. Every time A7 needs new portion of data, it sends request via rpmsg and polls on eventfd for ready data from M4. It works fine for a number of runs but very soon we get old data. We have checked buffers on M4 side and correctness of poll-read on A7 side. For me it looks like coherence issue. So, my question is : how can I mark mmaped region as non-cacheable area ?PS. As far as I know linux UIO driver maps non-cached memory region, RPMSG SDB - not.
I have set up the device, 5V 3A wall PSU and connected to the USB stlink connection. Connecting to the onboard stlink I can recognize the board serial number but the programmer fails to recognize the device. What am I missing? The device works perfectly in stand alone mode. As it would not identify the device I upgraded the firmware to V2J37M26 to see if that would correct it. This was the output in the programmer if it helps. 12:26:58 : ST-LINK SN : 0669FF333536414257062332 12:26:58 : ST-LINK FW : V2J37M26 12:26:58 : Board : -- 12:26:58 : Voltage : 3.27V 12:26:58 : SWD freq : 4000 KHz 12:26:58 : Connect mode: Normal 12:26:58 : Reset mode : Hardware reset 12:26:58 : Error: Cannot identify the device
Hello everyone!I’ve tested wake up from standby mode with Wake up pins PI11 (and PI8). But it is not work I have remove all definitions about wake up pins in dts except place where it defines as wake up pins in stm32mp151.dtsi Entering in standby mode by putting ‘echo mem > /sys/power/state’. And after that MPU no wakes by I acting on pins PI11 or PI8.I do not see any WAKE UP Pins in /sys/kernel/debug/wakeup_sources, maybe I need activate it before going to standby?Do I need set MPU_BEN bit in RCC_MP_BOOTCR before going to standby mode? If yes — how?Maybe another my misunderstanding?
my board have not use pmic and i use poweroff close the board. it will reboot and tf-a report reset reason (0x814) for NRST
We boot up the odyssey Stm32mp157c board with distribution package. While booting the display is working but when i try to run qt examples it gives core dump error. Also there is no connector or encoder in the output of modetest. I could't figure out where to look. Thanks in advance.
Hi all,I am currently using VisionSoM board : STM32MP157AAB3 board.I am trying to drive an LVDS display via a RGB to LVDS converter. Here is the datasheet link for it.The panel settings are as follows : panel { u-boot,dm-pre-reloc; status = "okay"; display-timings { timing0: timing0 { clock-frequency = <72400000>; hactive = <1280>; vactive = <800>; hfront-porch = <22>; hback-porch = <150>; hsync-len = <160>; vback-porch = <32>; vfront-porch = <22>; vsync-len = <38>; hsync-active = <0>; vsync-active = <0>; de-active = <0>; pixelclk-active = <1>; }; }; };I also modified the driver : panel-simple.c file in kernel/drivers/gpu/drm/panel and added support for this custom display there.When i run qt demo for playing video on the RGB out i can see on oscilloscope that the clock signal frequency is not going beyond 66.6Mhz . Earlier I was stuck at clock generation frequency of 33.3Mhz since my ch
Hello,we try to access the I2C4-Bus under barebox, we use:CPU: STM32MP151CAA Rev.ZTF-A: v2.4-r1.0-nofip(release):b5d0088b9-dirtybarebox: barebox 2021.04.0-02204-gaa9b7b34b8e-dirtyIn the TF-A the I2C4 is unlocked by: DECPROT(STM32MP1_ETZPC_I2C4_ID, DECPROT_NS_RW, DECPROT_UNLOCK)When I start the board the TF-A initializes the PMIC successfully viaI2C4-bus.The Pinmux for I2C4 is: i2c4_pins_a: i2c4-0 { pins { pinmux = <STM32_PINMUX('H', 11, AF4)>, /* I2C4_SCL */ <STM32_PINMUX('H', 12, AF4)>; /* I2C4_SDA */ bias-disable; drive-open-drain; slew-rate = <0>; }; };the bus setup i
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.