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
Previous kernel versions had support for the STM32MP1 internal temp sensor. See:stm32mp1-adc-temp definition in stm32mp157c device treeDT bindings documentationApparently this has been removed in later kernels. Isn't this supported anymore ?Thanks,Guillermo
Hi, i wondering if there a way to add some GPIO pin to the DTS config so this pin will act like PONKEY of the STPMIC1 ?actually i need to implement power off button if there a problem with linux app...
I use CubeMx creating stm32mp157 device tree. After the 2nd create , the path "CA7->DeviceTree->[My board]->u-boot" always has a file named "<My board>.dts.bak" . modified the Device Tree code in kernel (USER CODE), then push create. The u-boot dts will be replaced by kernel dts.
I am running the st-example-image-qt distribution package and am trying to use the M4 processor to feed sensor data to my UI. I can import the OpenAMP_TTY_echo example into stm32cubeide and debug it with my board fine. But now I am trying to make my own project since the OpenAMP example does not have a .ioc configuration file and I would like to set up some timer interrupts and things. Looking in the OpenAMP example, the timer HAL files are not even in there. So I created a new project and selected the STM32MP157c-DK2. It loaded a .ioc configuration file but the project will not build. I don't think there is a build file but I thought that was generated automatically? I can add a debug configuration but there is no .elf to link to. What would be the easiest way to move forward?
Earyl booted M4 firmware via u-boot remoteproc.Synchronizing Blocking method: At the moment we use the blocking method (OpenAMP_Init function through to synchronizing the early booted M4 firmware with Linux A7. Synchronizing Non-blocking method:We would like to change this behevior to an non-blocking method.
Hi,I use stm32mp157a-dk1 board and sdcard boot.Host PC is win10, virtualbox and ubuntu 20.04.1I try this example but have some problem.https://github.com/STMicroelectronics/meta-st-stm32mp/blob/dunfell/recipes-kernel/linux/linux-stm32mp/README.HOW_TO.txtI don`t have folder "/media/$USER/bootfs/" and media/$USER/rootfs/lib/modules/My board complete this step.But error occurs this command . /media/sh/bootfs/ is not directory. (*'sh' is my user name) What is problem? ^^;;
Hello STM Community,I am following the workshop STM32Cube.AI workshop with my STM32MP157C-EV1 https://www.youtube.com/watch?v=k8AAr84z27s&list=PLnMKNibPkDnEOUdTXlDH7yWN6qyxXPsEb&index=9&t=8m15s When I analyze the model I get the error "Required Ram or Flash size for asc is bigger than available Ram or Flash�? (where >asc< is the name of my model), with resources required for the model: “Flash occupation: 15.90 KiB�? and “RAM: 20.64 KiB (128.00 KiB present)�?. So the RAM is not the problem. I get the feeling, that it has no allocated Flash. How do I declare which Flash storage to use? In the advanced settings, I can set “use external Flash�?, but I do not get how to use it and if I have to use it. Is there any good tutorial?I tried different Networks, like the HAR-CNN-Keras from the 'getting started', but that is an even bigger Network.Tried the STM32MP157C-EV1 in engineering boot mode (B 0 0 1) and boot from microsd (B 1 0 1)Used Software: 1.Windows 10 using STM32Cube
Hello all, I managed to enter the DFU mode by rebooting the SoC from the command line after setting the proper tamper register to get the Uboot to select my desired USB boot mode. After flashing the new image with the STM32CubeProgrammer I would like to be able to reboot the SoC again without having to do press physically the reset button or have to type the reset command inthe Uboot with a STLink console. I see in the wiki that the proper configuration of the tsv file should be able to trigger a RESET PhaseID (0xFF) but I have no clue on how to do it. I entered the line "- 0xFF reset Binary none 0x0 arm-trusted-firmware/tf-a-stm32mp157c-demo-logic-analyser-mx-serialboot.stm32" at the end of my tsv file but it does not do the trick. By checking the stm32prog.c source code it seems that that PhaseID is unusable and will only be triggered in case of an error ocurring
We are using STM32MP157c-DK2 board. Using STM32MP_KeyGen_CLI tool generated public key, private key and publicKeyhash.bin. As mentioned in STM32 webpage, https://wiki.st.com/stm32mpu/wiki/KeyGen_tool Hash public key contains the SHA-256 hash of the public key in binary format which generated by Gen tool.Is there a way or steps to generate same publicKeyhash.bin (without using STM32 key_Gen tool) via openssl or any other crypto utility
Follow the steps below: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_kernelMy system : Windows 10 + VMware +Ubuntu 18.04*******************************************************************~/STM32MPU_workspace/STM32MP15-Ecosystem-v2.0.0/Developer-Package/stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.4.31-r0/linux-5.4.31$ make ARCH=arm uImage vmlinux dtbs LOADADDR=0xC2000040scripts/kconfig/conf --syncconfig Kconfig SYSHDR arch/arm/include/generated/uapi/asm/unistd-common.h SYSHDR arch/arm/include/generated/uapi/asm/unistd-oabi.h SYSHDR arch/arm/include/generated/uapi/asm/unistd-eabi.h HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/livetree.o HOSTCC scri
Also is there any working tutorial regarding this discovery kit
Hi everyone,I have a problem using STM32CubeProgrammer (and CLI). They are both showing that my userfs partition have a size of -1162381824 bytes. That partition have size of 2.9GB. After programming with CubeProgrammer I have kernel panic, and I don't know if this is related to CubeProgrammer. I'm trying to program SD card partition by partition using STM32CubeProgrammer but I don't have luck. When I get whole RAW image of SD card and then flash another SD card everything is working. When I get bootfs, userfs, vendorfs and rootfs using dd comand from SD card and then try to program using CubeProgrammer, kernel panic happens. Where I am wrong?Best regards,Nenad
Hello,I use STM32MP157C-DK2 with the last open st linux distribution (20-11-12). I try to enbale CAN network on microcontroller but I can't send message.I m sure of my code on microcontroller side because it's work fine with an other distribution.I change dts and dtsi file to enable can pin mapping but without success .What can I try ?
Reference: https://wiki.st.com/stm32mpu/wiki/X-LINUX-AI_OpenSTLinux_Expansion_Package#Configure_the_AI_OpenSTLinux_package_repositoryNote that I am still using v2.0.0.I used to be able to do the following execution on my board, but it is not working anymore. Something has changed.Board $> wget http://extra.packages.openstlinux.st.com/AI/2.0/pool/config/a/apt-openstlinux-ai/apt-openstlinux-ai_1.0_armhf.deb Board $> dpkg -i apt-openstlinux-ai_1.0_armhf.debThe error message is as follows:root@stm32mp1:~/Downloads# dpkg --install apt-openstlinux-ai_1.0_armhf.deb Selecting previously unselected package apt-openstlinux-ai. (Reading database ... 14442 files and directories currently installed.) Preparing to unpack apt-openstlinux-ai_1.0_armhf.deb ... Unpacking apt-openstlinux-ai (1.0) ... dpkg: dependency problems prevent configuration of apt-openstlinux-ai: apt-openstlinux-ai depends on apt-openstlinux (>= 2.1-r0); however: Version of apt-openstlinux on system is 1.0-r0. d
Hi,Is there a way to set the QSPI clock on the MP157 to be free running while also using the QSPI? The programming manual mentions that free running mode will prevent the QSPI from being usable.I am working on a project to interface the MP157 to an FPGA via QSPI, however, having the clock start up only when the transaction is active prevents the QSPI clock from being able to drive an IO PLL. If it were free running when no transaction was active, then the FPGA could maintain a synchronous PLL lock on the MP157.
I got my STM32MP157A-DK1 load STM32MP15-Ecosystem-v2.1.0/Starter-PackageUsing iPerf3 for UDP speed test, but only achieved around 345Mbps.Made sure the cable, labtop NIC, switch are compatible with Gigabit. Attching board eth0 configSettings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Receive-only Supports auto-negotiation: Yes&nbs
We have product built around STM32MP1157C and boots up with GPT partition table. However, we would like to boot it up with DOS (MBR based) Partition table. As per the documentation - section 4.3 of https://wiki.st.com/stm32mpu/wiki/STM32MP15_ROM_code_overview, it seems GPT is not mandatory for STM32 ROM code to locate FSBL. So, accordingly, I dumped u-boot-spl.stm32-mp1som-pxl7-basic at LBA 34 (at offset 17K), but it fails to boot up.Any help in this regard is highly appreciated.Thanks,Pradeep
the microcontroller receives a total of 4 bytes of data every 50 µs via SPI. each Two bytes form a value, which is represented as a float with 16 bits. how can i join two bytes into a 16-bit float?float v_beta_d_star = 0.0f;float v_beta_q_star = 0.0f;float v_beta_d_star = (spi_values[0] << 8) | (spi_values[0] & 0xFF);float v_beta_d_star = (spi_values[1] << 8) | (spi_values[1] & 0xFF);
Hi,I would like to perform the secureboot on AV96 board. I have built the image with yocto openstlinux.I want to confirm the secure-boot scenario if Board Boots-up.I'm sharing some logs,please comment me whether i need to seperately perfrom steps to make AV96 board boots securely.NOTICE: Model: Arrow Electronics STM32MP157A Avenger96 board INFO: Reset reason (0x10): INFO: Reset due to a failure of VDD_CORE INFO: Using SDMMC INFO: Instance 1 INFO: Boot used partition fsbl1 NOTICE: BL2: v2.0-r1.5(debug): NOTICE: BL2: Built : 13:13:37, Oct 2 2018 INFO: BL2: Doing platform setup INFO: PMIC version = 0x10 INFO: RAM: DDR3-1066/888 bin G 2x4Gb 533MHz v1.45 INFO: Memory size = 0x40000000 (1024 MB) INFO: BL2 runs SP_MIN setup INFO: BL2: Loading image id 4 INFO: Loading image id=4 at address 0x2fff0000 INFO: Image id=4 loaded: 0x2fff0000 - 0x30000000 INFO: BL2: Loading image id 5 INFO: Loading image id=5 at address 0xc0100000 INFO: STM32 Image size : 807362 WARNING: Skip signature check (header
STM32MP157A-DK1보드�? �?�미지 다운로딩 중 오류가 �?�?니다.https://wiki.st.com/stm32mpu/index.php/STM32MP15_Discovery_kits_-_Starter_Package여기 �?료를 참고로 진행하다 오류가 �?겨 진행�?� 못하는 �?태입니다.보드를 구입 후 받았�?� 때 SD카드(기존�? ST�?서 제공해 주는 리눅스가 깔려 있�?� SD 카드)�? 다운로딩�?� 진행했습니다.현재 Host PC는 VirtualBox-Ubuntu20.04.1로 리눅스 환경 구축했으며 그 외�?는 참고 사�?�트 그대로 진행했습니다.답변 부�?드립니다.
I created a very simple module and placed it in /lib/modules/4.19.94/kernel/drivers.And do depmod -ae.And I confirmed that probe is possible with modprobe <driver name>.I expected this driver to load automatically after a reboot, but it didn't.This driver and device tree have the same compatible node.This can be confirmed by the fact that the port declared in devicetree is being operated correctly by modprobe.Could you tell me what is likely to be wrong?My device tree foo_peripheral_pins: foo_peripheral-0 { pins1 { pinmux = <STM32_PINMUX('F', 2, GPIO)>; output-high; }; }; foo_peripheral { compatible = "factory,fooperipheral"; status = "okay"; pi
Please refer to the release note for more information: STM32MP15 distribution for Android release note - v2.0.0
..
Hii,I am using stm32MP157C-DK2 with the default kernel.I am trying to integrate LAN9512 with stm32MP157C-DK2 I need a step to integrate the driver to stm32MP157-DK2 with LAN9512
i ask if possible to install linux on my board stm32h745i-disco , if yes .... is there link or material to explain steps ?
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.