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
Hello,I am trying to develop solution with STM32MP157D-DK1 board.I am using developer package.I am referring to information provided on this page, https://wiki.st.com/stm32mpu/wiki/STM32MP1_Developer_Package Section 5.2 is as given below,5.2Installing the OpenSTLinux BSP packages5.2.1Building and deploying the Linux kernel for the first time5.2.2Building and deploying the gcnano-driver for the first time (only on STM32MP15x lines )5.2.3Building and deploying the U-Boot for the first time5.2.4Building and deploying the TF-A for the first time5.2.5Building and deploying the OP-TEE for the first time I completed 5.2.1 and 5.2.2 sections successfully.5.2.1Building and deploying the Linux kernel for the first time5.2.2Building and deploying the gcnano-driver for the first time (only on STM32MP15x lines ) I wanted know that at this stage without completing steps mentioned belowBuilding and deploying the U-Boot for the first time ,Building and deploying the
I need to use the tc358867 bridge in my project. However, the hardware uses the clock that comes from the DSI. The chip's operating cycle requires the clock that comes from the dsi to start working and be found on the i2c bus. I am unable to activate the DSI clock during driver initialization so that I can activate my bridge. Is it possible to use a DSI dummy to inject the clock signal?
I'm currently using STM32CubeIDE v1.8.0 on Windows-10The existing project was targeted for STM32MP157F, because that's the part we had available. I need to generate device tree files for a STM32MP153C, but I don't see any way to change the target MPU in the existing project...
Hey, I am using STM32F407 and I am trying to configure the ethernet peripheral (and LWIP) with the cubemx with no success. I cant ping my board.Please anyone can help me with this?
Hi there,I currently work on the integration of OPTEE to our custom STM32MP151C-based platform. The problem that I've faced is that U-boot hangs just after the board_init_f() function and relocation procedure: NOTICE: CPU: STM32MP151CAC Rev.ZNOTICE: Model: STMicroelectronics custom STM32CubeMX board (TF-A)INFO: Reset reason (0x15):INFO: Power-on Reset (rst_por)INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe2000INFO: FCONF: Reading firmware configuration information for: stm32mp_ioINFO: Using USBINFO: Instance 2INFO: Boot used partition fsbl1NOTICE: BL2: v2.6-stm32mp1-r1.0(debug):v2.6-dirtyNOTICE: BL2: Built : 13:14:26, Nov 23 2021INFO: BL2: Doing platform setupINFO: RAM: DDR3-DDR3L 16bits 533000KhzINFO: Memory size = 0x8000000 (128 MB)INFO: DFU USB START...INFO: phase ID :3, Manifestation 3 at c7146592INFO: Send detach requestINFO: Receive DFU DetachINFO: DFU USB STOP...INFO: BL2: Loading image id 31INFO: Loading image id=31 at address 0x2ffff000INFO: Ima
Hello, Recently, a STM32CubeMP13 Package has beed added by ST ( here on the wiki, here on github). I tried to use external loader with STM32MP135F-DK board, the same board used in the wiki. First, I used SD external loader, with UART and USB connection, following instruction described here. For USB connection, CubeProgrammer gave me these errors : With UART connection, flashin service work, but when I change boot mode for microSD card and reset, I get nothing on serial port and red led LD4 is blinking. The expected operation, as indicated in the wiki, is to have the blue LED flashing and a message via the serial link. I also tried to flash the program in SNOR memory. With UART connection, I have the same result except for red led, who is not blinking but turned on. With USB connection, I have the same error as with the sd card.I use STM32CubeProgrammer 2.15 and I was careful to choose the right boot modeSince I'm using the same development board
We are working on a custom board (based on STM32MP135F-DK) which uses STM32MP131AAE and STPMIC1DPQR PMIC.We are using STM32CubeProgrammer TSV Flashing service to flash the image into eMMC, in this process we are getting a PMIC Panic NOTICE: CPU: STM32MP131A Rev.Y NOTICE: Model: STMicroelectronics STM32MP135F-DK Discovery Board INFO: PMIC version = 0x21 INFO: Reset reason (0x35): INFO: Power-on Reset (rst_por) INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe0000 INFO: FCONF: Reading firmware configuration information for: stm32mp_io INFO: Using USB INFO: Instance 2 INFO: Boot used partition fsbl1 NOTICE: BL2: v2.8-stm32mp1-r1.0(debug):2021.05-10168-g4a52d0539d(4a52d053) NOTICE: BL2: Built : 11:23:27, Dec 6 2023 INFO: BL2: Doing platform setup INFO: RAM: DDR3-1066 bin F 1x4Gb 533MHz v1.53 INFO: Memory size = 0x20000000 (512 MB) INFO: DFU USB START... INFO: handle USB : Suspend int INFO: USB Suspend mode INFO: handle USB : Reset INFO: handle USB : Reset INFO: phase
Hello,We have designed our FMC interface using NOR Mode B multiplexed AD-Bus.Checking the actual Revision 6https://www.st.com/resource/en/reference_manual/DM00366355.pdfreference manual this is not allowed, see Ch. 25.8.4 (Pg1365):If the extended mode is enabled (EXTMOD bit is set in the FMC_BCRx register), up to four extended modes (A, B, C and D) are available. It is possible to mix A, B, C and D modes for read and write operations. For example, read operation can be performed in mode A and write in mode B. The extended mode is not compatible with the muxed mode (EXTMOD bit must be kept cleared in muxed mode). This has changed from the time we have developed our interface. At that time the document had Revision 4. And this chapter does not contain the restriction in the last sentence as outlined above. Can somebody explain the reason for the change?What can happen if we keep this settings for the fmc2 the way we have designed it? Thanks
Getting panic error during optee binary update. We are stuck on this. Kindly provide any guidance. We are using emmc for boot and Two file updating till now. But after fip-stm32mp135f-dk-optee.bin update we are getting this error. Here is the log- NOTICE: CPU: STM32MP135F Rev.Y NOTICE: Model: STMicroelectronics STM32MP135F-DK Discovery Board INFO: PMIC version = 0x21 INFO: Reset reason (0x35): INFO: Power-on Reset (rst_por) INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe0000 INFO: FCONF: Reading firmware configuration information for: stm32mp_io INFO: Using USB INFO: Instance 2 INFO: Boot used partition fsbl1 NOTICE: BL2: v2.8-stm32mp1-r1.0(debug):() NOTICE: BL2: Built : 17:16:39, Jan 4 2024 INFO: BL2: Doing platform setup INFO: RAM: DDR3-1066 bin F 1x4Gb 533MHz v1.53 INFO: Memory size = 0x20000000 (512 MB) INFO: DFU USB START... INFO: handle USB : Suspend int INFO: USB Suspend mode INFO: handle USB : Reset INFO: phase ID :3, Manifestation 0 at c717367e INFO: S
Hi team,I have an STM32MP157 board with the following git branch.a. buildroot: remotes/origin/st/2023.02.6b. buildroot-external-st: remotes/origin/st/2023.02.2I got the error message "no service found for - "org.qt-project.qt.camera"" when I ran the QT5 example camera code.The following are plugins:# ls /usr/lib/qt/plugins/audio imageformats qmltoolingbearer mediaservice scenegraphegldeviceintegrations platforms videogeneric playlistformats Execute camera program:export QT_DEBUG_PLUGINS=0export QT_PLUGIN_PATH=/usr/lib/qt/plugins/root@buildroot:/usr/lib/qt/examples/multimediawidgets/camera# ./cameradefaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.camera" It looks like the library is loaded.# ldd ./cameralinux-vdso.so.1 (0xbed92000)libatomic.so.1 => /lib/libatomic.so.1 (0xb6f20000)libQt5MultimediaWidgets.so.5 => /usr/lib/libQt5MultimediaWidgets.so.5 (0xb6ee0000)libQt5Multimedia.so.5 => /usr/lib/libQt5Multimedia.so.5 (0xb6e10000)libQt5
We have designed 2 seperate boards, main board has STM32MP135FAE on board connected to Microchip LAN8742 via ethernet1 mac and it is working. second board is a network board and has Marvell 88E6185 switch on board. Ethernet2 mac on STM32MP135F is connected to Port9 at the Switch using MII. However, STM32MP135F is not enabling internal clock. And eth2 is not activated.I have tried setting ETH clock at 25MHz, no luck.I have attached my configuration files and clock settings and dmesg log.Any idea what might be wrong on my configurations?
Hello Team, Now I am working on stm32mp133f MCU. I need to implement break error interrupt in USART. My requirement is when we got 'NULL' data on RX FIFO . it should generate break interrupt. shall I get this interrupt with frame error.
Online run successful (FSBLA_Sdmmc1_A7, MP13-BSP_BasicTemplates, DDRInit-A7).Successfully burned SD card, but it did not run。Using chip STM32MP135DAE7。Modified #define USE_STPMIC1x 1U to #define USE_STPMIC1x 0U, Other unchanged. The starting position of SD card 128LGA has the same data。What checks do I need to perform? The chip used is different from the official board(use STM32MP135DAE7)。
..
Processor stm32mp157it runs Opencv in baremetal modesingle-tasking environment.when calling a methodvoid UMat::addref(){if( u )CV_XADD(&(u->urefcount), 1);}we get DAbt.The disassembler shows a set of instructions 388 CV_XADD(&(u->urefcount), 1);c013c5cc: ldr r3, [r11, #-8]c013c5d0: ldr r3, [r3, #24]c013c5d4: add r3, r3, #8c013c5d8: dmb ishc013c5dc: ldrex r1, [r3]c013c5e0: add r1, r1, #1c013c5e4: strex r2, r1, [r3]c013c5e8: cmp r2, #0c013c5ec: bne 0xc013c5dc <_ZN2cv4UMat6addrefEv+48>The memory addresses being accessed are correct and located in the DDR RAMWhen executing instruction c013c5e4: strex r2, r1, [r3], a DAbt interrupt occurs.'GNU Tools for STM32 11.3.rel1.20230912-1600'What is the reason for this behavior?
Hi team,I have an STM32MP157 board with a Cortex-M4 processor. I have a simple task, which is to toggle the GPIO at maximum speed with accuracy, ensuring that the clock width does not vary.The maximum toggle speed we require is approximately 15ns between the rising and falling edges. Using the Keil IDE, it is possible to achieve this speed with the Nucleo F746ZG board, which has the same speed as the STM32MP157 for the Cortex-M4 processor.I have generated code in Cube IDE, but the speed we achieved for the STM32MP157 Cortex-M4 is slow, around 60ns. The code used to toggle the GPIO in a while loop is as follows:GPIOF->BSRR = LED_Pin << 16;GPIOF->BSRR = LED_Pin;I appreciate any assistance in improving the toggle speed for the STM32MP157 Cortex-M4.Thank you.Kundan Jha
I have an STMP157F-EV1 and I have followed the instructions here to download and program the starter package. Everything works as best I can tell except the remote console hangs just after the initial login messagestm32mp1 login: root (automatic login)It prints a line feed as if it is logging in, but no shell prompt. Keyboard input also appears ignored, not even return keys to scroll. Attached is the complete startup log on the remote terminal. There are a couple of messages indicating file system resizing. That seems strange given it was just programmed, but I'm not sure what is expected. I can start a terminal on the attached display and if I type 'systemctl reboot' (without the -i). I get the following message:User root is logged in on ttySTM0Please retry operation after closing inhibitors and logging out other users.Alternatively, ignore inhibitors and users with 'systemctl reboot -i'So that also looks like root is logged in. I have verified
Hi,I was using an STM32MP157F-EV1 evaluation kit and followed the instructions mentioned in https://wiki.st.com/stm32mpu/wiki/X-LINUX-AI_Starter_package#Configure_the_AI_OpenSTLinux_package_repository and installed the AI OpenSTLinux package. I then proceeded to X-Linux-AI sample AI applications. The demos appeared on the onboard display on the evaluation kit.I tried opening the applications using the touch interface as well as the command line. Example https://wiki.stmicroelectronics.cn/stm32mpu/wiki/TFLite_Cpp_object_detectionIn both cases the application loads but there is not input from the onboard camera.I tried copying some test images onto the testdata folder and running the application to detect the static images. This works fine.The demo camera app on the demo launcher works fine as well. But none of the AI demo applications are able to use the stream from the camera.Below are a few things I tried.root@stm32mp1:~# /usr/local/demo-ai/computer-vision/tflite-object-detection/bin/
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
Hi,We are working on developing a custom board that necessitates the immediate activation of a buzzer with a predefined frequency as soon as the board is powered up. We are exploring the feasibility of utilizing the PWM driver in U-Boot to achieve this functionality.Can anyone advise if it is possible to configure the U-Boot PWM driver to meet this requirement? Additionally, we are seeking references or guidance regarding the necessary configurations in the U-Boot device tree and source code to accomplish this task effectively.
I am trying to create a new board based on STM32MP135D.An error occurs while running u-boot on optee layer.The log below is the log where error occurs. Full log is attached as file. Hit any key to stop autoboot: 0 Boot over usb0! D/TC:? 0 tee_ta_init_pseudo_ta_session:296 Lookup pseudo TA 1a8342cc-81a5-4512-99fe-9e2b3e37d626 D/TC:? 0 ldelf_load_ldelf:95 ldelf load address 0x40004000 D/LD: ldelf:134 Loading TS 1a8342cc-81a5-4512-99fe-9e2b3e37d626 F/TC:? 0 trace_syscall:151 syscall #3 (syscall_get_property) F/TC:? 0 trace_syscall:151 syscall #5 (syscall_open_ta_session) D/TC:? 0 ldelf_syscall_open_bin:142 Lookup user TA ELF 1a8342cc-81a5-4512-99fe-9e2b3e37d626 (early TA) D/TC:? 0 ldelf_syscall_open_bin:146 res=0 D/TC:? 0 stm32_hash_allocate:182 Using HASH 3 F/TC:? 0 trace_syscall:151 syscall #7 (syscall_invoke_ta_command) F/TC:? 0 trace_syscall:151 syscall #11 (syscall_mask_cancellation) F/TC:? 0 trace_syscall:151 syscall #7 (syscall_invoke_ta_command) F/TC:? 0 trace_syscall:1
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! Is there a way to run unit tests automatically on the STM32MP157-DK2 board? I've managed to flash the device using the STM32 Programmer CLI, but after flashing, I need to manually switch the bootmode to boot from the SD-card.It would be great if the flash and boot could be triggered completely automatically, e.g. by a Jenkins script. If the device could flash and boot without any manual steps, it would make it possible to run various test scripts completely automatically on the real hardware. Is this in any way possible?
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.