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
Trying to compile wpe-browser from meta-wpewebkit and during building cog I'm getting error:https://github.com/Igalia/meta-webkit/issues/446It seems that gcnano-userland-multi-binary-stm32mp provides gbm.h which clash with one from cog. I've resolved it by:`GPU_USERLAND_LIBRARIES_WAYLAND = "mesa"` adding to local.confand also by adding append for gcnano-userland-multi-binary-stm32mp.bbappendwith content:`GCNANO_PACKAGECONFIG:remove = "gbm"` but when I start wpe browser it display just white background and nothing more.Thanks.
I have a custom STM32MP157c board. I try to set fuse bits (3 0x23000000). It worked on the basic boot system but not on the TF-A boot system. I mean by example the boot command : fuse prog 0 3 0x23000000.
Hi!I am using a STM32MP157C-DK2 board to create an application on the screen. I have used STM32CubeIDE to create my own program:I have initialized peripheral with its default modeI have enabled FDCAN peripheralI have changed the clock settings.With this, I already have the device tree of my program (kernel, tf-a, optee-os and u-boot).My question is, do I have to create my own machine to configure clock setting? Thanks!
Hello!I've got a problem configuring USB OTG on a board based on the STM32MP157C. This is actually the Odyssey board by Seeed Studio, which is not directly supported by STLinux as far as I know. Actually we have custom hardware with the STM32MP157C SOM, but since the problem is reproducible on their development board, that is easier to follow for everybody else. I have already posted this question in their support forum but would like to hear your opinion as well.The Yocto firmware I am testing on is based on meta-st-stm32mp (openstlinux-5.10-dunfell-mp1-21-03-31). I got the same behavior with the hardknott branch which is not surprising since the kernel did not change.This is from the device tree:&usbh_ehci { phys = <&usbphyc_port0>; status = "okay"; }; &usbh_ohci{ status = "okay"; phys = <&usbphyc_port0>; }; &usbotg_hs { compatible = "st,stm32mp15-fsotg", "snps,dwc2"; pinctrl-names = "default"; /* configure OTG ID and full-speed da
Hello all!We have implemented our custom driver that uses DMA to copy a large amount of data from the FMC interface (FPGA mapped to it) to the RAM.For very fast data acquisition the setup time for new DMA transactions becomes critical.I tried an overlapping approach:https://community.st.com/s/question/0D53W0000274CNFSA2/stm32mdmac-fast-overlapped-dma-transaction-problemBut this did not work. Then I tried to use dmaengine_prep_dma_cyclic to copth the FPGA data into a larger coherent memory region. Then using dmaengine_prep_dma_memcpy to copy it to its final destination.But: the transaction created with dmaengine_prep_dma_cyclic does not want to start!dmaengine_prep_dma_memcpy works fine.I think this is because of the difference between software vs hardware triggered DMA transactions (memcopy. Looking into stm32-mdma.c is see that dmaengine_prep_dma_memcpy has its own setup routine whereas dmaengine_prep_dma_cyclic use stm32_mdma_set_xfer_param() that always configures a HW request.M
Hello community,we have the problem, that we need more code space for the M4 application and try now to get code area in SRAM2 (IPC area). What we've done so far:Decreased the number of vring buffers to the half: #define VRING_NUM_BUFFS 8 /* number of rpmsg buffer */Adapted the M4 linker file from 32K to 24KRAM2_ipc_shm (xrw) : ORIGIN = 0x10040000, LENGTH = 0x00006000 /* Length := 24K*/For the linux DT part we were not sure what exactly to do:First variant: vdev0 ring buffer to the halfvdev0vring0: vdev0vring0@10040000 { compatible = "shared-dma-pool";  
In my current project, I am still using the older environment. Even though there are no urgencies to migrate to the newer environment, I want to prepare everything in advance.My current project uses an external module to generate a signature. it works very well with the older image because I only need to update the image's header section with the generated signature from the external module. However, the newer image prevents me to do this because it requires the private key to generate the certificate. The external security module won't allow me to retrieve the private key from the module. It only allows me to generate a signature or retrieve the public key. So, my only choice is to generate the certificate by myself and use the external module to sign the certificate. But after searching through the internet for days, I still cannot find that this is a possible option.Is it possible to generate the certificate by ourselves and embed the generated certificate into the FIP binary?Thank
“Error: failed to download Segment[0]�?I looked at the other items with the same title but did not see an answer that would help me.I am using the STM32MP157F-DK2The demo code was working when box was openedI tried to run the demo“Populate the target and boot the image�?athttps://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2I am using ecosystem release v3.1.0AndSTM32CubeProgrammer 2.9.0Down load eventually fails with “Error: failed to download Segment[0]�?Any help on the matter would be appreciated Below is the Log 10:53:37 : USB speed : High Speed (480MBit/s) 10:53:37 : Manuf. ID : STMicroelectronics 10:53:37 : Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000 10:53:37 : SN : 002A001B3438511436383238 10:53:37 : FW version : 0x0110 10:53:37 : Board : -- 10:53:37 : Device ID : 0
Hello, I am trying to establish an interprocessor communication between the cores A7 and M4 with the with the Stm32MP157. The example from ST "OpenAMP_TTY_echo" works fine, but as soon as I change the received buffer or try to send a costomize buffer from the M4 side, it is not received correctly by the A7 anymore.This error happens even if I change only one character in the receive buffer.Does anyone have a clue what is going wrong?Thanks.
I am trying to use the USB OTG in host mode, but it kept giving me the famous HANG! Soft Reset timeout GRSTCTL_CSFTRST error.According to the datasheet, when we set the register, it should reset the core but also clear itself but the following condition checks if it is 0 or not. if ((hsotg->hw_params.snpsid & DWC2_CORE_REV_MASK) < (DWC2_CORE_REV_4_20a & DWC2_CORE_REV_MASK)) { if (dwc2_hsotg_wait_bit_clear(hsotg, GRSTCTL, GRSTCTL_CSFTRST, 10000)) { dev_warn(hsotg->dev, "%s: HANG! Soft Reset timeout GRSTCTL_CSFTRST\n", __func__); return -EBUSY; }Here is some debugging that I have done GRSTCTL VALUE before reset: 0x80000400GRSTCTL VALUE after reset: 0x80000401GRSTCTL inside if condition: 0x80000001Here you can see, it has even cleared the 10th bit itself but did not clear the bit 0.Following is my device tree, I still consider myself a beginner, so I need help.&usbotg_hs{ u-boot,dm-pre-reloc; pinctrl-names = "default", "sleep"; pinctrl-0 = &l
I'm getting these errors on the consoles when FSBL (TF-A) is trying to download SSBL (U-Boot). What could this DFU error be? I've added the following to the U-Boot DTSI file so it ignore USB OTG VBUS and USB OTG ID. I've tried this using Linux and Windows with STProgrammer.&usbotg_hs { u-boot,force-b-session-valid; dr_mode = "peripheral"; };Console Output: NOTICE: CPU: STM32MP157AAA Rev.Z NOTICE: (a)Model: STMicroelectronics custom STM32CubeMX board - openstlinux-5.15-yocto-kirkstone-mp1-v22. 06.15 NOTICE: board_id = 0 NOTICE: Board: Board ID is zero NOTICE: Checking fixed regulator register INFO: fixed_regulator_register() is the problem INFO: Entering the loop INFO: register fixed reg regulator-vdd! INFO: Node: 10728 NOTICE: Calling stm32mp1_syscfg_init() WARNING: VDD unknown NOTICE: Watchdog refresh NOTICE: BSEC read debug configuration NOTICE: Arch security setup INFO: Reset reason (0x4): INFO: Pad Reset from NRST NOTICE: Syscfg enable IO INFO: FCONF: Reading TB_FW
Hi,I am wondering if it is possible to internally connect two GPIO pins by software, not using wires.Thank you
Hi!I am using STM32MP157C-DK2 board to create an application on the screen (using GTK library). My idea is to start coprocessor firmware from the A7 application with the following commands (system commands):int main (int argc, char **argv) { GtkApplication *app; system("su root -c 'echo core_communication_new_CM4.elf' > /sys/class/remoteproc/remoteproc0/firmware"); system("su root -c 'echo start' > /sys/class/remoteproc/remoteproc0/state"); app = gtk_application_new ("org.gtk.example", G_APPLICATION_FLAGS_NONE); g_signal_connect (app, "activate", G_CALLBACK (Window_info), NULL); status = g_application_run (G_APPLICATION (app), argc, argv); g_object_unref (app); return status; }With these two system commands, I want to boot the M4 firmware (core_communication_new_CM4.elf). Then, I initialize A7 program (probak_GTK) with the following command:su -l weston -c "/usr/local/probak_GTK"However, when I run the A7 application, I get the following message in the Linux
I've been validating my DDR interface with DDRUTIL through the CubeMX DDR Interactive which seems to pass the tests. When I boot TF-A it is failing both address bus testing for 1's and 0's. But I can run this same test through DDRUTIL and it passes. What am I overlooking here? As for DDR configuration in either case, the files are identical.Here are the results of doing an address bus test (which per the comments is exactly what TF-A is doing)DDR Interactive ResultsDDR test #4 (AddressBus) triggered with parameters: 4096 0xC0000000DDR test result: PassDDR test #4 (AddressBus) triggered with parameters: 67108864 0xC0000000DDR test result: PassDDR test #4 (AddressBus) triggered with parameters: 67108864 0xC2000000DDR test result: PassDDR test #4 (AddressBus) triggered with parameters: 67108864 0xC4000000DDR test result: PassDDR test #4 (AddressBus) triggered with parameters: 67108864 0xC8000000DDR test result: Pass
Hi,I started getting above errors recently, when trying to connect to an Android device.Can you elaborate on these errors on BLE?0x08 Connection timeout0x3E Connection failed to be establishedHow can I overcome them?Thanks
Hello , I followed 1 qt-wpe-simple-browserfrom here : https://wiki.st.com/stm32mpu/wiki/How_to_install_a_simple_web_browserbut getting the error in launching the browser on executing this command : qt-wpe-simple-browser http://google.com QQmlApplicationEngine failed to load components qrc:/main.qml:3:1:module "org.wpewebkit.qtwpe" is not installedwhich package i have to install?I am already connecteed to network and I am on Ecosystem 3.0regards,D
We're are trying to use BKPSRAM in application code insecurely. According to the stm32mpu BKPSRAM_internal_memory page, we need to "set BKPSRAM as non-secure and degrade low power modes support, removing Standby mode"Apart from setting the etzpc peripheral in the devicetree to non-secure [DECPROT(STM32MP1_ETZPC_BKPSRAM_ID, DECPROT_NS_RW, DECPROT_UNLOCK)]what else is necessary in TF-A?
Is it possible to run touchgfx on the STM32MP1? TouchGfx can be run on the STM32F4 with the M4 core. Is this also possible on the M4 core of the MP1? Is there any support from ST or has anyone already implemented this?
I have three UARTs on the board, all passed the loopback test (wire the tx and rx pin together on the same UART)Then I connect UART 1 to UART2 while UART 1 is transmitter and UART2 is receiver.UART 1 is using HAL_UART_Transmit() to send data to UART2.On the UART2 side, after initialization, I did__HAL_UART_ENABLE_IT(uart_interrupt_config.huart, UART_IT_RXNE); // read data register not empty interruptionIRQ_SetPriority(UART2_IRQn, 0);IRQ_Enable(UART2_IRQn);I put a break point inside UART2_IRQhandler but never reaches there.What am I missing here?Thanks in advance
Hello,Upgrading Linux 5.4 causes SPI to fail to initiate (see boot log snippet below). Any ideas what would cause this (same DT)?Again thanks for your great support!Best RegardsChrister[ 2.782226] spi_stm32 4000c000.spi: failed to request tx dma channel[ 2.787222] spi_stm32 4000c000.spi: failed to request rx dma channel[ 2.853534] ------------[ cut here ]------------[ 2.858162] WARNING: CPU: 0 PID: 21 at drivers/spi/spi.c:2475 spi_register_controller+0x4c8/0x75c[ 2.867232] couldn't get idr[ 2.867236] Modules linked in:[ 2.873229] CPU: 0 PID: 21 Comm: kworker/0:1 Not tainted 5.4.192 #1[ 2.879606] Hardware name: STM32 (Device Tree Support)[ 2.884852] Workqueue: events deferred_probe_work_func[ 2.890102] [<c0111e98>] (unwind_backtrace) from [<c010d544>] (show_stack+0x10/0x14)[ 2.897982] [<c
Using yocto project and changed default sysvinit to systemd with below line in local.confINIT_MANAGER = "systemd" DISTRO_FEATURES += "pam vulkan opengl egl wayland" CORE_IMAGE_EXTRA_INSTALL += "wayland weston" IMAGE_INSTALL:append = " chromium-ozone-wayland libva-utils intel-media-driver mesa vulkan-loader gst-player"With above changes system boots up and can see a blank screen with cursor blink, no auto launch of weston can be seen.Please assist.
I've tried to flash STM32MP157C-DK2 SDCard like described in ST wiki with command STM32_Programmer_CLI -c port=usb1 -w flashlayout_st-image-weston/FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv.and it didn't work! i got following error report. it seems it has trouble to reconnect the device. does anyone have an idea why it didn't work? or does anybody get similar problem? how do i get it working? Thanks a lot! ------------------------------------------------------------------- STM32CubeProgrammer v2.1.0 -------------------------------------------------------------------USB speed : Full Speed (12MBit/s)Manuf. ID : STMicroelectronicsProduct ID : DFU in HS Mode @Device I
I have a STM32MP157C-EV1 board.Can i upgrade STM32MP157C-EV1 board to STM32MP157F-EV1 only removing TM32MP157C processor and reinstaling a new TM32MP157F processor?If not, how can i upgrade MB1263 MPU subsystem daughterboard to the last microprocessor family?
Hi!We are using mdma (dma0chan20) to do "memory to memory" transfers from the FMC to (user) RAM. The FMC is used to access a FIFO buffer that is filled by an FPGA (128kB size).Between individual DMA transactions we measure a delay up to 5ms leading to a buffer overrun in the FIFO.I tried to improve this by scheduling a second DMA transfer directly after the first. I assumed that this "overlapped" transfer will automatically start when the first completes and therefore reduce the time between DMA transfers.This did not work as I assumed:I get the dma_completed callback of the first transaction, but the second (overlapped) transfer does not seem to get started. Info: I put a dev_dbg into stm32_mdma_irq_handler and it is never called by the overlapped transaction. Only by the first one.Funny fact:When I change the used dma_channel to "dma2chan0" and using the "dma" (and not "mdma" engine) it works. The overlapped transfers work and all dma_completed get called.So far so good, but:Th
Hello, teachers.I'm sorry in advance because I think I'll be talking too long.The board I use is STM32MP157D-EV1 (evaluation board).From the previous question and answer, I found that Ubuntu 18.04 and SDK could not be installed on my board, which had a starter package installed through Windows OS.I also knew that Linux, Ubuntu (22.04 or 20.04) OS (64bit) is required to install a developer package or distribution package.So I installed Ubuntu 20.04 LTS on VMWare and even installed the STM32CubeProgrammer program. (Although VMWare-Ubuntu and STM32 evaluation board are not connected yet, I think we can find and connect various information such as environmental variables. But if it doesn't work, I'll have a headache.)Next, here's my situation.I need to install Ubuntu OS and SDK on the board I use for comfortable test construction. From what I heard from the source code developer, the version doesn't matter. Only Ubuntu OS is required. They said that cross-compilation is not neces
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.