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 there,I have a custom board (with eMMC) that freezes in the middle of kernel loading:I am under the impression it is related with the rootfs.ext4, becuase it does not try the loading, but I am not sure yet.Flash table is the following (I don´t use all the rest of partitions):Is there any way I can debug or any way to understand what is going on?Thank you in advance.
Hi Im using a STM32MP157-DK2 with a OpenSTlinux. I load my .elf file of for the M4 to /lib/firmware/ and starts it by chaning the state to start in remoteproc. The problem I have is that remoteproc seems to not run the code from the beginning of the main function. I have added some GPIO debugging outputs to see if they are activated but not all of them are activated. The code seems however to be work fine and the UARTs and ADC etc that are initialized and do work. So they are obviously initialized correctly... If I then stops the process by sending stop to remoteproc and then re-starts by sending start, all debug outputs are activated. Meaning that the program restarts from the beginning of main. In the below example, the GPIO will not toggle at first start, but it toggle during the second start. int main(void) { /* USER CODE BEGIN 1 */ //HAL_Init(); MX_ADC1_Init(); MX_ADC2_Init(); HAL_DeInit(); /* USER CODE END 1 */ /* MCU Configuration---------------------------
hi expertsfor me this is the first time to use STM32MP1 family before i used powerpc-family CPU.with powerpc when i attached external ICs, in 8 bit CPU-A0 to external IC- A0in 16bit CPU-A1 to external IC-A0 with byte enable signalsis it the same way when i use STM32 FMCin STM32MP157-EV1 and STM32MP157-DK when 16bit and 32bit DDR accessed CPU A0 connected DDR A0so i wonder that STM32's AXI or AHB of CPU do some address connnection thank you
Hello everyone,I've a question. I want to use a Cortex-A7 on STM32MP13x or STM32MP15x for my project and I would like to parallelize my application. Can I use OpenMP on STM32CubeIDE? Is there a difference if I use OpenSTLinux?
Setting SIGN_KEY_stm32mp15 leads to an error As described here: https://wiki.st.com/stm32mpu/wiki/How_to_perform_Secure_Boot_from_Distribution_package Set and adapt these variables: echo 'SIGN_KEY = "key/stm32mp15/privateKey.pem" ' >> conf/local.conf echo 'SIGN_KEY_stm32mp15 = "key/stm32mp15/privateKey.pem" ' >> conf/local.conf echo 'EXTERNAL_KEY_CONF = "1" ' >> conf/local.conf echo 'SIGN_KEY_PASS = "<password of signature key>" ' >> conf/local.conf echo 'SIGN_ENABLE = "1" ' >> conf/local.conf echo 'SIGN_TOOL = "<path to STM32MP_SigningTool tools>" ' >> conf/local.confDISTRO=openstlinux-weston MACHINE=stm32mp15-eval source layers/meta-st/scripts/envsetup.shbitbake st-image-coreERROR: /st/layers/meta-st/meta-st-stm32mp/recipes-bsp/trusted-firmware-a/tf-a-stm32mp_2.8.bb: [sign-stm32mp] 1 Please make sure to configure "SIGN_KEY_stm32mp13" var to key file.ERROR: Parsing halted due to errors, see error messages aboveIt
CubeIDE coding section part freezes in my second monitor even though I can restart the program from the file top down menu but it's quite annoying. Is there anyone experienced the same issue ? What would your suggestion be to overcome it ?Distro: Ubuntu 22.04Java is the latest version.Computer is in Performance mode.
I wanted to file this on your github page but the issues tab is not available.When using your latest version of TF-A (https://github.com/STMicroelectronics/arm-trusted-firmware/releases/tag/v2.8-stm32mp-r1.1) self-signing (TRUSTED_BOARD_BOOT=1 ROT_KEY=privateKey.pem GENERATE_COT=1) for some reason does not work with mbedtls version > 2.28.2.Latest LTS version is 2.28.5 i tried all versions down from .5 - . 2The board wont boot I get error -80 ie. Authentication errorI'm using buildroot 2023.2.6Just so you guys know. :)Cheers !
Hi Team, I am working on DDR3L batch simulation in Hyperlynx with STM32MP131 series processor. While assigning the appropriate ODT models, I am getting some errors with respect to IBIS model. So please help me in rectifying the issuesPFA error log as wellAlso, currently I am using STM32MP135 series IBIS file for STM32MP131 I could not find the proper IBIS file. If any IBIS is there for STM32MP131 please do share that as well Warm Regards,Mythili B
Hi there,I have a custom board based on STM32MP157F, with USB2 connected to STM32CubeProgrammer for flashing the eMMC. No USB-ID, no USB-VBUS connected.The STM32CubeProgrammer downloads the FSBL and U-Boot, but the software does not reconnect as "USB download gadget", it starts again. I believe the problem is related to the following, but not sure.We have tried quite a few things in the u-boot dts and dtsi, but nothing gets it working as it should be.I appreciate any help, thanks.
i am using stm32mp135-dk board i am install the STM32MP1-Ecosystem-v5.0.0 Starter Package now i want to connect the board with my laptop using putty software ,i have the ip address of the board but did't have the password of the board. what will be the default password??
Hello! Is it feasible to start FBSD kernel?So far I stuck with following error (seems to be from tf-a): Loading kernel... /boot/kernel/kernel text=0x1b4 text=0x5ad698 text=0x17e3d0 data=0xa4860 data=0x0+0x20c000 0x4+0x88d70+0x4+0xea43b| Loading configured modules... can't find '/etc/hostid' can't find '/boot/entropy' Using DTB compiled into kernel. Kernel entry at 0xc0400200... Kernel args: (null) metadata: filename:/boot/kernel/kernel, size=11874740 loadaddr=0xc0400000 ERROR: Illegal access to 0xffff0010: ERROR: FAIL_ID = 0x4c0 ERROR: Non-Secure ERROR: Privilege ERROR: Read PANIC at PC : 0x2ffc97b1 Exception mode=0x00000016 at: 0x2ffc97b1 I'm sure, that control passes to the kernel _start point. Any clues?
Hi All, I am working on board bring-up of custom board based on STM32MP157f-DK2. I am using the Starter Package provided by ST. I am able to flash SD card and boot the DK board, via USB interface, but I am facing some issue when I flash via UART interface, the CubeProgrammer software hangs and is not able to finish the flashing process. In our custom board which has STM32MP151fAC1 microprocessor, we have only UART interface, therefore we are not able to flash sd card with the image.It would be really appreciative if anyone can provide me with some lead in this issue.
https://community.st.com/s/question/0D53W00000PoivmSAB/changing-the-emmc-pins-with-otpI have the same pin mapping as above: SDMMC2_CK - PE3 (AF09)SDMMC2_D0 - PE6 (AF07)SDMMC2_CMD - PG6 (AF10)I programmed the OTP fuses as follows:WORD 3: 0x23000004 (I also program SD as primary and eMMC as secondary)WORD 5: 0x56755395WORD 6: 0x000076A4The problem is that even after flashing the eMMC with the TFA image as per the following procedure: https://u-boot.readthedocs.io/en/latest/board/st/stm32mp1.html#prepare-emmc I still get nothing on the UART4 console.We also put a scope on the SDMMC2_CK line and no clock is detected. Does it mean the BootROM is not accessing the eMMC?Am I missing something?
I am trying to migrate from ecosystem 4.1.0 to 5.0.0 however after getting all the device trees to compile and build plus a new image I am encountering a Panic in optee. The problem is that it just says Panic and I can't tell based on the debug prints which direction to take.The board is a custom design based on the stm32mp157a-dk1 and all the vital components are the same (PMIC, SDMMC, etc)Any suggestions on how I could debug this further?I have attached the full debug console logs and is what I get from the console without the optee debug prints since it's too many lines: �NOTICE: CPU: STM32MP153AAC Rev.Z NOTICE: Model: STMicroelectronics custom STM32CubeMX board - openstlinux-6.1-yocto-mickledore-mp1-v23.06.21 NOTICE: Board: MBfdd8 Var2.15 Rev.B-14 INFO: Reset reason (0x15): INFO: Power-on Reset (rst_por) INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe2000 INFO: FCONF: Reading firmware configuration information for: stm32mp_io INFO: Using SDMMC INFO: Instanc
I'm using STM32CubeProgrammer to flash my custom target using an STM32MP153AAA MPU. I have onboard a 4GB eMMC memory. During the programming process through DFU all seems good and finishes at 100% but then sits for a bit and I get errors. Seemingly TF-A is crashing or not starting after load. I'm searching for causes and how to fix. Attached is my TSV file using in the programmer. I'm using EcoSystem 4.1.0.
With reference to RM0436, the STM32MP157 Reference Manual, revision 6.On pages 1066 and 1072 the schematic structures of a GPIO port are drawn (figures 119, 120, and 122). These all show an inverter circle on the gate of P-MOS output transistor and none on the N-MOS transistor. This suggests that the P-MOS is active low and the N-MOS is active high.However, the written documentation states the opposite: that the P-MOS is active high (pulls the output pin high for a "1" bit unless in open-drain mode) and the the N-MOS is active low (pulls the output pin low for a "0" bit).From experience I believe that the written documentation is correct, so should the schematic not be redrawn to show the inverter circle on the gate of the N-MOS output transistor?Attached please find annoted screen shots of the pages in question.
I have transplanted the latest opencv-4.8.1 on the STM32MP135F-DK Discovery Board and run a program to capture video stream from a camera on the borad.I found if I cmake the opencv-4.8.1 source code with "-DWITH_GSTREAMER=ON -DBUILD_GSTREAMER=ON",and when I am getting the camera data stream in the test program, the gstreamer library on the board reports the following error.(opencv_camera:2589): GStreamer-CRITICAL **: 19:26:41.671: gst_sample_get_caps: assertion 'GST_IS_SAMPLE (sample)' failed[ERROR:0@95.876] global cap_gstreamer.cpp:925 retrieveVideoFrame GStreamer: gst_sample_get_caps() returns NULLThen I cmake the opencv-4.8.1 source code with "-DWITH_GSTREAMER=OFF -DBUILD_GSTREAMER=OFF", the errors are gone and the test program runs normally.I think it might be that the opencv I compiled is not compatible with the gstreamer library included in the SDK.Is my understanding right? the version of the opencv I compiled:opencv-4.8.1the version of the gstreamer library included i
Hi,Currently we are working on a design with STM32MP131A MPU. We came across "Getting started with STM32MP13x lines hardware development" document in that JTAG connector pinouts mentioned is matching with STLINKV2 whereas in our design we have used the below pinouts(as per image) which will be matching with STLINKV3 pinoutsSo, Please suggest us whether can we go with STLINKV3 pinouts or STLINKV2 pinouts for JTAG connector
Hello, I'm changing the DDR3 size from 512MB to 1GB on the STM32MP135F-DK board. The modifications were done as below. After that, I met the OPTEE header parse error. Compilation and updating software on board was conducted according to the ST wiki. ( https://wiki.st.com/stm32mpu/wiki/How_to_cross-compile_with_the_Developer_Package ) Please help me to solve this problem. change from 0x20000000 to 0x40000000 stm32mp135f-dk.dts in Linux Kernel, U-Boot, TF-A, and OP-TEE stm32mp135f-dk-fw-config.dts in TF-A stm32mp13-ddr3-1x8Gb-1066-binF.dtsi in TF-A (DDR_ADDRMAP6 0x0F070707 ==> 0x07070707) conf.mk in OP-TEE Thanks. NOTICE: CPU: STM32MP135F Rev.YNOTICE: Model: STMicroelectronics STM32MP135F-DK Discovery BoardNOTICE: Board: MB1635 Var1.0 Rev.E-02INFO: PMIC version = 0x21INFO: Reset reason (0x35):INFO: TF-A simple example helloINFO: Power-on Reset (rst_por)INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe0000INFO: FCONF: Reading firmware configuration
The STM32MP133A supports Linux, and has PTP support in its ethernet peripheral. However, there doesn't seem to be a driver, or port of ptpd for that specific hardware.The peripheral seems similar to other STM32 parts for which there are community ports of ptpd, buta) not officially supportedandb) for FreeRTOS, not Linux. Has anyone used ptpd with a STM32MP133A and Linux? Does ST support it at all?
Hi I see the STM32MP1 has an ISO7816 interface, is there Linux device driver support for the ISO7816 interface. Or is there any documentation on how I might enable support for this.Thank you,Eoin
We are using developBoard by Emcraft with STM32MP157A.Emcraft release board with Openstlinux 4.14. If I want change devicetree of STM32MP1 i need use STM32CubeMX to export new devicetree.If i go in STM32CubeMX-->Project Manager-> Project OpenSTLinux setting, I CAN’T CHANGE version of STLinux.Is it possible to change this setting?Thanks
Hi @Kevin HUBER ,I am trying to up the WLAN on a custom Buildroot image using the kernel configuration as follow: [*] IP: kernel level autoconfiguration [*] IP: DHCP support [*] IP: BOOTP support [*] IP: RARP support [M] INET: socket monitoring interface [M] The IPv6 protocol [*] DNS Resolver support [*] Wireless ---> [M] cfg80211 - wireless configuration API [*] cfg80211 wireless extensions compatibility [M] Generic IEEE 802.11 Networking Stack (mac80211)[*] Device Drivers ---> [*] Network device support ---> [*] Wireless LAN ---> [*] Broadcom devices [M] Broadcom FullMAC WLAN driverthis is the uploaded module:# lsmodModule Size Used byb43 389120 0mac80211 417792 1 b43brcmutil 16384 0tcp_diag 16384 0sit 28672 0libarc4 16384 1 mac80211inet_diag 24576 1 tcp_diagip_tunnel 24576 1 sittunnel4 16384 1 sitcfg80211 327680 2 b43,mac80211ipv6 372736 19 sitbut i canoot see wlan0 interface, any help?Thank you
Hello Madam/sir, Recently we have purchased STM32MP157F-DK2 development board, and we are very new to this board. We are trying to install PyQt5 on this board but we are getting error "Package not found" and also we are not getting proper link to install Python "GPIO Libraries" So we required kind support for our future development by using this board. Thanks and regards Shailesh Parashar Sr. R&D Engineer Scientific Mes Technik Pvt. Ltd. Indore
Not sure if this is the right place to write this, but I cannot help to write:- STLINK-V3PWR is a great tool.- I wish it had an external power input other than USB-C. It may be common in some computer setups, but powered USB ports might be challenging to find, and hubs with powered ports are not easy to find. The power specs of the ports are also not always given. An external power input would solve this for good. By chance, the USB hub I purchased a while ago for a different purpose has charging data ports, which helped in this case.- I did not check the recent boards, and I don't know if the product design thinking is that this is going to be used on customer-designed boards with debug connectors. However, not all boards have such connectors, and the debug pins on STLINK-V3PWR are not exposed. By chance, I have an adapter/break-out board for ARM10 and I used that but I think the product should have either a break-out board included or even better these pins (SWD) should also be
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.