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
I have custom board based on STM32MP157AAC3T CPU. I'm building image using yocto and board boots fine. Compared to devkit I'm using other panel .I've added driver + dts changes but I figured out that DSI drm driver is not probed. I checked dts on running system (status = "okay") also driver is compiled to kernel: zcat /proc/config.gz | grep DRM_STMCONFIG_DRM_STM=yCONFIG_DRM_STM_DSI=yI've enabled drm debug and see only other driver loaded:[ 2.010826] [drm:drm_core_init] Initialized[ 3.337453] [drm:stm_drm_platform_probe] stm_drm_platform_probe[ 3.337794] [drm:stm_drm_platform_probe] drv_load[ 3.337931] [drm:ltdc_load] [ 3.773021] [drm:stm_drm_platform_probe] stm_drm_platform_probe[ 3.773259] [drm:stm_drm_platform_probe] drv_load[ 3.773415] [drm:ltdc_load] [ 4.038804] [drm:stm_drm_platform_probe] stm_drm_platform_probe[ 4.039058] [drm:stm_drm_platform_probe] drv_load[ &n
Hi everyone, @Kevin HUBER I am using stm32mp157f-dk2 with ecosystem 3.1, with weston support.I connected the HDMI display to the development kit, reset the device, but nothing displayed.After checking, modetest show that the HDMI are properly connected, and the test commandmodetest -M stm -s 33:320x1480-60.08 -vrun successfully. But still, nothing displayed.Anyone knows how to fix this?Actually, I have report this issue before, inhttps://community.st.com/s/question/0D53W00001L0jviSAB/failed-to-start-loadsave-screen-backlightBut I didn't solve that last time.In addition, does anyone know to how remove the GTK demo from yocto/disable it from application?I tried to remove packagegroup-st-demo from CORE_IMAGE_EXTRA_INSTALL variable in image.bb, but it doesn't work.For now I can only disable it by stopping the entire weston service, which is definitely not what I want.Regards, Leung
Our board is similar to STM32MP157C-DK2 Disco board - All the Developer packages has been installed, the board is not booting whereas required power supply is provided, All the Test Points and passive components on the Board shows their desired Voltages.
Not sure if this is the best forum for this question but I am using the USB OTG port in device mode as ethernet gadget. It works fine if plugged in from boot, or first plug in anytime after. But if unplugged and plugged in again it will not come back without a board reboot:[ 46.766872] dwc2 49000000.usb-otg: new device is high-speed [ 46.771014] dwc2 49000000.usb-otg: dwc2_hsotg_enqueue_setup: failed queue (-11)Error -11 is something like "resource temporarily unavailable". Ever seen this before?
Hi,In this page, 3.5 (at the end) it is recommended that only a couple of layers are needed to get a non-distro version running.PC $> source layers/openembedded-core/oe-init-build-env PC $> bitbake-layers add-layer ../layers/meta-openembedded/meta-oePC $> bitbake-layers add-layer ../layers/meta-openembedded/meta-pythonPC $> bitbake-layers add-layer ../layers/meta-st/meta-st-stm32mpPC $> bitbake core-image-base or bitbake core-image-minimalI would have to clone only the layers mentioned above, create bblayers and make a local.conf based on opnstlinux, although leaving distro to none.I am not able to understand what would I be missing if I do not add the openstlinux layer.What can I achieve with this? Will the resulting image be applicable to the stm32MP157 -DK2?Would I be able to have this as starting point and then build up features for the same board?Thanks
STM32CubeProgrammer v2.10, running on Ubuntu to flash a 64GB MicroSD card on OSD32MP1-RED board is successfull, but failed to flash 128GB MicroSD card on the same board. Same tsv file and image binaries are used. MicroSD Card is 128GB SanDisk Ultra MicroSD XC1. STM32CubeProgrammer logs end as follows: RUNNING Program ... PartID: :0x03 Reconnecting the device ... USB speed : High Speed (480MBit/s) Manuf. ID : STMicroelectronics Product ID : USB download gadget@Device ID /0x500, @Revision ID /0x2001, @Name /STM32MP157C?? Rev.Z, SN : 001800273239511637383434 DFU protocol: 1.1 Board : -- Device ID : 0x0500 Device name : STM32MP157C?? Rev.Z Device type : MPU Device CPU : Cortex-A7 Start operation done successfully at partition 0x03 Error: an error occured while uploading data from the virtual partition 0xF1 Received PhaseID == 0xFF, system is
I'm trying to program/debug a CM4 co processor on a STM32MP151 3rd party board.I setup the Debug as "thru Linux core" Serial port and Inet address looks ok, I got a green connection light, "status connected", and after trying to debug, I got this message:Error in final launch sequence: Failed pre launch Failed pre launch Transfer has failed, please: 1. check your physical connection 2. make sure that your target is still running Linux 3. make sure that your target has enough storage space 4. make sure that remote directory has valid access rights > you can open a Console View for this... Original message: Unable to create /usr/local/projects/STM32MP151_Test_CM4/lib/firmware because of "java.io.IOException: inputstream is closed"Any suggestions how to setup the debug?
I'm working on a project using the Seeed Studio STM32MP157C-Odyssey-SoM (it is a module with the STM32MP1, DDR, eMMC and STPMIC). I am making a new PCB into which the module is plugged. When using the module on the original host board from Seeed, both the eMMC (SDMMC2 controller) and the SD-Card (SDMMC1 controller) boot work. On my board only the eMMC boot works. When using the SWD debugger, I found that the CPU does not even enter the FSBL, but remains stuck in the boot ROM. By checking the SD-Card connection, I found that the CPU does not even attempt a write (and the SDMMC1 controller has only the reset values in its registers). I also determined that the boot mode is properly detected in the SYSCFG_BOOTR register. Is there a way to debug the boot ROM? I understand the code is not available, but I hope to be able to determine what is happening by reading peripheral registers, which ones should I check? Thanks for your help
I'm trying to set up communication between the codec and the cm4 using the stm32mp157f-dk2 dev board. Debugging in engineering mode.I've set up the gpio, i2c1 and sai2 ports for the CM4 using cubemx, but the code fails when trying to send the required startup bytes to the codec via i2c.As per the codec's data sheet I pull the Reset pin high, this seems to be working and confirmed by scoping the board. Then I call the hal i2c transmit functionHAL_I2C_Master_Transmit(hi2c1, 0x94, data, 2, 500)using a logic analyser on the i2c pins I can see the address and write flag are succesfully sent, but no data.Stepping through the code it gets to the functionI2C_WaitOnTXISFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK)and returns an error as the TXIS flag never gets set. I'm not sure if this is a problem in how i've configured the I2c ... hi2c1.Instance = I2C1; hi2c1.Init.Timing = 0x10707DBC; hi2c1.Init.OwnAddress1 = 0; hi2c1.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT; hi2c1.Init.Dual
Hi supporter, I have two boards, one is my custom board and another is dk2. Those boards are not support high speed of mmc1. The mmc2 is into high speed and has 50Mhz clock.Below is some info about mmc1 and mmc2 on dk2 board.root@stm32mp1:~# cat /sys/kernel/debug/mmc0/ios clock: 25000000 Hz actual clock: 24750000 Hz vdd: 21 (3.3 ~ 3.4 V) bus mode: 2 (push-pull) chip select: 0 (don't care) power mode: 2 (on) bus width: 2 (4 bits) timing spec: 0 (legacy) signal voltage: 0 (3.30 V) driver type: 0 (driver type B) root@stm32mp1:~# cat /sys/kernel/debug/mmc1/ios clock: 50000000 Hz actual clock: 49500000 Hz vdd: 21 (3.3 ~ 3.4 V) bus mode: 2 (push-pull) chip select: 0 (don't care) power mode: 2 (on) bus width: 2 (4 bits) timing spec: 2 (sd high-speed) signal voltage: 0 (3.30 V) driver type: 0 (driver type B) root@stm32mp1:~# mount -t debugfs debugfs /mnt/ root@stm32mp1:~# cat /mnt/^C root@stm32mp1:~# dmesg| grep mmc [ 0.000000] Kernel command line: root=/dev/mmcblk0p6 rootwait rw console=t
Hi all,I have been working with STM32MP157 chipset.I am currently trying to flash the OpenSTLinux to the SDCard using STM32CubeProgrammer inside VMWare.However, it failed in the middle of flashing.Can anyone tell me what I should do?Thank you
I am describing my approach as below:What we did:1) We are using the STM32MP157F-EV1 board (No other board is connected for this exercise, lines are open!)2) We are using OpenSTLinux(kernel:5.4) and we are using the firmware which was suggested under the "getting started" guide.What we would like to achieve:1) Want to use SPI1 interface on M4 (alongside RTOS support) and want to use PZ0, PZ1, PZ2, PZ3 Pins only (due to design limitations!)Could you please guide me from here to enable the SPI1 on the M4 side?We have already tried with the default SPI example but It seems the clock is not getting generated. We want to use only a production mode not an engineering one.Let me know if you need any other information/clarification.Thank you in advance and hoping a useful response!!BR,Ashvin
Hello,I am working with an STM32MP157 -DK2The Distribution Package currently offers a Yocto version that is aligned with Dunfell (in particular meta-st-linux)Is this repository maintained somewhere in a way that it is aligned with current Yocto releases such as hardknott?Regards
Hi,I've encountered some issues in trying to debug OpenAMP_TTY_echo project from STM32MP1 Starter Package.Here is the output log :Working on STM32CubeIDE v1.4.0 on Linux Ubuntu 20.0.4.1 (64 bit) via a virtual machine. Also tried on a Windows 10 session with same version of STM32CubeIDE, and the same error log was output.Dropbear version is 2019.78-r2.Target board is STM32MP157C-DK2. Configuration :BB_VERSION = 1.46.0BUILD_SYS = x86_64-linuxNATIVELSBSTRING = universalTARGET_SYS = arm-ostl-linux-gnueabiMACHINE = stm32mp1DISTRO = openstlinux-westonDISTRO_VERSION = 3.1-openstlinux-5.4-dunfell-mp1-20-06-24TUNE_FEATURES = arm vfp cortexa7 neon vfpv4 thumb callconvention-hardTARGET_FPU = hardMANIFESTVERSION = ostl-20-06-24-rc7-1-gcb1de90DISTRO_CODENAME = dunfellACCEPT_EULA_stm32mp1 = 1GCCVERSION = 9.%PREFERRED_PROVIDER_virtual/kernel = linux-stm32mpPREFERRED_VERSION_linux-stm32mp =Starter package version is 1.2.0 downloaded from Github : https://github.com/STMicroelectronics/STM32CubeMP1/tree
Hello, I've got a board with an STM32 MP CPU and I have to reduce the size of the final image to leave enough space on the NAND memory for a dual rootfs setup. The idea is to remove the alsa layer because I don't need the audio part. I tried to add the following lines inside the local.conf on the build folder of the Yocto project:DISTRO_FEATURES_remove += "alsa"DISTRO_FEATURES_remove += "pulseaudio"PACKAGECONFIG_remove += "alsa-lib \alsa-state \alsa-topology-conf \alsa-ucm-conf \alsa-utils \"but It doesn't work as expected and most of the alsa packages are still there.How can I completely remove the alsa layer from the Yocto project?
Hello,I have 7 ADC channel , and its configue as interrupt. But the interrupt each is get generated for different condition how I can check the which ADC channel interrupt is get generated which I have to use the function for distinguish the ADC channel. can you help me ?
I've followed all the steps from:https://wiki.st.com/stm32mpu/wiki/STM32MP15_Discovery_kits_-_Starter_Packagehttps://wiki.st.com/stm32mpu/wiki/PC_prerequisiteshttps://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_PackageCreating openstlinux-5.10-dunfell-mp1-21-03-31 distribution installation,with bitbake st-image-weston, error rises:(..layers/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb:do_compile) failed with exit code '1'Tried:bitbake -b mozjs -D -f bitbake mozjs -c cleanall bitbake mozjs -c compilebut the same error occurs.Also tried these solutions from the forum, without any success (the error is the same):mozjs60.9.0.bb returens error while compile (st.com)mozjs_60.9.0.bb:do_compile failed with exit code '1 (st.com) This is my 3rd attempt with a fresh Virtual Machine (Ubuntu 20.04.2.0 LTS), i'm pretty sure I've followed all the steps.For the Virtual Machine I have the following specs:Cores: 6Ram: 4.5GBDisk Space: 300
..
Hi everyone,I am thinking about using STM32MP1 for a smart wearable device, like a smart watch to run some machine learning algorithm. is it possible? is the battery able to support MPU?Does anyone know any product already used STM32MP1? it would be great help for me.Thanks very muchJane
Hello,I tried to enable spread spectrum for PLL1 by adding a csg line to the TF-A DeviceTree:pll1:st,pll@0 { compatible = "st,stm32mp1-pll"; reg = <0>; cfg = < 1 49 0 1 1 PQR(1,0,0) >; csg = < 60 600 SSCG_MODE_CENTER_SPREAD >; };I tried several different settings including one without any csg configuration. Each measurement (spectrum analyzer + nerafield probe) shows the exact same spectrum.Are there any additional settings I need to apply?
Hi,on a custom board with a STM32MP153AABxx and a W63AH6NBV 1Gbit LPDDR3 memory I am failing to initialise the DDR properly. I made the required changes to the upstream u-boot device tree files, added support for UART8 debug console and some minor things and compiled the SPL. I enabled the DDR interactive console and loaded SPL to the MPU using STM32 cube programmer CLI. STPMIC1 is properly configured, 1V2 and 1V8 DDR power rails are present. So far, so good. Trying DDR tests one-by-one, all are failing.LPDDR3 is wired according to AN5031 (Rev 4), section 10.1.7. I tried ODT both grounded and connected to the MPU. Routing should be OK.In addition to this, I tried to use CubeMX DDR Test Suite. Having a running SPL I managed to connect to it. The tool correctly recognises the DDR as:Config name: LPDDR3 16bits 533000kHz DDR Size: 1 GBits DDR Frequency: 533.0MHzThen it stops cooperating with:Exception in thread "Thread-4843" java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds f
I just created a project in STMCubeIDE for STM32MP157A-DK1 and am trying to run MCU debugging in ENGINEERING MODE and PRODUCTION MODE. I use an ST-LINK wire and an Ethernet Over USB connection. SSH and the UART command line work well. In engineering mode, I get the hardware breakpoints error. In production mode, all breakpoints that are set to an infinite loop do not work...this is very strange. What did I miss?
HiWe are using stm32mp157a processor in our custom board.we have an 3 port Ethernet switch(KSZ9893RNXIA) with spi interface to processor.We enable Ethernet switch using spi.Read and write to switch is working properly.But we when we connect Ethernet cable to board we have set ipaddr and try to ping the pc in Uboot. But It is not pinging and it is showing phy_conncet() failed.We are configuring switch in rmii mode with 100mbps speed.Processor specific dtsi file :ethernet0: ethernet@5800a000 { compatible = "st,stm32mp1-dwmac", "snps,dwmac-4.20a"; reg = <0x5800a000 0x2000>; reg-n
Hi,During the actual production of our stm32mp157c products we do intend to use the HSM flow.But for now I am simply trying to test the SSP flow with some debug (development) keys and without access to an HSM.I went over:https://www.st.com/resource/en/application_note/an5510-overview-of-the-secure-secret-provisioning-ssp-on-stm32mp1-series-stmicroelectronics.pdfandhttps://www.st.com/resource/en/user_manual/dm00403513-stm32-trusted-package-creator-tool-software-description-stmicroelectronics.pdfbut unfortunately there is not much information regarding the STM32_Programmer_CLI.exe "-ssp" command with "hsm" flag equal to "0" (HSM not used)only:"<license_path|slot=slotID>: path to the license file (if hsm=0)reader slot ID if HSM is used (if hsm=1)"I don't quite understand exactly what "license file" I need to provide the command.And also, if HSM is not used, how will the ST MPU decrypt the data file (OTP keys) ? I am assuming it is somehow related to this license file ? because in th
Hi STM-Team,We have the custom board based on the STM32MP157C-Eval board.In that, we are not able to access the eMMC from u-boot command prompt. Currently, we are booting from SD card and able to access it from u-boot command prompt.We are able to see the 2 mmc devices but not able to access eMMC on dev-1. Please see below logs:-----------------------------------------STM32MP> mmc listSTM32 SD/MMC: 1STM32 SD/MMC: 0 (SD)STM32MP> mmc dev 0switch to partitions #0, OKmmc0 is current deviceSTM32MP> mmc dev 1<No output from this command>-------------------------------------------But, with same configurations, we are able to access and create partitions of eMMC through fdisk command from filesystem command prompt. Also, see the below kernel boot-up logs:-------------------------------------------[ 3.976158] mmc1: new DDR MMC card at address 0001[ 3.989649] mmcblk1: mmc1:0001 IB2916 14.6 GiB[ 3.994868] mmcblk1boot0: mmc1:0001 IB2916 partition 1 4
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.