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 compiled.OpteeTF-AU-bootLinuxAnd it seems to work well. I have also tried to implement a pre-made OpenSTLinux from the Source files. And it seems to work well too. I haven't got any terminal up and running. I can only see the display output of messages when I start it up.Notice that the kernel comes from STM32MP157 and before the kernel startup, it's from STM32MP151. That's why you see that the MAC address is not set, but once linux kernel is started, you can see inside the log that the MAC address is set to "56:bf:8f:58:f8:31".https://pastebin.com/QTV4qbHrI need to create bootfs, vendorfs, userfs and rootfs.ext4, so what should I do next? Should I create empty .ext4 files and then mount the .ext4 files and later fill them with...?
Hello,Would it be possible to have an updated guide on how to use a custom device tree within my own layer for latest STM32MP1 Ecosystem ?The one provided here "How to compile the device tree with the Distribution package" is clearly outdated, as the Yocto delivery mentionned in the exemple is Kirkstone (should be now Mickledore) and the step : Replace STM32MP_MX_BASE by STM32MP_MY_DEMO_BASEIs impossible to do, as the variable STM32MP_MX_BASE does not exist in latest machine configurations.In the meanwhile, any ideas of how to implement this solution for latest? I'm currently using this solution "How to create your own machine" in the wiki, but that is not the way I would like to work in the long term.
Hi ST Community, @Erwan SZYMANSKI I’ve been working on integrating a Qt example from ~/Qt/Examples/Qt-6.7.2/quickcontrols/imagine into my custom Yocto layer for an STM32 board. I created a recipe for this and updated my local.conf accordingly. After building the image and flashing it to my board, I encountered the following error when running the application. I have added my .bb recipe file and local.conf file. (I have qt5 layer installed too) nesnes@nesnes-ABRA-A5-V19-2:~/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco$ bitbake automotive NOTE: Started PRServer with DBfile: /home/nesnes/STM32MPU-Ecosystem-v5.1.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco/cache/prserv.sqlite3, Address: 127.0.0.1:33289, PID: 89725 Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:00 Loade
Hello,We're trying to boot our prototype which contains an STM32MP157FAA.Unfortunately, we didn't implement an oscillator/quartz on the board, so we are unable to use HSE and can only use HSI.We have access to USB1, USB2, SDMMC3, and UART4.Is there a way to load U-Boot with these options using HSI ?Best regards,François
The 'of_device_id' in my module is as follows:static const struct of_device_id gcnano_of_match[] = { { .compatible = "st,gcnano" }, { .compatible = "vivante,gc" }, { /* end node */ } };In the device tree:compatible = "vivante,gc";When using the 'modprobe' command to load the module, it was unable to match successfully and the 'probe' function of the module was not executed. The 'compatible' property of the module is the same as the 'compatible' property of the device tree, but I changed both the 'compatible' property of the module and the device tree to 'vivante_1, gc_1' to match successfully and execute the 'probe' function. I have tried many times to change it to anything, as long as I change it back to 'vivante, gc', it won't work. Has anyone encountered this problem?
Does anyone know how to view and modify the current CPU frequency of STM32MP157D? I also cannot use the following command: root@stm32mp1:/sys# cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 48.00 Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc07 CPU revision : 5 processor : 1 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 48.00 Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc07 CPU revision : 5 Hardware : STM32 (Device Tree Support) Revision : 0000 Serial : 003C00403132510831323338 root@stm32mp1:/sys# cd / root@stm32mp1:/# cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 48.00 Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva
x linux-5.15-stm32mp-r2 for our puposes. I have also attached the pps-gpio source code in case it is useful.
Hello STM32 Community,I hope this message finds you well.I’m currently working with an STM32 Linux board and have encountered an issue where the TSV Flashing Service fails and the code is not dumping correctly. I would greatly appreciate any assistance or guidance you can provide to resolve this problem.Here are some details that might be relevant:TSV Flashing service failedFile does not exitstep 1step 2:step 3:step 4:step 5:Thank you very much for your time and support. I look forward to your advice.Best regards,EM-TECH
HiI have recently been working on the board model mentioned in the title. At the moment I have a problem with two things:1. when trying to debug the kernel drivers, the kernel is inactive for a period of time which causes the watchdog to run. This behavior makes it impossible to debug the drivers. Is there any convenient solution to disable the watchdog?At this point I have disabled support for watchdog in both the uboot and kernel, but this has caused the board to reset itself no matter what I do (there is information on the wiki about the possibility of disabling it from the build root level). Looking through the information available on the Internet, I found out that you could directly modify the memory, but this option does not suit me. Another piece of advice is in the course from bootlin: ```However, it turns out that this pre-defined configuration enables the STM32 watchdog, and since our Linux user-space does not have a watchdog daemon to tick the watchdog regularly, it wo
Hi, when trying the new ST BSP release base on linux kernel 6.1.82 on my stm32mp157f-dk2 I noticed that the legacy framebuffer support is not working anymore.this was working perfectly on the previous release with linux kernel 6.1.28.I didn't succeed in getting it working again, here is a fragment of my linux kernel configuration: CONFIG_DRM=yCONFIG_DRM_STM=yCONFIG_DRM_STM_DSI=yCONFIG_DRM_PANEL_ORISETECH_OTM8009A=yCONFIG_DRM_SII902X=yCONFIG_FB=yCONFIG_FB_SIMPLE=yCONFIG_BACKLIGHT_CLASS_DEVICE=yCONFIG_BACKLIGHT_PWM=yCONFIG_BACKLIGHT_GPIO=yCONFIG_FRAMEBUFFER_CONSOLE=yCONFIG_FRAMEBUFFER_CONSOLE_ROTATION=yCONFIG_DRM_FBDEV_EMULATION=yCONFIG_LOGO=ycan you please advice how to get it working again ? I don't plan to use DRM. Best regards
The Linux version I am using is 6.1.28, and the chip is STM32MP157D. Currently, the USB-OTG chip uses FUSB302. I tried the online driver and found some issues. When I plugged in the USB device, there was no response. However, setting the USB-OTG to host or peripheral mode separately is normal, so I suspect it may be a problem with the FUSB302 driver.
Hello to everyone!We have develop a System on Module board based on the STM32MP153AAB. Currently it have a custom Yocto Image build, that it's working. The process followed almost all the steps in the wiki for the STM32MP157F-DK2 discovery kit, however, some pins had to change due to the custom design. Now we have encountered a problem debugging the M4 firmware in the custom SOM. This firmware currently works in the MP157F-DK2 discovery kit (The debug too). Trying to fix this, we have used the STM32CubeIDE 1.14.0 to develop a blinky example on the M4, and the STLINK-V2 to start the debugging. The STLINK-V2 it's correctly recognized by the STM32CubeIDE. Besides that, we have not been able to debug. We can download and run the .elf manually on the board, following the steps in the wiki using sys and remoteproc interface: https://wiki.st.com/stm32mpu/wiki/Linux_remoteproc_framework_overview LED blinks okay. Because we are in a custom PCB, don't have ac
I want to test the memory by using U-boot.I'm reading the DDR memory from 0xC0000000 to 0xE0000000 with the pattern 0xFFFFFFF. But I don't have premision to read the memory. How can I solve this issue? STM32MP> mtest 0xC0000000 0xE0000000 0xFFFFFFFF Testing c0000000 ... e0000000: Iteration: 1 Pattern FFFFFFFF Writing... Reading...Iteration: 2 Pattern 00000001 Writing... E/TC:0 tzc_it_handler:79 TZC permission failure E/TC:0 dump_fail_filter:420 Permission violation on filter 0 E/TC:0 dump_fail_filter:425 Violation @0xf8803000, non-secure privileged read, AXI ID 4a0 E/TC:0 tzc_it_handler:79 TZC permission failure E/TC:0 dump_fail_filter:420 Permission violation on filter 0 E/TC:0 dump_fail_filter:425 Violation @0xf8804000, non-secure privileged read, AXI ID 4a0 My U-boot Device Tree for the memory. memory@c0000000 { device_type = "memory"; reg = <0xc0000000 0x20000000&
Dear All,I have been developing touch screen with XPT4096.When press touch screen, interrupt is generated.Read Y, X, Z1, Z2, power down is sent to XPT4096.During transferring message to XPT4096, transfer setup failed.Please refer to waveform.1CH : spi clock2CH : interrupt3CH : MOSI(to 4096)4CH: MISO(from 4096)
I can fix the problem by enabling interrupts for the DMA channel. But WHY should this be necessary?I'd prefer to do this with no interrupts. I allow ample time between calls so data transfers have plenty of time to complete.(G4 chip, MX set up as SPI3 transmit only master with DMA on DMA2 channel1)Thanks!
I have only one MMC, in this case it's an eMMC on SDMMC2. I have some issues when I loading over the TF-A and the FIP.bin file.Update:I have change the clock frequency to 49.5 MHz and measured the v3v3 signal to 3.3V and the vdd signal to 3.3V as well. I got still the same issue. &sdmmc2{ pinctrl-names = "default", "opendrain", "sleep"; pinctrl-0 = <&sdmmc2_pins_mx>; pinctrl-1 = <&sdmmc2_opendrain_pins_mx>; pinctrl-2 = <&sdmmc2_sleep_pins_mx>; status = "okay"; /* USER CODE BEGIN sdmmc2 */ non-removable; no-sd; no-sdio; st,neg-edge; bus-width = <8>; vmmc-supply = <&v3v3>; vqmmc-supply = <&vdd>; mmc-ddr-3_3v; /* USER CODE END sdmmc2 */ }; This is the debug output. Here we can see that I have only one eMMC. I don't know if the log says that the eMMC is mounted on 0, or if it's the first index. Second suspect is "Loading Enviroment from nowhere... OK". So that means...what? An empty system?&nb
Hello We have built OpenSTLinux(Openstlinux-6.1-yocto-mickledore-mp1-v23.06.21) for stm32mp157f-dk2 Board and I have built st-image-weston image. Iam new to this Yocto,so I request you to help with the following:How to make changes in dts & dtsi files (u-boot & Linux) and source files and build the image.And Iam working on display, I would like to write an application and run it on the display. So hoping to get help regarding how to add Qt (Qt5) packages and the respective libraries so that i could run a GUI on the display. Thanks & RegardsSrikanth.R
Why does the STM32MP157AAD3 have a higher heat or temperature? We have an STM32 board that has interfaces for PMIC, DDR3, temperature sensors, VOC, EMMC, LEDs, push buttons, WIFI+BLE modules, 8-pin connectors, wake-up switches are build in same board Sir, we have observed that the board can get as hot as 90 degrees Celsius when it is operating at full load. How can we deal with this heat problem? Could you please elaborate? I've included pictures of the board for your reference.
Hi, we have a custom design with an STM32MP13xx CPU.We currently see random issues during boot. Some of the prototypes randomly stuck on boot without any output on the serial console, sometimes they are booting well. When a board has booted it runs stable without any issues.In error case, the oscillator does not start, we don't see any i2c communication to the PMIC and also the RAM power supply is not there.After review of the layout we saw that PDR_ON is floating and not connected to VDD as required in the datasheet and AN5474 (Getting started with STM32MP13x lines hardware development).My question:- can a floating PDR_ON pin lead to this random boot issues?- what else can be checked or is required if the oscillator does randomly not start running?Thanks in advance and best regardsRuben
I never heard about the PER clock. I'm looking inside CubeMX, but I don't see any PER clock at all. I guess it's periferial clock. So how do I start it? My U-boot won't boot. I guess that if PER will be like 24 MHz, then U-boot will continue. Or am I wrong? D/TC:0 0 call_initcalls:40 level 6 stm32mp1_init_lp_states() D/TC:0 0 stm32mp1_init_lp_states:230 Power configuration: shutdown to 6, suspend to 2 D/TC:0 0 call_initcalls:40 level 6 regulator_core_init() D/TC:0 0 call_initcalls:40 level 7 stm32_rng_release() D/TC:0 0 call_initcalls:40 level 7 regulator_core_cleanup() D/TC:0 0 regulator_core_cleanup:916 disable usb33 D/TC:0 0 regulator_core_cleanup:916 disable reg18 D/TC:0 0 regulator_core_cleanup:916 disable reg11 D/TC:0 0 call_initcalls:40 level 7 release_probe_lists() D/TC:0 0 call_finalcalls:59 level 1 release_external_dt() I/TC: Primary CPU switching to normal world boot serial_stm32 serial@40010000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
Hi all, we are trying to start our own board running a STM32MP157DAC1We have so far been able to load the TF-A, OPTEE (only when configured in SYSRAM) and u-boot, our starting point is the openst-linux framework (5.0.2 - mickledore), on top of which we have added our layer to add our dts* and defconfig.Right now, I am not able to program anything into eMMC (set to mmc1)I got this message from STM32CubeProgrammer_CLI : -------------------------------------------------------------------STM32CubeProgrammer v2.14.0 -------------------------------------------------------------------USB speed : High Speed (480MBit/s)Manuf. ID : STMicroelectronicsProduct ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000SN : 002A00173432510E33363738DFU protocol: 1.1Board : --Device ID : 0x0500Device name : STM32MP15xxDevice type : MPURevision ID : -- Device CPU : Cortex-A7Start Embedded Flashing serviceMemory Programming ...Opening and parsing file: tf-a-stm32mp157d-copro-usb.stm32File : tf-a-st
Custom STM32MP151A board with 512MB DDR2.I am trying to write via UART communication with STM32CubeProgrammer, but BL32 processing does not start.What should I do to investigate the cause? [2024-01-12 14:11:52.591] NOTICE: CPU: STM32MP151AAC Rev.Z[2024-01-12 14:11:52.591] NOTICE: Model: STMicroelectronics custom STM32CubeMX board - openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23[2024-01-12 14:11:52.623] INFO: PMIC version = 0x21[2024-01-12 14:11:52.623] WARNING: VDD unknown[2024-01-12 14:11:52.623] INFO: Reset reason (0x14):[2024-01-12 14:11:52.696] INFO: Pad Reset from NRST[2024-01-12 14:11:52.696] INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe2000[2024-01-12 14:11:52.696] INFO: FCONF: Reading firmware configuration information for: stm32mp_io[2024-01-12 14:11:52.696] INFO: Using UART[2024-01-12 14:11:52.696] INFO: Instance 8[2024-01-12 14:11:52.696] INFO: Boot used partition fsbl1[2024-01-12 14:11:52.696] NOTICE: BL2: v2.6-stm32mp1-r2.0(debug):v2.6-dirty(a1f0
Hi,I am trying to migrate my project (custom board using stm32mp153a and 256MB mem) from 4.1.0 to 5.0.0 but I am getting a panic when booting u-boot:Board: MBfdd8 Var2.15 Rev.B-14 DRAM: 256 MiB E/TC:0 tzc_it_handler:79 TZC permission failure E/TC:0 dump_fail_filter:420 Permission violation on filter 0 E/TC:0 dump_fail_filter:425 Violation @0xcff09000, non-secure privileged write, AXI ID 480 M/TC: CPU : 0 M/TC: usr_sp : 0x00000000 M/TC: usr_lr : 0x00000000 M/TC: irq_spsr : 0x00000000 M/TC: irq_sp : 0x00000000 M/TC: irq_lr : 0x00000000 M/TC: fiq_spsr : 0x00000000 M/TC: fiq_sp : 0x00000000 M/TC: fiq_lr : 0x00000000 M/TC: svc_spsr : 0x00000000 M/TC: svc_sp : 0xcdef2ca0 M/TC: svc_lr : 0xcff0a2f0 M/TC: abt_spsr : 0x00000000 M/TC: abt_sp : 0x00000000 M/TC: abt_lr : 0x00000000 M/TC: und_spsr : 0x00000000 M/TC: und_sp : 0x00000000 M/TC: und_lr : 0x00000000 M/TC: pmcr : 0x41072000 E/TC:0 Panic M/TC: CPU : 0 M/TC: usr_sp : 0x00000000 M/TC: usr_lr : 0x00000000 M/TC: irq_spsr : 0x00000000 M/TC: irq
As part of our project, we are using an STM32MP157DAC custom board that has the same design with the STM32MP157D-DK1 development board except for a few changes (schematics of the design is attached)The board generally works when trying to upload and debug code to the M4 core using JTAG-SWI connection.However the board does not work when trying to boot from SD card. The steps in the wiki to populate the linux image to an SD card were used. The Cube Programmer software does not recognise the board.I tried using command line by typing ifconfig (or lsusb), but the connection cannot be recognised.To avoid the Cube Programmer, flashing the linux kernel U-Boot was also tested but no result obtained (The board still does not boot from the SD card).Both booting processes (using cube programmer and u-boot) were tested with an STM32MP157F-EV1 with no problems. Attached is our board's schematics (taken majorly from the reference board (STM32MP157D-DK1). Connection to the board for booting is
stm32mp157f, I need to use uart5 to drive an rs485 but the hardware supplied DE pin is already in use. So I need to configure a different GPIO to use. If the device tree binding rts-gpios is supported, then the task is simplified. We can modify the board to use the gpio. Follow up to that, if it is supported do I still add "linux,rs485-enabled-at-boot-time;"
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.