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
..
Hi,I am using stm32mp157a processor in my custom board. Fsbl and ssbl is booting from Sd card.When i try boot through Emmc it is not working,even files are not loading. I have followed below link for emmc booting https://community.st.com/s/question/0D53W00000HypghSAB/emmc-questionsWhen i enter ext4load mmc 0:4 0xC0000000 tf-a-stm32mp157a-dk1.stm32 command in u boot prompt it is showing below Error.Failed to load tf-a-stm32mp157a-dk1.stm32. What is the issue.How can i resolve this error.
We're using Ecosystem 2.1.0 still (I know!).I'm using the CubeMX autogen code i.e.rcc_pins_mx: rcc_mx-0 { u-boot,dm-pre-reloc; pins1 { u-boot,dm-pre-reloc; pinmux = <STM32_PINMUX('G', 2, AF1)>; /* RCC_MCO_2 */ bias-disable; drive-push-pull; slew-rate = <1>; }; pins2 { u-boot,dm-pre-reloc; pinmux = <STM32_PINMUX('I', 11, AF0)>; /* RCC_MCO_1 */ bias-disable; drive-push-pull; slew-rate = <0>; }; }; rcc_sleep_pins_mx: rcc_sleep_mx-0 { u-boot,dm-pre-reloc; pins { u-boot,dm-pre-reloc; pinmux = <STM32_PINMUX('G', 2, ANALOG)>, /* RCC_MCO_2 */ <STM32_PINMUX('I', 11, ANALOG)>; /* RCC_MCO_1 */ }; }; If this is in U-Boot's devicetree, U-Boot locks up with no message on start-up.If I take it out of U-Boot's devicetree but leave it in the kernel's, U-Boot starts up fine but the kernel locks up, again with no panic or other output.
Hello We are unable to write into USBH registers in stm32mp157. Actually, we enabled USBHEN and USBHLPEN bits in AHB6ENSETR and AHB6LPENSETR registers. Then we are unable to access USB memory. We tried other peripherals same way means enabling clock in rcc registers and accessing respected peripherals memories. Now what is the issue to USB and How can I access USBH memory. we followed RM0436 manual.Thanks & regardssrikanth
Hi, I tried burning my STM32MP1 board with existing "FlashLayout_emmc_stm32mp157a-ev1-trusted.tsv" file but it throws following error - Error: TSV files are only supported for STM32MPI'm using onboard eMMC (From Kioxia) and STM32MP157AAD3 chip from ST. I have attached snapshot of log. and I'm extremely in need of supportuser@user:~/STM32MPU-Ecosystem-v4.0.0/Starter-Package/stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/images/stm32mp1$ STM32_Programmer_CLI -c port=usb1 -w flashlayout_st-image-weston/trusted/FlashLayout_emmc_stm32mp157a-ev1-trusted.tsv ------------------------------------------------------------------- STM32CubeProgrammer v2.11.0 ------------------------------------------------------------------- USB speed : High Speed (480MBit/s) Manuf. ID : STMicroelectronics Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000 SN : 0019002C3431511733353431 DFU protocol: 1.1 Board : -- Device ID : 0x0500 Device name : STM32MP1 Device t
Hi,teamCurrently, I'm designing a PCB with "STM32MP151AAD3T".I'm designing our own PCB with reference to "STM32MP157x-EV1".When developing software using this EVM, the connection to PC shown in the attached figure is recommended as following URL.(https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-EV1/Let%27s_start/Unpack_the_STM32MP157x-EV1_board)I have questions about the connection with two connectors as follows.Q1. About "ST-LINK/V2-1 Connector"Is it correct to consider that connecting this USB connector to a PC is equivalent to connecting via ST-LINK?For the PCB I'm designing, I want to use a JTAG connector to connect ST-LINK instead of the USB connector.Q2. About "USB OTG Connector"What can I do by connecting the USB OTG connector to a PC?Best regards,
root@stm32mp1:~# uname -a Linux stm32mp1 5.15.24 #1 SMP PREEMPT Wed Feb 16 11:56:41 UTC 2022 armv7l armv7l armv7l GNU/Linux root@stm32mp1:~# pacmd list-sinks-inputs No PulseAudio daemon running, or not running as session daemon. root@stm32mp1:~# alsamixer ALSA lib ../../alsa-plugins-1.2.6/pulse/pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Access denied cannot open mixer: Connection refused root@stm32mp1:~# root@stm32mp1:~# aplay /usr/local/demo/media/ST12266_269_full_technology-freaks_0160.ogg ALSA lib ../../alsa-plugins-1.2.6/pulse/pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Access denied aplay: main:831: audio open error: Connection refusedMy board is STM32MP157F-DK2. As expected I can't hear anything, but in SDK V3.X.X everything works fine.Please fix the bug as soon as possible.
hi, i'm stuck starting usbh_hs2 from u-booti can already start usbh_hs1 at boot, in order to load kernel and fs from an usb mass storage. i wish to do the same with usb_hs2, is that possible? is one configuration from DTS or from U-boot source code? ps. i'm starting u-boot from mmc, then detect usb mass storage and start alla the system from there thank you !!!
Hi,teamI'm developing a PCB using the following parts now.*********************STM32MP151AAD3T(MCU)STPMIC1APQR(PMIC)MT41K256M16TW-107:P(DDR3L)*********************The VDD and VDDQ voltages of the "MT41K256M16TW-107:P(DDR3L)" are 1.35V, but the default voltage of BUCK2 is 1.1V.(It is recommended to supply power from BUCK2 to DDR)Therefore, the voltage setting of BUCK2 must be changed from 1.1V to 1.35V.Does the bootloader do this? (it cannot be set by the user program, because DDR is not launched)Best regards,
Hello All,forgive me if this as an obvious mistake but I'm completely new to TouchGFX. I'm using STM32 MPU, with Cube, FreeRTOS and TouchGFXI have created a page in TouchGFX using the digital clock object, I have created a TickEvent to update the clock.The Tick even is being called and if I put literal numbers into setTime24Hour, they are displayed correctly and can even be updated. The RTC is used throughout the rest of the code and is working fine, the code complies without any warnings.When I use the code (below) I only get 00:00:00 on the displayAny ideas?All the bestDren*****************************extern RTC_HandleTypeDef hrtc;void PageView::handleTickEvent(){ RTC_TimeTypeDef sTime; if ( HAL_RTC_GetTime(&hrtc, &sTime, RTC_FORMAT_BCD) != HAL_OK ) Fatal_Error(); digitalClock1.setTime24Hour(sTime.Hours, sTime.Minutes, sTime.Seconds);}
Hi,I am following the steps in STM32MP15 Evaluation boards - Starter Package - stm32mpu. I am using Ubuntu 20.04 on Oracle virtualbox 6.1.40STM32CubeProgrammer is v2.11.0, and STM32MP1-Ecosystem-v4.0.0 release stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15.I am trying to execute STM32_Programmer_CLI -c port=usb1 -w flashlayout_st-image-weston/trusted/FlashLayout_sdcard_stm32mp157f-ev1-trusted.tsv but then it throws me the error message:Memory Programming ...Opening and parsing file: st-image-bootfs-openstlinux-weston-stm32mp1.ext4 File : st-image-bootfs-openstlinux-weston-stm32mp1.ext4 Size : 64.00 MB Partition ID : 0x10 Download in Progress:[======================================== ] 80% Error: failed to download Segment[0]Error: failed to download the FileError: Download partition 0x10 failedError: TSV flashing service failedAny suggestion for this?
After following the wiki page "how to create your board device", I am exactly in the situation indicated at the end of this page : "The execution should fail just after the "Booting BL32" notice, because state definitions are missing in the device tree (in the pwr node overlay)".For information, I don't use the Yocto (layers etc) env and the full OpenSTLinux distrib, but rather a custom buildchain and the ***-stm32mp-r2 sources (TF-A 2.4, U-boot 2020.10 & linux 5.10 with lightened conf). All of this works well on the EV-1 board using the associated ST conf (dts etc.) and I am now trying to port all that on a custom board.In my porting task, I am then guessing the next step is to add custom-made conf in device trees, especially the pwr node. I would get inspiration from the EV-1 dts but my custom board does not have a PMIC as our stm32mp151 doesn't need to manage low power modes (which should make it more simple?), among other little differences.Where could I find ressources / doc /
We have a custom design on STM32MP157 doesn't use PMIC.We have custom uboot that run STM32MP157F-DK2 which has PMIC enabled.We tried to set [=n] on some CONFIG_*** related to PMIC but when build it cause errorsDoes anyone have hints how to bypass PMIC?
Hi there, I'm following all the steps described in Distribution-package to compile the yocto build for STM32MP157F-DK2 (stm32mp1). And at the beginning of the compilation (bitbake st-image-weston) I am getting the message : .....openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-st/meta-st-openstlinux/recipes-st/images/st-image-resize-initrd.bb: ENABLE_PARTITIONS_IMAGE not enabled is it a problem? Did I miss something? Thanks Simone
Hi experts and community!(Still on DISTRO_VERSION = "3.1.11-snapshot-20221108")Following the instructions https://wiki.stmicroelectronics.cn/stm32mpu/wiki/How_to_create_your_own_machineI tried to create a custom machine.mx└── stm32mp1-custom ├── kernel │ └── stm32mp1-custom.dts ├── optee-os ├── tf-a │ ├── stm32mp15-ddr-512m-fw-config.dts │ ├── stm32mp1-custom.dts │ └── stm32mp1-custom-fw-config.dts └── u-boot ├── stm32mp1-custom.dts └── stm32mp1-custom-u-boot.dtsFor the first "simple" test, I took the dts files for the stm32mp157f-dk2 board (and not from CubeMX).The MACHINE configuration looks like this:#@TYPE: Machine #@NAME: stm32mp15-custom #@DESCRIPTION: Configuration for STM32CubeMX generated project #@NEEDED_BSPLAYERS: layers/meta-openembedded/meta-oe layers/meta-openembedded/meta-python ########################################################################### # # Default machine configuration sections # ################################
Hi, Can we use a DDR3L from Winbond with part number W634GU6NB-11 (Speed bin 1866) with STMPU STM32MP1ADD3. As STM32MP1 datasheet suggest that it can support up-to 1066. So using above part from Winbond will have any interface issue ? Thanks. Hi @Community member can you please share your input on above issue.
The RGB PANEL will not work and cannot generate device nodes,linux version v5.15-stm32mp-r1,I see your Wiki page has this problem as well:[ 0.100769] platform 5a000000.dsi: Fixing up cyclic dependency with 5a001000.display-controllerCould you please confirm the problem? I have checked the device tree and it is OK in 5.4。What should I do?
Hello We are using STM32MP157A-dk1 evaluation board. To this we are writing bare metal code in SEGGER Embedded Studio. We have written code for all three cores (A7_0,A7_1,M4). Individually we are able to debug(with limitations), For final testing we would like to debug one processor(one of the core) while other are running. How to load code to other cores to run/simulate actual system. We are debugging only one core but others should be in running. How to load code and put them in full run state for application testing. Example situation: In this case STM32MP157 has two cortex A7 and one cortex M4. We would like to debug cortex M4, while other two cores running independently. For this We need to put boot mode pins in JTAG mode(for M4 debugging). Then Both A7 will not boot at all. Alternatively, we put Boot mode to QSPI(any device other than JTAG) so that Both Cortex A7 are running. Also, We can activate M4.  
I am using STM32MP1 EV board.
I have LCD COG with ST7586 Controller but my device must by drive this LCD by FMC ( backward compatibility ) How can I Drive this LCD from Linux ? I found driver stm32mp1-fmc2-nfc for using FMC by Micrel ETH but i'm not have any idea for use it for LCD.
We built a customised board based on the stm32mp175c-dk2, with some changes, one of which was the addition of two USB type-c connectors.When I try to use the USB in DFU mode, everything works fine, as long as the boot switch is turned off. When I turn the switch on, my computer does not "see" the USB at all. The same image is used on both the stm32mp175c-dk2 and our board. My computer sees the USB in stm32mp175c-dk2, but our board does not.Anyone who can help me with this problem, as I am unable to establish an ssh connection using ethernet-over-usb?I want to usb USB_DM/P 2 in our connector I have change the DNP resistors to use USB 2 instead of USB 1
helloWe are using STM32MP157A-dk1 evaluation board. To this we are writing bare metal code in SEGGER Embedded Studio.Actually, We have enabled group and set enable registers for respected SGI and PPI interrupts in GICC and GICD registers. By this we are able to generate SGI and PPI interrupts for cortex A_0 but unable to generate for cortex A_1. what might be the issue ?regards srikanth
Hello,I created a new project in STM32CubeIDE for my STM32MP157A by using STM32CubeMX. In it I enabled UART and FreeRTOS on CMSIS-RTOSv2 and that's all. I use the auto generated code.Then I wanted to use TraceAlyzer on top of FreeRTOS however, upon including#include "trcRecorder.h"In the FreeRTOSConfig.h I got a strange error:/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c:154: multiple definition of `SysTick_Handler'; ./Core/Src/stm32mp1xx_it.o: ./CM4/Core/Src/stm32mp1xx_it.c:160: first defined hereThe SysTick_Handler is defined in both files, here are the implementations if it may help:in cmsis_os2.c :/* SysTick handler implementation that also clears overflow flag. */ void SysTick_Handler (void) { /* Clear overflow flag */ SysTick->CTRL; if (xTaskGetSchedulerState() != taskSCHEDULER_NOT_STARTED) { /* Call tick handler */ xPortSysTickHandler(); } } #endif /* SysTick */In stm32mp1xx_it.c :/** * @brief This function handles System tick timer
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.