Get ready for the STM32 Summit 2026 | Online, November 3
Join conversations with your peers and ST experts. Explore the full potential of STM32 microprocessors for your embedded design.
Most recent activity
Processor Name: STM32MP157 Arm®-based dual Cortex®-A7 32 bits + Cortex®-M4 32 bits MPU Kernal Version: 5.10.10linux destro : openst linuxCrankstorybaord Version : 7.1OpenGLL Version : 2.0Screen Size : 1024 X 768I am developing medical GUI application in which i am ploting real time graph with 5 milisecond refresh rate using Crank storyboard.Graph ploting is taking upto 80 milisecond to draw the graph whereas the redraw time is only 5 miliseconds, and it is also taking 85% of CPU consumption.when i draw a graph with draw time 140 miliseconds, CPU utilization is decreased to 35-45%.kindly help me out and give some solution to optimize the redraw time upto 20 miliseconds.
I'm attempting to upgrade from ecosystem v2 to v4 and I've run into an issue where the USB OTG port no longer enumerates at boot time. Specifically, I no longer see any messages in dmesg regarding the dwc device, nor do I see anything in /sys/class/udc/. This is a regression from my v2 build where USB does work as expected.I am not using ST's Yocto build for my build, rather I have the defconfig and device trees build against the ST repositories directly (as originally demonstrated by Octavo's ubuntu build.)As I'm not seeing the dwc driver report anything in dmesg, I'm assuming it's some sort of defconfig or device tree settings issue rather than something in the clocks or handoff between the bootloaders and the secure peripheral firewall. Digging through the patch history, the change notes, the wiki, and the existing discovery kit builds/defconfigs/dt files hasn't yielded fruit.So; has anyone done the upgrade between releases and off the top of their head know what I'm missing?For com
Having doing a workshop regarding OpenST linux boot customisation (https://www.youtube.com/watch?v=hqGA5Krk0mU), I stumbled on a problem with a mass storage mount. Doing "ums 0 mmc 0" in uboot gives me partitions within an sdcard but only to see them as read only, unable to be mounted.Mounting sdb1 via terminal gave me error of "wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program or other error".St link is working, only problem is with usb download gadget.Unfortunately I am a beginner within the stm ecosystem so any help is greatly appreciated.Host is Macos Ventura 13.6, virtual virtualbox 7.0.6 as sudo (because of a problem with VERR_SHARING_VIOLATION in usb in regards to st link)
i am using stm32mp135-dk board. i have installed STM32MP1-Ecosystem-v5.0.0 Starter Package now i want to create GUI with guizero what i do ?
I'm using STM32MP135f-dk, I'm having trouble installing keras: this is the output
Hi,For the past two days I have been trying to get a usb to serial adapter to work on this board, using both the starter package or buildroot. Whatever I do, it only shows up as new full-speed USB device number XX using ehci-platform. Is there something that I am overlooking?lsusb shows the device as:Bus 001 Device 010: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) ICIt is a very basic adapter, US232R from FTDI.Thanks in advance!
Hello, I am using the STM32MP157F-DK2 board, I also developed a carrier board in order to use external peripherals. I am using a 5V external power supply and I supply it through pin headers CN2 expansion, since I don't want to use the USB type C connector. I would like to skip the current verification in the boot process in software, maybe from the device tree or a recipe. I am using yocto to develop my custom image. If I connect first the USB-type-C and the external power supply at the same time, the boot process finishes correctly, if I disconnect the USB-Type-C after that, the operating system can run correctly with the external power supply, but the USB-type-C is needed in order to finish the boot process. Is it possible to skip that 3A verification on software? I am in the kirkstone branch, 5.15.67 kernel version.Regards, @obedPH
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
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.