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
I executed the following command in linux system:make -f Makefile.sdk all TF_A_CONFIG=trusted FTA_DEVICETREE=stm32mp15c-ev1but there is the following fault information:/bin/sh: 22: stm32wrapper4dbg: not foundI have a try to install it, this is not successful. (sudo spt-get install stm32wrapper4dbg)How to fix this question?
Hello I am trying to curl from a server using this command from my STM32MP157C-DK2curl -i -k -X POST -H "Content-Type: application/json" --data '{ "id":"2","timestamp":"200","data":"100"}' https://dv7knsjzph.execute-api.eu-central-1.amazonaws.com/prod/boxtronic-devices/2/data/but I am gettingcurl: (7) Failed to connect to dv7knsjzph.execute-api.eu-central-1.amazonaws.com port 443: No route to hostvi /etc/hosts/ gives me:127.0.0.1 localhost 127.0.1.1 buildrootHow can I do that. Thank you
Is it possible to boot over UART on the STM32MP157C-DK2? I set the BOOT pins as following:BOOT0 - OFFBOOT1 - OFFI am using the FT232 UART-USB Adapter and have connected the following pins:UART GND - CN16 GNDUART VCC - CN16 3.3VUART TX - CN14 ARD_D1UART RX - CN14 ARD_D0Here is the CubeProgrammer command and its output:´´´$ STM32_Programmer_CLI -c port=/dev/ttyUSB0 ------------------------------------------------------------------- STM32CubeProgrammer v2.5.0 -------------------------------------------------------------------Serial Port /dev/ttyUSB0 is successfully opened.Port configuration: parity = even, baudrate = 115200, data-bit = 8,  
Hello,No dev kit is available for STM32MP151x microprocessors, do you know if it is possible to replace the STM32MP157 chip by a STM32MP151 one on the STM32MP157A-DK1 ?I have read that STM32MP1 are pin to pin compatible, but I want to be sure and if someone has already done this, that would be interesting.Thank you in advance.Charles Blanchard
Hello,I'm trying to send a CAN frame with can-utils library on STM32MP157F-EVAL board.I read the following sites [1] and [2] and tried the commands:root@stm32mp1:~# ip link set can0 up type can bitrate 1000000 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 write: No buffer space availableno messages are sent and after some trys I get the error: No buffer space available.root@stm32mp1:~# candump can0candump also receives no frames. The opposite station sends can messages and they are arriving the stm32 eval board. I have measu
I am working on STM32MP1 DK2 as a Hobby Project, can anyone suggest me a complex project to get to a linux + RTOS based project developement. I want to get an hands on idea on RTOS + Linux project. I saw a video of Zephyr project with Intel which ran linux and RTOS by partitioning SD Card, I would like to work on such a complex project. Please help me with good resources on such projects?
We have a custom board based on the STM32MP157 series, and are trying to get the TF-A boot chain working. We have downloaded and compiled the linux kernel, u-boot, and arm-trusted-firmware for the STLinux ecosystem v2. We can boot to u-boot, and the kernel decompresses and begins running, but it appears that none of the peripheral clocks are accessable (I2C, SPI, SDMMC etc).My question is what part of the boot chain is repsonsible for initilizeing the non-secure rtt clocks? Is it uboot? I don't see any initialization there. I don't think it's the kernel, but please correct me if I am wrong. I see some Cortex M4 code generated by the CubeMX took, is it REQUIRED that the M4 initialize the non-secure rtt clocks?
Hi AllIf you create a distribution with RTL8723BU enabled in the Linux kernel and boot, you will see the error message below.[ 30.102790] usb 2-1.2: 1f8: ff ff ff ff ff ff ff ff[ 30.106213] usb 2-1.2: RTL8723BU rev E (SMIC) 1T1R, TX queues 3, WiFi=1, BT=1, GPS=0, HI PA=0[ 30.118408] usb 2-1.2: RTL8723BU MAC: 34:c9:f0:8d:fc:72[ 30.124300] usb 2-1.2: rtl8xxxu: Loading firmware rtlwifi/rtl8723bu_nic.bin[ 30.131982] usb 2-1.2: Direct firmware load for rtlwifi/rtl8723bu_nic.bin failed with error -2[ 30.141236] usb 2-1.2: request_firmware(rtlwifi/rtl8723bu_nic.bin) failed[ 30.146569] usb 2-1.2: Fatal - failed to load firmware[ 30.155477] rtl8xxxu: probe of 2-1.2:1.2 failed with error -11If you search for the "rtl8723_nic.bin" file on the entire Linux system, it doesn't exist.Is there any other way to use RTL8723BU in "Ecosystem V2.0.0"?The method shown on the ST WiKi site is not a solution as it assumes
Hello ST Teams!Question, again! I'd like to know if the image "st-image-core" or "st-image-weston" are compatible with the "read-only-rootfs" from yocto append? (thud or dunfell) Well I've already tried on the st-image-core and bitbake compilation failed, saying something about user-fs.Any hints would be welcome!Have a nice confined day!
Hello,I try to build the kernel for the first time on my Ubuntu 18.04 new install.Following the step by step Wiki build kernel.make ARCH=arm uImage vmlinux dtbs LOADADDR=0xC2000040The compilation runs fine for many files until this step.Thank you by advance for any suggestion.Regards*****************drivers/clk/clk-stm32mp1.c:1925:12: error: 'PCLK1' undeclared here (not in a function); did you mean 'PCLK'? 1925 | DIV_TABLE(PCLK1, "pclk1", "ck_mcu", CLK_IGNORE_UNUSED, RCC_APB1DIVR, 0, | ^~~~~drivers/clk/clk-stm32mp1.c:1260:9: note: in definition of macro 'DIV_TABLE' 1260 | .id = _id,\ | ^~~drivers/clk/clk-stm32mp1.c:1928:12: error: 'PCLK2' undeclared here (not in a function); did you mean 'PCLK'? 1928 | DIV_TABLE(PCLK2, "pclk2", "ck_mcu", CLK_IGNORE_UNUSED, RCC_APB2DIVR, 0,
Hi, I'm trying to generate secure boot keys using native linux tools. I assumed the secureboot format would be documented, but all I found was links to STM32MP_KeyGen.I can use openssl to generate ECDSA keys, and also get publik keys out. I am at teh point where I can take the private key from STM32MP_KeyGen, and convert it to a public key:openssl ec -in private-key.pem -pubout -out public-key.pemHowever, what I can't figure out is how to get the SHA256 hash of the public key in a way that I can burn in the OTP fuses. openssl hash functions give a different result than the one generated by STM32MP_KeyGen. What is the format that the chip expects?
Hello,I am completely newby on embedded linux stuffs.Can any one tell me how to drive any available LED on the STM32MP157C-Dk2 board by using the linux shell commands.Unfortunatelly i did not find the information on the wiki stm32mcu.Thank you by advance.
Hi all.I want to prevent the contents of "RETRAM" from being erased when I run the firmware with m4 rproc on "OpenSTLinux"."RETRAM" is powered by the battery through the VBAT pin to maintain data.To this end, TF-A was also modified to set and maintain the value of "PWR_CR2_RREN" in the "PWR_CR2" registry.In the "Engineering Mode" where M4 Firmware can be run on its own, "RETRAM" data is well maintained. However, when you boot into "OpenSTLinux" and load the firmware into M4 rproc and debug it, the contents of "RETRAM" are initialized.The following is the contents of the "RETRAM" related ld file.MEMORY{ m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x00000298 m_retram (RWX) : ORIGIN = 0x00000400, LENGTH = 0x0000FC00 m_text (RX) : ORIGIN = 0x10000000, LENGTH = 0x00030000 m_data (RW) : ORIGIN = 0x10030000, LENGTH = 0x00010000 m_ipc_shm (RW) : ORIGIN = 0x10040000, LENGTH = 0x00008000}SECTIONS{
I have a pair of DK1 boards I just received that I wanted to get working with wifi direct, but neither even can show a wlan0 interface. In the past I have used a DK2 with buildroot and got the wlan0, and a coworker used stock yocto build on the DK2 and said wlan0 was there too. Is there some problem with the DK1?#first check:root@stm32mp1:~# ifconfig -aeth0 Link encap:Ethernet HWaddr 00:80:E1:42:70:CC UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) &nbs
Hi:Anyone familiar with this issue?When I plug in the network cable, the following information will be printed later:[ 373.607360] ------------[ cut here ]------------[ 373.610551] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:447 dev_watchdog+0x300/0x304[ 373.618870] NETDEV WATCHDOG: eth0 (stm32-dwmac): transmit queue 0 timed out[ 373.625765] Modules linked in: aes_arm_bs crypto_simd cryptd algif_skcipher brcmfmac cfg80211 galcore(OE) hci_uart brcmutil btbcm stm32_cec spi_stm32 sch_fq_codel ipv6 nf_defrag_ipv6[ 373.642115] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G OE 5.4.31 #1[ 373.649368] Hardware name: STM32 (Device Tree Support)[ 373.654536] [<c01124dc>] (unwind_backtrace) from [<c010d784>] (show_stack+0x10/0x14)[ 373.662275] [<c010d784>] (show_stack) from [<c0bead54>] (dump_stack+0xb0/0xc4)[ 373.669510] [<c0bead54>] (dump
Hi, I'm trying to make a headless system using the STM32MP153 and I would like to disable all graphical layers in the standard distribution.I'm using openstlinux-5.4-dunfell-mp1-20-06-24 (ECO V2 I believe)I have made my-own distro layer and was able to bitbake st-image-core( have added to my own_distro.conf file:DISTRO_FEATURES_remove = " wayland "DISTRO_FEATURES_remove = " x11 ")Next step is to remove the graphical layers starting with qt5If I do a bitbake-layers show-layers I don't want to find meta-qt5 (or meta-gnome, meta-xfce)Question: how do I do that?BTW I'm using the STM32MP157C evaluation board to get my headless distro up and running.
The kernel cannot be started in a loop, as long as I use TF-A+UBOOT to start the kernel
Hi is there a list, or sorts, with the examples that should work for the DK1 dev board from the DK2 examples?
I use STM32MP151CAA3 Cortex-M4 on my custom board.I got fault report from uVision debugger when __main called in my startup assembler code.https://www.keil.com/support/man/docs/uv4/uv4_cp_m347_faults.htmMemory Manage Faults DACCVIOL (Data access violation flag) are checked.SCB->MMFAR ( Mem Manage Fault Address Register located at memory address 0xE000ED34) shows 0x10060000.The address is region that Cortex-M4 cannot access, so I'm not accessing that region in my program.Why above fault report occurs?How can I investigate the cause of the Fault Reports?Best Regards.H. Masuda
Hi All,with serial ttySTM2 9600 data exchange makes the cpu stall:modified usart.c driver code to support schedule worker threadi am getting a cpu0 and cpu 1 stall attached is the loghas any faced this rcp preempt issue
..
I am working with the STM32MP157 creating an SD card image using OpenSTLinux. I would like to use RAUC to perform updates but to do so I need to create a second rootfs partition. One active partition and the other for updates. I couldn't find in the wiki how to modify the partitions and general flash layout. Does anyone have any recommendations on where to start looking or what to modify in OpenSTLinux to modify the generated partition layout. Also any advice with RAUC is appreciated. https://github.com/rauc/rauc
Hello,I used to develop bare metal applications on STM32MP157 discovery kit, but I can only debug Cortex-M4 with ST-LINK. I would like to debug both Cortex-A7 and Cortex-M4, do I need to get an evaluation board with a JTAG interface? I want to develop bare applications for Cortex-A7 cores, not running Linux on them.I ran into this board http://www.myirtech.com/list.asp?id=624 when searching for a board with a JTAG interface. What do you think of those?Kind regards,
What I want to achieve is starting the DFU ROM bootloader (like on a MCU) from a running Linux (maybe via a dedicated kernel module) or, if this helps, via re-configuring u-boot and doing a software reboot cycle.
Hello everybody,Here is my problem. I am using the buildroot distro instead of OpenSTLinux and want toconnect my STM32 via ethernet using SSH. I use MobaXterm as remote control software.P.s After a system boot I get the following response although the ethernet LEDs are not blinkingbuildroot login: [ 4.237860] stm32-dwmac 5800a000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 4.251707] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes readyAfter ifconfig -a I get the following response:eth0 Link encap:Ethernet HWaddr 00:80:E1:42:6B:16 inet addr:192.168.8.45 Bcast:192.168.8.255 Mask:255.255.255.0 inet6 addr: fe80::280:e1ff:fe42:6b16/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:107 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:10299 (10.0 KiB) TX bytes:866 (866.0 B) Interrupt:60 Base addres
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.