Ask questions and find answers on STM32 microprocessors and dedicated embedded software solutions, such as Yocto SDK, Qt, and OP-TEE.
Most recent activity
Hi I am working on a custom board based on STM32MP157A . For USBH_EHCI:In USBH_EHCI_HCCPARAMS register there is a bit called "SFAC" is mentioned in reference manual(RM0436) .Could you please tell us what is the meaning and functionality of the bit.In ehci-specification-for-usb(revision 1) the same bit is 64 - bit Addressing CapabilityRegister from reference manual :Register from ehci specification document : RegardsSrikanth
Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.15.67 (oe-user@oe-host) (arm-ostl-linux-gnueabi-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220708) #1 PREEMPT Wed Jan 24 06:48:36 UTC 2024 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Altair :: Main Processor Unit of Avionics - UMi [ 0.000000] printk: bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writeback [ 0.000000] cma: Reserved 64 MiB at 0xdc000000 [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000c0000000-0x00000000dfffffff] [ 0.000000] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000c0000000-0x00000000dfffffff] [ 0.000000] Initmem setup node 0 [mem 0x00
First of all i am new at embedded linux so i will be very pleased if you explain things like i am 5 years old.I have a python program working on my main PC uses openai-whisper ( Whisper Github ) . I want to run it on my STM32MP157c-DK2 board. I installed the starter package without demo launcher on my board (extensible.tsv). I don't have a linux PC so i am trying to do eveything on terminal via USB. When i usepip3 install git+https://github.com/openai/whisper.giti got lots of errors: Installing build dependencies ... doneGetting requirements to build wheel ... donePreparing metadata (pyproject.toml) ... doneCollecting numbaUsing cached numba-0.58.1.tar.gz (2.6 MB)Preparing metadata (setup.py) ... errorerror: subprocess-exited-with-error× python setup.py egg_info did not run successfully.│ exit code: 1╰─> [104 lines of output]/usr/lib/python3.11/site-packages/setuptools/__init__.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecat
Hi Seeed Tech Support , We are using ODYSSEY - STM32MP135D board and following wiki:https://wiki.seeedstudio.com/ODYSSEY-STM32MP135D/ We are booting from SDCard and able to reach the buildroot shell. On buildroot sheel, we are unable to login using default setting:user name: rootpwd: <enter> i.e. no password Please let us know the correct user name & password. Regards,
We are working with STM32MP135FAE7 processor. We are unable to get clock, chip select spi4. Here is the pinmux for spi4 according to our board which is defined in optee stm32mp135dk.dts.spi4_pins_alt1: spi4-alt1 {pins {pinmux = <STM32_PINMUX('B', 15, AF5)>, /* SPI4_MOSI *//*<STM32_PINMUX('D', 10, AF5)>, /* SPI4_NSS */<STM32_PINMUX('F', 3, AF5)>, /* SPI4_MISO */<STM32_PINMUX('H', 9, AF5)>; /* SPI4_SCK */bias-disable;drive-push-pull;slew-rate = <1>;};};and stm32mp135.dtsi spi4: spi@4c002000 {compatible = "st,stm32h7-spi";reg = <0x4c002000 0x400>;interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;clocks = <&rcc SPI4_K>;resets = <&rcc SPI4_R>;#address-cells = <1>;#size-cells = <0>;feature-domains = <&etzpc STM32MP1_ETZPC_SPI4_ID>;status = "okay";};What can be the issue and how can I debug it at hardware level and software level?
I have doubts, please give solution. I am using stm32mp135f series processor.1. How should I remove all components of stm32mp135f-dk-a7-examples from rootfs, I want my device to boot fast and but for few seconds it waits for stm32mp135f-dk-a7-examples.dtb. I have doubts its components increasing rootfs size.2. How can I decrease size of rootfs and kernel uImage.?3. Can I use .tar file of rootfs in place of ext4 format for my hardware and use stm32cube programmer to upload all rootfs?
i have print the hello board on stm32mp135 board using below path.https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP135x-DK/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Create_a_simple_hello-world_application now i want to control gpio pin with this GUI .how i can do this ?
In the file "Problem description.pdf" you find a description of my problem.I am using visualgdb to compile a Linux application using the GTK-Graphic running on the A7 core of the STM32MP157F-DK2 board.The build process principally works correctly, but there is a problem with user privilege settings.Does sombedy have any ideas how to tackle this problem ?
Hello,We will development IoT panel platform. We are examining STM32MP135 product for use in the project. However, there is something we are worried about. Is it possible to use VOIP SIP directly with this linux image?It will be used directly through the PBX server (asterisk, etc.).In fact, we are wondering whether we will need to do additional development at the linux kernel level. Can you publish example works for us?
I am trying to dump LED blink program in STM32MP157D-DK1. I don't want to use any other software like STMCubeMX, meaning that, create project in Eclipse and write program to blink LED. I created project and build it successfully, but when run the code, it generates an error " 'Launching Debug' has encountered a problem." int main(void) { // Enable GPIO clock for GPIOC RCC_MC_AHB4ENSETR |= (1U << 2); // Set bit 2 for GPIOCEN // Set PC0 as output GPIOC_MODER &= ~(3U << (GPIOC_PIN_0 * 2)); // Clear bits GPIOC_MODER |= (1U << (GPIOC_PIN_0 * 2)); // Set as output while (1) { // Toggle the LED state GPIOC_ODR ^= (1U << GPIOC_PIN_0); // Toggle PC0 delay(1000000); // Delay } return 0; }
HelloI have an STM32MP135x-DK board and have built my own openstllinux image and rootfs for it as shown in this article.https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_PackageNow I'm trying to get spi5 to show up in /dev so I can use spidev to write some user applications using spi5 as a generic spi master. The tl;dr is that I'm having issues even getting anything to show up in /sys/class/spi_master, much less /dev/spidev.DETAILS:I have followed the instructions here to configure the kernel and used a separate install of stm32cube IDE with the STM32MP135x-DK example project to generate my device tree with SPI5 enabled. Since then though, I have tried making a lot of hand-edits to my .dts file as I became more familiar with the syntax.https://wiki.st.com/stm32mpu/wiki/SPI_overviewHere's what my .config file looks like in my kernel's build directory (with commented out options removed).CONFIG_SPI=yCONFIG_SPI_MASTER=yCONFIG_SPI_MEM=yCONFIG_SPI_GPIO=mCONFIG_SPI_STM32=mCONFIG_S
HI,I am working on a custom STM32MP151AAC3 board, and working on OpenSTLinux 4.10 distribution package.Now I can connect to the board through UART4(PB2 and PG11) by STM32CubeProgrammer, and I want to tune the DDR3 to verify the design. I need the u-boot-spl.stm32 binary file.Firstly, I create a custom layers for the custom board following the instruction from https://wiki.stmicroelectronics.cn/stm32mpu-ecosystem-v4/wiki/How_to_compile_the_device_tree_with_the_Distribution_Package , and I can built the system image successfully. But I cannot find u-boot-spl.stm32 or u-boot.stm32 in the **/deploy/images/customboard/u-boot directory.Then I find a wiki page said that “The ouput file u-boot.stm32' is only generated for stm32mp15_trusted_defconfig with CONFIG_STM32MP15x_STM32IMAGE; it is not more used for ecosystem release ≥ v4.0.0”. So, I adjust the machine.conf and append "UBOOT_CONFIG[trusted] = "stm32mp15_trusted_defconfig,,u-boot.dtb", still cannot get the u-boot stm32image.I have attac
when we run the minicom -D /dev/ttyACM0then it show below errorminicom: cannot open /dev/ttyACM0: Permission deniedhow i can solve this problem ?
Hello everyone,I have the stm32mp157c-dk2 for performance evaluations. Our goal is to check if the CPU/GPU performance is good enough for our next productm which will be used as a GUI frontend.I built the openstlinux (mickledore) as-is from github successfully.Now, I want to customize the image for our needs.As far as I see, Uboot and TF-A are not really optional, so they should be included in the project.We do not need any "trusted" mechanisms in our project. My goal would be, building an image without optee and using the "optee-core", which is currently used by optee, under linux, thus making a dual-core linux system.The machine configuration defines here:BOOTSCHEME_LABELS += "optee"At least in the configurations of uboot and tf-a optee doesn't seem to evaluate this option, uboot takes hard-coded in the default config optee as enabled. My questions:Is it possible to build without optee ?If yes, is the "optee core" usable from kernel as "multicore" system ?If yes, is it just enou
On a proprietary board based on STM32MP157AAA, code was created on the M4 core for reading 11 analog gates managed in DMA (end of sequence interrupt) of ADC1 and ADC2 in independent mode with conversion start via software executed cyclically. The adc values obtained are then passed to the control loop through the command port implemented on /dev/ttyRPMSG0 to the A7NS core where an application runs. Furthermore, a second virtual port (/dev/ttyRPMSG1) was used to trace the execution of the code on M4. The Start/Stop of the M4 firmware occurs via a script that uses remoteproc linux A7 "Non Secured". Mcu Reference : STM32MP157AAAxFirmware Package : STMCube FW_MP1 V1.5.0Manifest Version : openstlinux-5.10-dunfell-mp1-21-11-17Manifest Content : TF-A 2.4, Linux 5.10.61, U-Boot 2020.10 TF-A Setting ...&etzpc{ secure-status = "okay"; st,decprot = < /*"NS_R S_W" peripherals*/ DECPROT(STM32MP1_ETZPC_DDRCTRL_ID, DECPROT_NS_R_S_W, DECPROT_LOCK) DECPROT(STM32MP1_ETZPC_DDRPHYC_ID, DE
hi, i am doing a project related to fdcan on m4 kernel of stm32mp157d-dk1, i have configured it like the tutorial video on youtube of stm32 https://www.youtube.com/watch?v=xGRvVKfs2-0&ab_channel= STMicroelectronics, but they don't work, please help me, thank you
Hello,currently, I'm in the production phase of my product which is based on stm32mp153. Unfortunately, I have a huge problem with setting the password for root.First I commented debug-tweks in local.conf.I added INHERIT += "extrausers" EXTRA_USERS_PARAMS = " \ usermod -p '$5$otifn3fxcID0nu0c$QUDR.mLMbgEgl26XPEX6Rm6ASUB0ab8UFtQHdoEOBt4' root; \ " hashed or not based password but I can't login into root using ssh.Then I discovered that I could still log in through the serial console without providing anything. I found and commented 'serial-getty@.service'line ExecStart=-/sbin/agetty -8 --autologin root -L --keep-baud %I @BAUDRATE@ $TERM to ExecStart=-/sbin/agetty -8 -L --keep-baud %I @BAUDRATE@ $TERM Additionally, I updated sshd_config file line PermitRootLogin prohibit-password toPermitRootLogin yes And finally, the result is that I can't log in via serial and ssh.I read some issues from the linkhttps://community.st.com/t5
Hi, I have a custom board with a stm32mp153. I was able to get past the trusted bootloader and into optee. It builds the mmu map and then panics when checking it. I am able to partially step through building the table and the memory starts to get corrupted but I can't see why. I also have a 157-ev which works fine when I build for that on the same dev machine. I am looking for possible clues on where to go from here.
I am testing our custom board with stm32mp153a and I have customized the DDR utility so that the uart and pmic work. I have used the RAM timings from cubemx that kind of work with TF-a. I have the PLL2 values that also work with TF-a. I get a DDR Initialization KO. Looking deeper into it, it dies when trying to turn on the DDR clock. One thing I noticed is that the code is hard coded to use HSE when this design uses HSI for the DDR clock. If I change it to HSI the utility gets stuck trying to print anything to UART.
I have update uImage and dtb but I get this error during boot Starting kernel ... E/TC:0 Panic 'Watchdog' at /usr/src/debug/optee-os-stm32mp/3.19.0-stm32mp-r1-r0/core/drivers/stm32_iwdg.c:198 <stm32_iwdg_it_handler>E/TC:0 TEE load address @ 0xde000000E/TC:0 Call stack:E/TC:0 0xde0030f9E/TC:0 0xde019f87E/TC:0 0xde00c873E/TC:0 0xde01966dE/TC:0 0xde039601E/TC:0 0xde000340 After this kernel could not start? what is the issue?
Hello everyone, we have designed a custom stm32mp157f based board, trying to bring it up. I can get past the first stage boot loader and quite deep into OPTEE boot. The boot stops when OPTEE panics at ETZPC Probe (see below). If I disable the ETZPC in the device tree, the system hangs after displaying DT file name, with a message "DTB Disables Console". Any hints where to go from there are appreciated ! D/TC:0 0 print_probe_list:358 `- Probe list endD/TC:0 0 print_probe_list:364 Failed list: 0 elementsD/TC:0 0 print_probe_list:369 `- Failed list endF/TC:0 0 probe_driver_node:391 Probing stm32mp1-cpu-opp on node cpu0-opp-tableD/TC:0 0 probe_driver_node:404 element: stm32mp1-cpu-opp on node cpu0-opp-table deferred 2 time(s)F/TC:0 0 probe_driver_node:391 Probing stm32-etzpc on node etzpc@5c007000E/TC:0 0 stm32_etzpc_probe:651 ETZPC probe failed: 0x80000000E/TC:0 0 PanicD/TC:0 0 stm32_bsec_find_otp_in_nvmem_layout:644 nvmem part_number_otp = 1: 1 bit offset: 0, length: 8M/TC: CPU : 0M
I have tried to download the driver for VL53L5CX from this location, but there is nothing in this section.https://www.st.com/en/embedded-software/stsw-img025.htmlCould You please direct me to the location with the driver for VL53L5CX?Could I still use the driver which already exists in Linux, that is vl53l0x-i2c.c for VL53L5CX, or it hast be explicitly VL53L5CX?Best regards,Goran
How can I add and use IPSEC in stm32mp135f-dk, I have installed strongswan but while I test ipsec restart command its says "ipsec not found", is there any alternate method/tool to test IPsec?
D:/ST/STM32CubeIDE/workspace_1.14.0/azure/Application/Debug/../Core/Src/tx_initialize_low_level.S:147: undefined reference to `_stack_bottom'I config the project just with these simple steps, without any coding.
I'm trying to enter standby (DDR off or on) on my custom board, containing a STM32MP151 and a STPMIC1B. This is my STPMIC/suspend entry in the device tree of OPTEE: &i2c4 { compatible = "st,stm32mp15-i2c-non-secure"; pinctrl-names = "default"; pinctrl-0 = <&i2c4_pins_z_mx>; //pinctrl-1 = <&i2c4_sleep_pins_a>; i2c-scl-rising-time-ns = <185>; i2c-scl-falling-time-ns = <20>; clock-frequency = <400000>; status = "okay"; /* spare dmas for other usage */ /delete-property/dmas; /delete-property/dma-names; pmic: stpmic@33 { compatible = "st,stpmic1"; reg = <0x33>; interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>; interrupt-controller; #interrupt-cells = <2>; status = "okay"; regulators { compatible = "st,stpmic1-regulators"; buck1-supply = <&vin>; buck2-supply = <&vin>; buck3-supply = <&vin>; ldo3-supply = <&vdd>; ldo2-supply = &l
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.