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
Using the Distribution Package for STM32MP1 I'm able to access to the rootfs partition, example:my_postprocess_function() { cp -dr /home/osboxes/www ${IMAGE_ROOTFS}/opt/ chown -R daemon:daemon ${IMAGE_ROOTFS}/opt/www/ }But how to access to bootfs partition? For example to add the `boot.scr.uimg` or `rproc-m4-fw.elf`. I cannot find a `${IMAGE_BOOTFS}` variable.
Have been spending time reading the Wiki about the Yocto environment, is there a link to forward technical suggestions and grammar corrections?
Trying to build image using unmodified distribution package. Hardware crypto devices are enabled in config:root@stm32mp1:/etc# zcat /proc/config.gz | grep CONFIG_CRYPTO_DEV_STM32CONFIG_CRYPTO_DEV_STM32_CRC=yCONFIG_CRYPTO_DEV_STM32_HASH=yCONFIG_CRYPTO_DEV_STM32_CRYP=yBut 'cat /proc/crypto' shows no 'stm32' drivers. What am I doing wrong?
I'm trying to create new image with my app, that needs qtwebkitwidgets, but have some problems with that. When bitbake starting compile qtwebkit-my host pc freezes. I read that post https://community.st.com/s/question/0D50X0000AVSWK1SQP/what-is-the-process-for-initializing-the-openembedded-build-environment-stexampleimageqt about qtwebkit, but in my case it doesn't work. My MACHINE=stm32mp1 DISTRO=openstlinux-x11. I tried bitbake with -k and I tried to launch compilation again, first compile stoped at 38%, after rebooting my host-it's 0% and freeze.Is any alternative ideas how I can install qtwebkit to use my app?
Hello,I use STM32MP157C-DK2 board with freeRTOS.I run my bord in engeneering mode with default freeRTOS parameters provided by cubeMXI create tree threads in my application but the last does not start.May be it is a memory space problem. So I try to increase the parameters TOTAL_HEAP_SIZE but when I run again no threads works.What parameters could I change to have more free space ?Best regards,Arnaud Bousquet
Hi,I am trying to set up usb ethernet gadget on u-boot with stm32mp157c-dk2 board. I enabled the rndis gadget on the menuconfig but u-boot keep saying that there is no ethernet driver. Any suggestions?
Hi, I use stlink v2 connect my custom board. The stm32cubeprogrammer shows error message when I use SWD or JTAG mode. The stlink version is V2J33S7.No STM32 target found!And I also tested with DK2 board. Could you give me some hints about it?
Hi! I am trying to use ADC on STM32MP157C-DK2. With Starter Package image it runs fine, but with st-example-image-qt it stuck on the function below. Can somebody helps me with this? I think it is a problem in the device tree file. if(HAL_ADC_PollForConversion(&hadc2, 5000) != HAL_OK){ HAL_Delay(1000); }
I'm trying to get my STM32MP157A-DK1 to boot with this tutorial: https://wiki.st.com/stm32mpu/wiki/Category:Starter_PackageFlashing works (note that I'm flashing the DK2 tsv package, since there is none for the DK1). But on boot the device gets stuck on:[ 2.033952] sdhci-pltfm: SDHCI platform and OF driver helperI attached the full boot code in a pastebin: https://pastebin.com/gz0deEv7The LD8 blue LED is blinking two fast blinks at a time.
Hello,I wish use FreeRTOS with STM32MP157C. When I configure my bord on CubeMX a message pop up says I should configure SYS parameter with an others time source than sysTick. But if I configure TIM1 for example I cannot assign TIM1 in SYS section .cardHave you any ideas to solve this problem ?Best Regards,Arnaud Bousquet
Hi ST team !During the process of finding a way to put our custom boards in production, I tried to use the STM32Prog mode on Uboot. This failed because in SPL, spl_board_load_image() is empty and can't download via USB OTG the SSBL.I found another way to produce our board but I would like in the futur using CubeProgrammer.My question is do you have any plan to fill this function ?https://github.com/STMicroelectronics/u-boot/blob/v2018.11-stm32mp/arch/arm/mach-stm32mp/spl.c=> /* TODO : add download support in SPL without TF-A */Thanks!RegardsAnthony Harivel
We Have bought STM32F439 Evalution Board from STMicroelectronics. In User manual UM1668 specifies the following in Page No.18 and attached for your reference.Note: Ethernet works properly in the default setting (which RX_ER is not connected to PI10 of STM32F439NIH6) because PI10 is shared with data signal of SDRAM.If RX_ER signal is needed, remove R244 and solder R43.We want to use High speed USB, Ethernet and FMC D[0:31] from the STM32F439NIH6 Microcontroller in Our Application.Since Some of the Microcontroller pins are shared by both Ethernet and FMC D[0:31] or High-speed USB and Ethernet. For Example: PI10 - FMC_D31, ETH_MII_RX_ER.
STM32WB version 2.9.1.2019050314Linux version 4.15.0.72 64bEclipse version Neon.3 release 4.6.3Java version 11.0.5 2019-10-15Distro Linux Mint 19.2 TinaI am using the discovery stm32mp1-157 and trying to follow the wiki tutorial. I have been able to build the is and load it and reboot. I have been successful in creating the gtk hello world, loading it to the board and running it. Now I am trying to do the OpenAMP_TTY_echo project. It compiles fine but when I try to start the debugger the connection fails indicating “Ethernet over usb0 connection�? error. The target widget in the lower right corner cycles through Status:idle, Device: /dev/ttyACM0, Addr: 192.168.7.2, check host usb0 cfg!.Has anyone else run into this?I have tried to fix it by adding group permissions for dial out and try to user name but no change.I suspect a permissions problem but cannot figure it out.I also checked the board side using the serial connection in SWB4STM and verified That the eth address for th
The Wiki says it is easy but how do you link to a none existing serial device? No driver, no connection . As for connecting over Ethernet, the Wiki author must have never seen a STM32MPU157C-DK2 yet that page was approved by someone that must have never checked.
..
Hello, previously, I had no problem setting up the virtual UARTs in the the Ac6 IDE using STM32CubeMX 5.3.0. With the new 5.4.0, the OpenAMP initialization change a bit so, obviously I enabled in the openamp_conf.h the UART HAL module driver (virt_uart.c). With the generated code (Cube 5.4.0) the openamp initalization hangs the M4 when executing MX_OPENAMP_Init(). : /* MCU Configuration--------------------------------------------------------*/ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */ HAL_Init(); /* USER CODE BEGIN Init */ __HAL_RCC_HSEM_CLK_ENABLE(); /* USER CODE END Init */ /* Configure the system clock */ SystemClock_Config(); /* IPCC initialisation */ MX_IPCC_Init(); /* OpenAmp initialisation ---------------------------------*/ MX_OPENAMP_Init(RPMSG_REMOTE, NULL); What are the possibilities to debug this? I suspect, the CM4 cannot connect to the CA7. Thank you very much. Thread #1 (Suspended : Sign
I am using the STM32MP157C-DK2For testing purpose I need to build and replace the BSP and in particular the bootloader.The documentation is a bit messy and I'm not able to find the information I need.I need to rebuild and replace TF-A and u-boot.I read so far:https://wiki.st.com/stm32mpu/wiki/TF-A_overviewhttps://wiki.st.com/stm32mpu/wiki/STM32MP1_Starter_Package_-_imageshttps://wiki.st.com/stm32mpu/wiki/STM32CubeProgrammer_flashlayoutWhere I can find all the sources and documentation explaining how to rebuild TF-A (Trusted Firmware-A)?Thank you.
The CS42L51 used in the STM32MP15-DK2 has a beep generator that can be used to generate tones with selectable frequency and separate volume control.Is this functionality exposed by the CS42L51 ALSA driver? Can this be used from Linux?Thank you,Guillermo
tty*** is not created when plugging in Prolific Technology, Inc. PL2303 Serial Portlsusb returns: Bus 002 Device 014: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Portbut no tty*** is created and I cannot communicate with the device.Thank you,Momchil
I want to configure the TFTP launch, but I can't generate the core-image-least-initramfs system
Board: STM32MP157A-DK1Situation: I have the release 2.6-openstlinux-4.19-thud-mp1-19-02-20 on the A7 core running. I created a simple FreeRTOS LED app with the latest CubeMX for the M4 core. The FreeRTOS interface ist CMSIS V2. The SYS Timebase Source is TIM7. The DefaultTask toggles LED7.Problem: In production mode the function osKernelStart returns the osErrorISR state. I figured out that the IPSR holds the value 71 dec. For test case i included the following code on top of the main.int main(void) { /* USER CODE BEGIN 1 */ volatile uint32_t result; __ASM volatile ("MRS %0, ipsr" : "=r" (result) ); __ASM volatile ("nop"::); /* USER CODE END 1 */ . . . }result already has the value 71 when M4 firmware starts. I expect the value 0 because there is no ISR at that time.If the MP1 is in engineering mode, the scheduler starts normal and result is 0.Can somebody explain that behavior? Is it possible that the A7 core sets the value in the IPSR?Thx for your help.
I compiled uboot and Linux kernel packages, used a brand new SD card.and used "sgdisk" to divide them into five areas. fsbl1,fsbl2,ssbl,bootfs,rootfs.Use the following command to complete the burning of u-boot:--------------------------------------------------- for basic boot mode : <SDCard dev> = /dev/sdb1 # dd if=u-boot-spl.stm32 of=/dev/sdb1p1 # dd if=u-boot-spl.stm32 of=/dev/sdb1p2 # dd if=u-boot.img of=/dev/sdb1p3--------------------------------------------------Using "dd" command, sdb1p1, sdb1p2 and sdb1p3 will be produced in dev directory. Sdb1 is the name of my SD card.Now I have a problem copying files to bootf and rootfs. Readme.how to.txt is as follows:--------------------------------------------------* kernel + devicetree$> cd <path to install_artifact dir>/install_artifactVerify sdcard are mounted on your Linux PC: /media/$USER/bootfs$> cp -r boot/* /media/$USER/bootfs/Depending of your Linux config
Hello,I'm trying to launch OPENAMP tty echo demo project. I succeed one time, the tty was correctly created and i can communicate. But I recently flash the SD using dd tool and after this operation the M4 code stuck in MX_OPENAMP_Init on :while(resource_table.vring1.da != VRING_RX_ADDRESS)Maybe something wrong in the device tree but i don't find any solution on web or this forum (i tried the solutions offered in an other post on this forum, but no results).Best regards,Robin.
I have problems with different SDIO WiFi Modules on the stm32mp157-dk2. Those Modules are connected to the sdmmc3. The modules are qca9377-3 and wilc3000. Both Modules are slow compared to the on the dk2 embedded device and both are slow compared to its adaption to the rpi 3b+. I have tested against 4.19.9, 4.19.49 and 4.9.82 (git). Below are Messages from those drivers indication there is something wrong. Switching debug on #echo -n 'module mmc_core +p' > /sys/kernel/debug/dynamic_debug/control #echo -n 'file sdio_irq.c +p' > /sys/kernel/debug/dynamic_debug/control does not show any error messages.I suspect with the sdio implementation on the stm, but I am not sure about that. When I tested the qcacld-2.0 driver on the 4.9.82 Kernel the message did not come up again, but in the transfer speed did not change. For the qcacld Driver I have implemented the usage of an out of band irq with a gpio but again without gaining any performance.Looking at the mmc driver mmci.c and mmci
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.