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
16:15:34 : UR connection mode is defined with the HWrst reset mode16:15:34 : USB speed : High Speed (480MBit/s)16:15:34 : Manuf. ID : STMicroelectronics16:15:34 : Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x000016:15:34 : SN : 001B00303438510E3833363016:15:34 : DFU protocol: 1.116:15:34 : Board : --16:15:34 : Device ID : 0x050016:15:41 : Start Embedded Flashing service16:15:41 : Memory Programming ...16:15:41 : Opening and parsing file: tf-a-stm32mp157f-ev1-usb.stm3216:15:41 : File : tf-a-stm32mp157f-ev1-usb.stm3216:15:41 : Size : 220.38 KB16:15:41 : Partition ID : 0x0116:15:41 : Download in Progress:16:15:43 : File download complete16:15:43 : Time elapsed during download operation: 00:00:02.42116:15:43 : RUNNING Program ...16:15:43 : PartID: :0x0116:15:44 : Start operation done successfully at partition 0x0116:15:44 : Memory Programming ...16:15:44 : Opening and parsing file: fip-stm32mp157f-ev1-optee.bin16:15:44 : File : fip-stm32mp157f-ev1-optee.bin16:15:44 : Size
I am on part 4 of the digikey embedded linux series and i keep getting this error when running " bitbake custom-image" # ERROR: /home/matthew/Projects/yocto/meta-custom/recipes-core/images/custom-image.bb: Error during parse shell code, the last 5 lines are: # iterate to the next setting setting=`echo $remaining | cut -d ';' -f1` remaining=`echo $remaining | cut -d ';' -f2-` done WARNING: /home/matthew/Projects/yocto/meta-custom/recipes-core/images/custom-image.bb: Exception during build_dependencies for set_user_group WARNING: /home/matthew/Projects/yocto/meta-custom/recipes-core/images/custom-image.bb: Error during finalise of /home/matthew/Projects/yocto/meta-custom/recipes-core/images/custom-image.bb ERROR: Unable to parse /home/matthew/Projects/yocto/meta-custom/recipes-core/images/custom-image.bb Traceback (most recent call last): File "/home/matthew/Projects/yocto/poky/bitbake/lib/bb/pysh/pyshlex.py", line 600, in PLYLexer._parse(eof=True): elif self._state==self.ST_Q
Hi,I'm currently attempting to make my first Starter Package flash on STM32MP157D-EV1 by following this guide:https://wiki.st.com/stm32mpu/wiki/STM32MP15_Evaluation_boards_-_Starter_Package However, it seems that the TSV "trusted" folder is missing in en.flash-stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21.tar.gz package. Thus, the following command gives an error: STM32_Programmer_CLI -c port=usb1 -w flashlayout_st-image-weston/trusted/FlashLayout_sdcard_stm32mp157c-ev1-trusted.tsvError: The file FlashLayout_sdcard_stm32mp157c-ev1-trusted.tsv does not exist, please check the file's pathError: TSV flashing service failedI also see that the file exist in the previous package v5.15.Is their an issue with the 6.1 package or I missed something? How can I fix this?Thanks in advance.
Hi,I've been following along with the "Getting started" on the wiki, but I cannot set up the developer package for my STM32MP157x-DK2. Downloading the file and trying to extract the archives, I get the following:```adriaan@ZOBLZO21X5GY3:~$ cd STM32MPU_workspace/tmp/adriaan@ZOBLZO21X5GY3:~/STM32MPU_workspace/tmp$ lltotal 667536drwxr-xr-x 2 adriaan adriaan 4096 Jan 6 16:49 ./drwxr-xr-x 4 adriaan adriaan 4096 Jan 5 16:23 ../-rw-r--r-- 1 adriaan adriaan 262113357 Jan 6 16:45 en.SDK-x86_64-stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21.tar.gz-rw-r--r-- 1 adriaan adriaan 50 Jan 6 16:45 en.SDK-x86_64-stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21.tar.gz:Zone.Identifier-rw-r--r-- 1 adriaan adriaan 421422061 Jan 6 16:46 en.flash-stm32mp1-openstlinux-6-1-yocto-mickledore-mp1-v23-06-21.tar.gz-rw-r--r-- 1 adriaan adriaan 50 Jan 6 16:46 en.flash-stm32mp1-openstlinux-6-1-yocto-mickledore-mp1-v23-06-21.tar.gz:Zone.Identifieradriaan@ZOBLZO21X5GY3:~/STM32MPU_workspace/tmp$ tar xvf en.
Hello all, good day I hope your Christmas season is going well. I'm looking for a pdf document equivalent of the PDF that is attached to this post that gives description for STM32MP157F-DK2 HAL and low-layer drivers or a HAL API Manual/Programming manual to program our STM32MP157F-DK2 board using STM32CubeIDE. I tried searching the internet for anything of the sort but I couldn't find anything for my STM32MP157F-DK2 board please provide kind support as soon as possible thank you best regards.
I have developed a custom stm32mp157c board with a nand IC as storage using the FMC peripheral. This has worked fine with kernel v5.15, but I am trying to upgrade to kernel v6.1 due to driver related issues of the ethernet switch. However I can't seem to detect the mtd device anymore with the new kernel. I have done some digging and it seems it might be related to the new sys bus driver for the etzpc. The nand driver (FMC2) does currently not seem to load at boot.Can anyone point me in the right direction? Is dit an issue with my devicetree or is there something wrong in de kernel.
Hello, I've been attempting to get video output via the usb of the STM32MP157F-DK2 for some time now. From the research I've been doing, it seems as though there might be a possibility of it not being possible on certain hardware. Can anyone confirm if it is possible to do this on this board? And if someone has accomplished it, how did you do so? Thanks,
Hi Guys. I want to increase memory allocated to the eclipse, but I cant find the eclipse.ini fille. Could you direct me into a right direction?
Hi I am working on a custom board based on STM32MP157A . For USBH_EHCI while checking the register (USBH_EHCI_INSNREG05) mentioned in the reference manual (RM0436) it was mentioned to refer to UTMI specification. could you please suggest / share me the vendor specific UTMI specific document for the below attached image Thanks&RegardsSrikanth
I am setting up the fd-can protocol on stm32mp1, please let me know after creating the dts file from stm32mx , how to transfer that file to stm32mp1 to use, do I use the command root@stm32mp1:~# ls / sys/class/netend0 lo usb0 , it doesn't show that there is can0 , and I have another questionwhen I type like this there is flexcan , does it have any effect?root@stm32mp1:~# lsmodModule Size Used byflexcan 32768 0cfg80211 663552 0usb_f_ncm 24576 2u_ether 20480 1 usb_f_ncmlibcomposite 49152 10 usb_f_ncmstm32_adc 36864 0stm32_timer_trigger 20480 1 stm32_adcstm32_lptimer_trigger 16384 1 stm32_adcsnd_soc_stm32_sai_sub 28672 8snd_soc_audio_graph_card 16384 2snd_soc_simple_card_utils 20480 1 snd_soc_audio_graph_cardstusb160x 16384 0stm32_adc_core 20480 0stm32_hash 32768 0crypto_engine 16384 1 stm32_hashtypec 45056 1 stub160xstm32_vrefbuf 16384 1snd_soc_hdmi_codec 16384 1snd_soc_cs42l51_i2c 16384 1snd_soc_cs42l51 24576 1 snd_soc_cs42l51_i2csnd_soc_stm32_i2s 20480 2snd_soc_core 184320 6 snd_soc_st
after follow the wiki, the can0(m_can2) can not start up on stm32mp157d-dk1root@stm32mp1:~# dmesg | grep can[ 0.384348] can: controller area network core[ 0.384666] can: raw protocol[ 0.384678] can: broadcast manager protocol[ 0.384695] can: netlink gateway - max_hops=1[ 0.663370] m_can_platform 4400f000.can: no clock found root@stm32mp1:~# cat /sys/kernel/debug/clk/clk_summary | grep fdcanfdcan_k 0 0 0 74250000 0 0 50000 Nfdcan 0 0 0 104438965 0 0 50000 N
i have print the hello board on stm32mp135 board using below path.https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP135x-DK/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Create_a_simple_hello-world_application now i want to control gpio pin with this GUI .how i can do this ?
I am using emmc in place of SD-card for custom hardware of STM32MP135FAE7. If FlashLayout_sdcard_stm32mp135f-dk-optee.tsv file will work using STM32cube programmer to upload all boot files??Whether all procedure will be same for boot sequence as we do for STM32mp135f-dk development kit, like switch positions etc.?? Please clear this doubt!!!
I am trying to configure SPI5 on STM32MP151C where MPU is a master and ESP32C6 is a slave. The clock used in the device tree is HSI 64MHz. SPI driver is running with 2MHz configured and divisor in the SPI_CFG1 register is correctly set to 32. In the dmesg logs I could see that speed is set to 2MHz. What is actually measured with oscilloscope on a clk out is approximately a 1/1000 of configured frequency, around 1.8 kHz. Furthermore duty cycle is clearly not a 50%. Would appreciate any ideas what might be wrong. Could it be some other function configured on that same pin used for clock? Problem in the device tree?
Hi, I set MCO1 using HSE clock and get 8MHz working well (my HSE is 8MHz)But I need 16MHz or higher on MCO1, so I changed to MCO1 source clock by HSI but there is nothing.I tested other CSI, HSE, ... MCO1 work, except for HSI.I think there is something or register to enable HSI but don't know where/ what it isAnyone know how to enable HSI clock?
HelloI'm using stm32mp157aaa3 processor in our custom board.And I'm working on DDR3L with arm-trusted-firmware(V2.5) ddr3 routines as my reference code and reference manual(RM0436) and Application not(AN5168).When I am hard-coding the register values in arm-trusted-firmware it works fine which means my hardware is working fine,but when I'm porting the same code to bare-metal we couldn't read and write the ddr memory location and the ddr memory is not released.And I have also tried STM32DDRFW-UTILS.And here too i get the same issue.Could you please suggest me a way on how to assign memory size for ddr3l and release ddr memory in bare-metal and how to resolve the read and write issue. Thanks&RegardsAkshitha
In the file "Problem description.pdf" you find a description of my problem.I am using visualgdb to compile a Linux application using the GTK-Graphic running on the A7 core of the STM32MP157F-DK2 board.The build process principally works correctly, but there is a problem with user privilege settings.Does sombedy have any ideas how to tackle this problem ?
Hi,I'm trying to build core-image-minimal yocto project for my STM32MP157D-DK1 board according to digikey tutorial and I stuck at fetching m4projects dependency. Does anybody faces and resolved this issue?My build conf:Build Configuration:BB_VERSION = "2.0.0"BUILD_SYS = "x86_64-linux"NATIVELSBSTRING = "universal"TARGET_SYS = "arm-poky-linux-gnueabi"MACHINE = "stm32mp1"DISTRO = "poky"DISTRO_VERSION = "4.0.15"TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"TARGET_FPU = "hard"meta meta-poky meta-yocto-bsp = "kirkstone:f754b5d45b504e7486364ea9cfcb5f96086084bc"meta-oe meta-python = "kirkstone:402affcc073db39f782c1ebfd718edd5f11eed4c"meta-st-stm32mp = "kirkstone:311a492c21f0f3643f4b764f8b743c4c6908d31b"and error after invoking bitbake:ERROR: m4projects-stm32mp1-1.6.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="2291"; export SSH_AUTH_SOCK="/run/user/1000/keyri
Hello all, As part of the evaluation of the 32MP15 series, I was trying to build the u-boot and TF-A binaries. I tried the u-boot SPL bring up and it seems to be working fine (except for failure to launch the Linux Kernel, as per your late updates). For U-boot, I used : https://github.com/STMicroelectronics/u-bootAnd Build commands: $ make -j12 stm32mp15_defconfig $ make -j12 DEVICE_TREE=stm32mp157d-dk1 allFor TF-A binary, I used : https://github.com/STMicroelectronics/arm-trusted-firmware/tree/v2.8-stm32mpAnd Build command of BL32 (SP MIN mode):$ make -j12 ARM_ARCH_MAJOR=7 ARCH=aarch32 PLAT=stm32mp1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157d-dk1.dtb bl32 dtbsand Build command of BL2: make -j12 ARM_ARCH_MAJOR=7 ARCH=aarch32 PLAT=stm32mp1 STM32MP_SDMMC=1 STM32MP15=1 DTB_FILE_NAME=stm32mp157d-dk1.dtb LOG_LEVEL=40 DEBUG=1 and to generate FIP binary from TF-A Makefile, I used: $ make ARM_ARCH_MAJOR=
I have a custom built STM32MP131FAF7T board and can't set my VOUT2. The only line that is down is my VDD DDR Lines since I can't program my PMIC (STPMIC1DPQR) to have the VOUT2 to be 1.35 volts instead of 1.1 volts. My VCPU is at 1.2V, VDD is at 3.3V and VCORE is at 1.2V.
Hello,We will development IoT panel platform. We are examining STM32MP135 product for use in the project. However, there is something we are worried about. Is it possible to use VOIP SIP directly with this linux image?It will be used directly through the PBX server (asterisk, etc.).In fact, we are wondering whether we will need to do additional development at the linux kernel level. Can you publish example works for us?
Hey, I'm following the Getting started tutorial and have some troubles at the chapter "Modify, rebuild and reload the Linux kernel":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_kernel Everything works up until Building the Linux images withmake ARCH=arm uImage vmlinux dtbs LOADADDR=0xC2000040This creates the following error:CALL scripts/checksyscalls.shCC drivers/clk/clk-scmi.odrivers/clk/clk-scmi.c: In function ‘scmi_clk_round_rate_get’:drivers/clk/clk-scmi.c:49:33: error: ‘const struct scmi_clk_proto_ops’ has no member named ‘round_rate_get’49 | ret = scmi_proto_clk_ops->round_rate_get(clk->ph, clk->id, &round_rate);| ^~drivers/clk/clk-scmi.c: In function ‘scmi_clk_get_duty_cycle’:drivers/clk/clk-scmi.c:61:33: error: ‘const struct scmi_clk_proto_ops’ has no member named ‘get_duty_cycle’61 | ret = scmi_proto_clk_ops->get_duty_cycle(clk->ph,
I'm trying to use an ADV7280 videodecoder with DCMI and embedded linux on a board based on STM32157c-dk2. The decoder should output 720x576 picture resolution with the camera (PAL,CV) attached. However the DCMI seems to be in 'normal mode' which allows max 480x272 resolution based on app. note AN5020. How to change mode to circular buffer mode which should allow higher resolutions? I haven't found any linux device tree setups for that. Some settings for dma or dcmi ? Examples?
Hello all, good day I hope your Christmas season is going well. I'm looking for a pdf document that gives description for STM32MP157F-DK2 HAL and low-layer drivers. I tried searching the internet but I couldn't find it, (basically looking for an equivalent of the PDF that is attached to this post) for my STM32MP157F-DK2 board as I am using STM32CubeIDE to program it please provide kind support thank you best regards.
Hi all,We have a custom board based on stm32mp157f-dk2, with small changes. But we have an issue that the board will not wakeup after remoteproc0(m4) is turned off (cmd: echo stop > /sys/class/remoteproc/remoteproc0/state). When m4 firmware is running, wakeup source works. The dk2 board is ok, no such issue. What may be the cause? We have spent much time on it but no finding. Please give some advice...Attatch my devicetree as follow.
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.