Get ready for the STM32 Summit 2026 | Online, November 3
Ask questions and find answers on STM32 microprocessors, including hardware, power, DRAM, flashing, interfacing, device tree, and peripherals.
Most recent activity
Hi,just a quick question to understand the hardware of the STM32MP257 development kit board: there are several ESD-protection components of type HSP051-4M10 used.What is the exact purpose of them, are they therea) because the DK-board is intended to be touched by users and therefore there is some higher danger these users kill that board with some electrostatic discharge when touching itb) because this type of device is recommended to be used in general due to some components being unusual sensitive against ESD (for an example, at the RasPi I think no such protection is used)c) something else?Thanks for sheding some light on this :)
Hi, I am working with an STM32MP157CAA Rev.Z on a custom STM32CubeMX board running OpenSTLinux 6.6 (Yocto Scarthgap MPU v24.11.06). I have successfully integrated and bootstrapped various boot components.I first got the TF-A and OPTEE to boot the system and now it is also able to bring up the uboot. However, while trying to boot up the uboot gets into an "secure mode execution errors". I am not sure where it is coming from? We have hash-and-boot-options_hash-and-boot-options.bin flashed into the OTP area. Is that something could potentially lead to this type of issue? BL2 (TF-A) LoadingBL2 (TF-A) executes as expected and starts platform initialization.The board is in trusted mode, and secure boot appears to be enabled.Below are the logs confirming BL2 is executing: NOTICE: CPU: STM32MP157CAA Rev.Z NOTICE: Model: STMicroelectronics custom STM32CubeMX board - openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 NOTICE: BL2: v2.10-stm32mp1-r1.0(release) NOTICE: BL2: Buil
Hi all,I am trying to get 8th programming language fully working on OpenSTLinux. Currently, it almost fully works, including KMSDRM and Wayland backend suppport using SDL3 for Nuklear based GUI.There seems to be some problem using FFI and libc. "libc.so.6" lib libc libc drop "ZZ" "getenv" func: getenv "VZ" "chdir" func: I:_chdir : chdir f:expand-home I:_chdir ;I have tested that 'libc.so.6' seems to get loaded:Stack depth: 1 0 X: 0000ffff832e6340 3 X:3:0000ffff832e6340:7:7:0000ffff83c11b10 But when I try to use 'chdir' word, 8th silently gets killed without displaying any error message. I have 8th fully working on STM32MP157 based board running Debian, so I am puzzled.Any ideas?
Hi,on the STM32MP257-DK board, the wires between the MPU and the RAM have an interesting shape:What is the reason for these non-direct wires? Have the same length for all the wires? Shielding? Some noise-thingy?Thanks!
Hallo,I have bought STM32MP135F-DK - Discovery kit and I was working with it few days. I don't know what happened, but today the kit will not work properly - I think the image on SD card is corrupted, some files might by changed or deleted, so I see only intro screen and then nothing else happens.So - here is the question - how to get/download the image of system similar, like that delivered with DK? (There was microSD card with it). Regards, Paul
I have made a custom board with stm32mp135f and now trying to build linux for the custom board.I followed https://wiki.st.com/stm32mpu/wiki/How_to_create_your_own_machineand then run:bitbake core-image-minimaland after 98% got the following error:""ERROR: tf-a-stm32mp-v2.10.5-stm32mp-r1-r0 do_compile: oe_runmake failedERROR: tf-a-stm32mp-v2.10.5-stm32mp-r1-r0 do_compile: ExecutionError('/home/linux/platformer/Distribution-Package/build-openstlinuxweston-stm32mp13-platformer/tmp-glibc/work/stm32mp13_platformer-ostl-linux-gnueabi/tf-a-stm32mp/v2.10.5-stm32mp-r1/temp/run.do_compile.1006910', 1, None, None)ERROR: Logfile of failure stored in: /home/linux/platformer/Distribution-Package/build-openstlinuxweston-stm32mp13-platformer/tmp-glibc/work/stm32mp13_platformer-ostl-linux-gnueabi/tf-a-stm32mp/v2.10.5-stm32mp-r1/temp/log.do_compile.1006910Log data follows:| DEBUG: Executing python function check_cubemx_extdt| DEBUG: Python function check_cubemx_extdt finished| DEBUG: Executing shel
Hi,I'm trying to run the whole ST-Linux-stuff on one core only to have the other one available for a time-consuming application. However, it seems the kernel-parameter isolcpus is not used, dmesg gives an output[ 0.000000] Kernel command line: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw earlycon console=ttySTM0,115200 isolcpus=0 [ 0.000000] Unknown kernel command line parameters "isolcpus=0", will be passed to user space. [ 2.309368] isolcpus=0The message is correct, also with this parameter set, the processes are spread over all cores.What could be the problem here? Thanks!
aravindhan:~$ sudo picocom -b 115200 /dev/ttyUSB0picocom v3.1port is : /dev/ttyUSB0flowcontrol : nonebaudrate is : 115200parity is : nonedatabits are : 8stopbits are : 1escape is : C-alocal echo is : nonoinit is : nonoreset is : nohangup is : nonolock is : nosend_cmd is : sz -vvreceive_cmd is : rz -vv -Eimap is :omap is :emap is : crcrlf,delbs,logfile is : noneinitstring : noneexit_after is : not setexit is : noType [C-a] [C-h] to see available commandsTerminal ready�NOTICE: CPU: STM32MP135D Rev.YNOTICE: Model: Seeed STM32MP135D Odyssey BoardINFO: PMIC version = 0x21INFO: Reset reason (0x35):INFO: Power-on Reset (rst_por)INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe0000INFO: FCONF: Reading firmware configuration information for: stm32mp_ioINFO: Using SDMMCINFO: Instance 1INFO: Boot used partition fsbl1NOTICE: BL2: v2.8-stm32mp1-r1.0(debug):38df888b0-dirty(38df888b)NOTICE: BL2: Built : 01:36:41, Mar 15 2024INFO: BL2: Doing platform setupINFO: RAM: DDR3-1066 bin F 1
Hallo,Im trying to flash an image (st-example-image-qt-openstlinux-eglfs-stm32mp1), bu it fails on partition 0x23this is the output on Terminal:giomate@giolaptop:~/Development/STM32/MP15/Distribution/openstlinux/build-openstlinuxeglfs-stm32mp1/tmp-glibc/deploy/images/stm32mp2/stm32mp1$ STM32_Programmer_CLI -c port=usb1 -w flashlayout_st-example-image-qt/FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv -log ------------------------------------------------------------------- STM32CubeProgrammer v2.1.0 -------------------------------------------------------------------Log output file: /home/giomate/.STM32CubeProgrammer/trace.logUSB speed : High Speed (480MBit/s)Manuf. ID : STMicroelectronicsProduct ID : USB download gadget@Device ID /0x500, @Revision ID /0x0000SN  
Hi there,I plan to run an RTOS on the A7 core. Any recommendations?Many thanks,csm
The STM32MP257 is connected to an SSD via the PCIe interface. I should How to configure the device tree or relevant Linux drivers to access the hard drive?my PCIe DT reference :PCIe 内部外设 - stm32mpu
Hi,when the STM32MP257F cores are running a regular Linux: how can I start some code on the M33 core? Is there a device/interface available within Linux that allows to send some code to this core and execute it? Or do they share some memory? So how is it working practically?Thanks :)
Hi,I wanted to disable JTAG from production board by fusing OTP permantantly.I am trying with BSEC registers & OTP mapping. I am unable to write to any BSEC registers & doesn't change any value from uboot.Also tried with fuse but still same results. Do I need to remove any interlock first to update BSEC registers, Also, by default how JTAG is enabled?Thanks.Girish
EnvironmentSTM32MP157 board using I2C touch controller: ECO 5.0Problem descriptionTouch data reporting:[1] evtest with the touch driver loaded: X and Y coordinates are correct [2] w/o touch driver but I2c enabled and read I2C data from the touch controller via I2C correctly: X/Y coordinates are correct[3] with the driver and Using gtk client app using standard gtk api's to get touch events: inversed x. That is, 0 is reported at max-x-1 and vice verse. Y is correct. this result when moving left, weston thinks finger is moving right and vice versa.[4] ST MICRO Weston default installed app: same probem as gtk[5] After using weston-calibrator, inversion is resolved.[6] After reboot, the inversion problem returns[7] Using device tree for touch driver to use inverted x result in negative x values (in evtest) instead of reported x = max-x - controller-x (possible bug in touch driver). . This result in gtk apps not receiving touch events.Questions:[1] W
This question is a based on of a support ticket due to more knowledge persons from ST may answer this on the forum. Hope someone can help.Any specific reason to use this type of LVDS connector instead of 40pin FPC ? (less costly connector and cable, easier for development)Do you have recommended LVDS cable to ST's LVDS LCD ? I-PEX 81422-100B-02-D ? or what does ST use for testing/development ?Any recommendation for any LVDS to FPC 0.5mm pitch conversion cable ?What is the part-number of the LVDS receptable on the board. Is it I-PEX 20455-040E or another brand ?Is it the same connector on LCD side ? if not, what connector is used at the LCD side ?What is the suggestion for the LVDS plug on the cable ? I-PEX 20453 ?It seems there isn't a standard for LVDS cable pinout, correct ? Is there any standard or reference ST used for the pin assignment ?
I have the STM32MP157C-DK2, and I plan to make a user board.Before creating a user board, I have a question.1. I want to know how to debug Cortex-M4 firmware on the user board. GDB debug is used in No. 7 in the link below.https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Develop_on_Arm%C2%AE_Cortex%C2%AE-M4/Modify,_rebuild_and_reload_a_firmwareIn STM32CubeIDE, STM32MP157C-DK2 can debug the firmware through ST-LINK MCU (OpenOCD), but there is no ST-LINK MCU on the user board, so I am curious about how to debug in STM32CubeIDE. Is debugging by connecting Segger J-link or ST-LINK (V2/V3) to the user board? I want to know if it is possible and how to do it if possible.
Hello,I am trying to create a project from STMcubeIDE (v1.16.1) for STM32MP257-DK and would like to load a .tflite model on Cortex M33 and run inference to the model. However, when I was creating the project, I brows to my test model from the .ioc file and when I tried to Analyze, It throws the "stm32mp2 component is not available, please install" error. I double checked that the stm32mp2 is already installed. Can anyone please let me know if I am missing anything here. Below are the images for error logs and stm32mp2 installed image.Error image:stm32mp2 installed image:Thank you.
Hi,Is there a guide out there to get a serial terminal set up with the STLinux "Starter" package on the STM32MP257F-DK up and running ? i.e what settings to use to connect, any needed hardware/connections/cables etc ?
hi st team my environnement i use that : virtual box / ubuntu 24.0.0 / git 2.43.0 and repo 2.52i follow this wiki https://wiki.stmicroelectronics.cn/stm32mpu/wiki/STM32MPU_Distribution_Package_for_Android when i execute "repo sync" i have error on all github of stm32 repository :device-stm-openocd: fatal: not repository git : '/home/linux/android/.repo/projects/device/stm/stm32mp2-openocd.git' device-stm-openocd: sleeping 4.0 seconds before retrying fatal: ce n'est pas un dépôt git : '/home/linux/android/.repo/projects/device/stm/stm32mp2-openocd.git' error: Cannot fetch device-stm-openocd from https://github.com/STMicroelectronics/device-stm-openocd Fetching: 100% (1/1), done in 4.100s Fetching: 0% (0/1) 0:04 | 1 job | 0:04 device-stm-openocd @ device/stm/stm32m.. fatal: ce n'est pas un dépôt git : '/home/linux/android/.repo/projects/device/stm/stm32mp2-openocd.git' device-stm-openocd: fatal: ce n'est pas un dépôt git : '/home/linux/android/.repo/
Hi everyone,We have developed a custom board based on stm32mp157 mpu. We have used openstlinux distribution and the branch is "kirkstone". We have interfaced edt_ft5x06 display. Display is working perfectly fine but problem arises when we try to interact with the touch. It is completely unresponsive. With "evtest" in Linux kernel I do not see any touch event. Devicetree entry for my touch-screen is following: touchscreen@38 { compatible ="edt,edt-ft5406"; reg = <0x38>; interrupts = <2 2>; interrupt-parent = <&gpiof>; interrupt-controller; touchscreen-size-x = <480>; touchscreen-size-y = <800>; vcc-supply = <&v3v3>; iovcc-supply = <&v3v3>; status = "okay"; }; If I look thorough the dmesg, then I get following entry: [ 2.081938] input: EP0700M12 as /devices/platform/soc/40012000.i2c/i2c-0/0-0038/input/input0 Also I have following entry for the interrupt: cat /proc/interrupt
These are the ECCN for these processors. The code for MP1 and MP2 are different. When purchasing parts from retailer in the USA, an export authorization check was done on their website (no idea why) and retailer said they had to wait for the US agency for export clearance , that took 2 days to clear. After clearance but he invoice stated:These items are controlled by the U.S. Government and authorized for export only to the country of ultimate destination for use by the ultimateconsignee or end-user(s) herein identified. They may not be resold, transferred, or otherwise disposed of, to any other country or to any personother than the authorized ultimate consignee or end-user(s), either in their original form or after being incorporated into other items, withoutfirst obtaining approval from the U.S. government or as otherwise authorized by U.S. law and regulationsAlmost all other STMICRO MCU are classified a 3A991.a.2. But ut states that assembly is allowed but not without authorization
Hello,I am trying to understand this document:https://wiki.stmicroelectronics.cn/stm32mpu/wiki/How_to_deploy_SSP_using_a_step-by-step_approachGenerally speaking, I miss some context between the "SSP is nice to protect your firmware through HSM" and the how-to with many acronyms and missing explanations.I spend a couple of days reading related documentation and still feel very lost."2.2 Payload file"I understand this step as the creation of a file with all the secrets in it, including HSM and RMA keys/password.What are the meaning of RSSe, DHUK, BHK or DHUK_xor_BHK acronyms?** Question 1** What are RSSe, DHUK, BHK ?2.2.1:My page looks very different. This section is not helpful.2.2.1.2:I believe this is the public key generated in step 2.1.1.What is the RMA password? I understand that this password allows to protect RMA mode, but how is it created? should I provide a file with a random 16 character password? or is this an AES key? Is it one of the private keys generated in step 2.
hello team I have designed a custom board based on the STM32MP157FAC1 and would like to request a review from experienced members to ensure its correctness and optimal performance. I have attached the schematic for review.
Hello ST People !I'm looking for information / possiblity to use SPI (via spidev & ioctl) in Linux user space with DMA.We have to transfert lots of data (4000bytes at one time, very very often) to a fpga, very quickly and we are facing latency issue during transfert.With the help of a scope, we see dead times between spi transactions during this big packet write.So we are thinking using spi dma to unload cpu, but we need some infos/direction to look for.Maybe someone help or points me to right direction?Bon weekend!
Hi,at https://www.st.com/en/evaluation-tools/stm32mp257f-ev1.html# the CAD-data of the STM32MP257F-EV1 evaluation board are provided. This imports well into KiCAD, however nearly all footprint data are missing. For cpacitors and resistors with standard sizes this is easy to resolve but for several other components this is a big problem.The missing footprint libraries have names like C__VIRGIL_AAA__JOB_ALTIUM_STM_Library_Altium_Library_Altium_STM-LMS_MCD_PARTS.PcbLib:CON_MICROSD_ATOM_MR01A-01211So it seems, there is a STM Altium Library available somewhere, that contains these footprints.Since Google did not know anythign about this library, my question: where can get one this footprint library in order to import the board properly?Thanks!
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.