Get ready for the STM32 Summit 2026 | Online, November 3
Ask questions and find answers on STM32 microprocessors, including hardware, power, DRAM, flashing, interfacing, device tree, and peripherals.
Most recent activity
Hello,We are working on stm32mp157A processor.we are using uboot-2021-10 version, while booting we are getting invalid MAC address. as in below image.we tried to set the MAC address by using following commandssetenv .flags ethaddrsetenv ethaddr 11:22:33:44:55:66 as given in below linkhttps://community.st.com/s/article/FAQ-STM32MP1-bring-up-troubleshooting-guideBut after setting through this commands it not get effected, we are facing same issue again.please give any suggestion to solve this issue.
Hi,When I power on my STM32MP157A-DK1 board, ST-LINK LED (LD4) is always red. On my Linux system when I connect the board through ST-LINK micro usb port (CN11), it is only detected as 'STM32 Virtual ComPort', and not detected as StLink device. And when I boot Linux, no activity on STM32 Virtual ComPort (/dev/ttyACM0).It seems that there is an issue with on-board StLink.Do you think this is a firmware issue that can be fixed or a hw issue?Thanks,Fatih
Is there any STM MCU/MPU which can be used for computer vision applications such as face recognition, Object detection/tracking? If so, how much flash memory required to process video with 5MP camera at 30FPS?Is there any STM MCU/MPU which can be used for AR/VR applications?
Hi all ~I'm going to use proftpd to support FTP server.first, I installed proftpd package from OpenSTLinux repository. apt-get install proftpd And I tried to run proftpd with my configuration file.but I got some error like below. proftpd[5128]: fatal: unknown configuration directive 'AuthUserFile' As far as I know, proftpd has several modules related each features.And the module I need is mod_auth_file. so I checked proftpd's module list like below.But there is no mod_auth_file module I want. root@stm32mp1-prox-mx670:/home/hantas# proftpd -vv ProFTPD Version: 1.3.7c (maint) Scoreboard Version: 01040003 Built: Mon Aug 30 2021 00:22:56 UTC Loaded modules: mod_auth_pam/1.2 mod_facts/0.6 mod_delay/0.7 mod_site.c mod_log/1.0 mod_ls.c mod_auth.c mod_auth_unix.c mod_rlimit/1.0 mod_xfer.c mod_core.cproftpd man page is described that mod_auth_file module is compiled by default.But there is option to disable mod_auth_file module at compile time. (--disable
Hi all ~I'm using ProFTP and try to use ftpasswd perl script to manage AuthUserFiles. But when I run ftpasswd command on my system I get the following error Can't locate Fcntl.pm in @INC (you may need to install the Fcntl module) (@INC contains: /usr/lib/perl5/site_perl/5.34.1/arm-linux /usr/lib/perl5/site_perl/5.34.1 /usr/lib/perl5/vendor_perl/5.34.1/arm-linux /usr/lib/perl5/vendor_perl/5.34.1 /usr/lib/perl5/5.34.1/arm-linux /usr/lib/perl5/5.34.1) at ./ftpasswd line 29. BEGIN failed--compilation aborted at ./ftpasswd line 29. 2022-12-23 00:31:06,788 stm32mp1-prox-mx670 proftpd[3800]: fatal: unknown configuration directive 'AuthUserFile' on line 13 of '/home/hantas/remoteprox_ftpconf'How can I add perl module on distribution package?Thanks in advanced.
I'm trying to get PWM running on an STM32MP157-DK1.When i run the example code "TIM_DMABurst" there is a PWM (had oscilloscope on Pin). Then I configured TIM1 on Channel 1 and the DMA on Stream2 with CubeMX. The generated code looks exactly the same like in the example, but there is no PWM output. Is there a problem with the HAL driver, or maybe clock configuration? Spent hours in debugging this, but i need PWM to drive a WS2812 LED Strip.I recognized that the example jumps over SystemClock_Config() (works without ENGENEERING_MODE).The code shows the beginning of main.c.I'm thankful for every advise!#include "main.h" #include "openamp.h" /* Private variables ---------------------------------------------------------*/ IPCC_HandleTypeDef hipcc; TIM_HandleTypeDef htim1; DMA_HandleTypeDef hdma_tim1_up; uint32_t Prescaler ; /* Capture Compare buffer */ uint32_t aSRC_Buffer[3] = {0x0FFF, 0x0000, 0x0555}; /* Private function prototypes ---------------
we are developing the application by using STM32MP1 processor in bare metal.we are able to wake up Cortex A7-1 from Cortex A7-0 both are working fine. Now we tried to wake up Cortex M4 from Cortex A7-0,But we are unable to wakeup Cortex M4 from Cortex A7-0.Individually Cortex M4 is working fine with JTAG .and we can able to wake up Cortex M4 from UBOOT By using RPROC commands .But in our application we need to wake up Cortex M4 from cortex A7-0 in bare metal. Can you give the sequence of waking up cortex-m4 from Cortex-A7-0 in Bare metal.Please help us in this regards..
I have custom board based on STM32MP153C.This board has 7 serial ports. I configuring these ports with STM32MP1Cube.After linux boot 4 of these serial ports become disabled Driver doesn't probe them and they are in "disabled" state in /sys/firmware/devicetree. Enabled only serial0, serial 3 and serial5 portsi tried to make a devicetree dump with dd if=/dev/mem at adress in which devicetree was loaded by uboot and in this dump these ports are disabled as well.DTB If I convert my DTB file (which is loading by UBOOT I see my correct devicetree, but in memory dump is edited and I don't know why.Also my board has I2C and SPI interfaces and they have the same behavior.Below I give part of my device tree in terms of serial ports:#include <dt-bindings/pinctrl/stm32-pinfunc.h> #include "stm32mp153.dtsi" #include "stm32mp15xc.dtsi" #include "stm32mp15xxab-pinctrl.dtsi" #include "stm32mp15-m4-srm.dtsi" / { aliases { serial0 = &usart6; serial1 = &uart8; serial2 = &
we are working on STM32MP1 in UBOOT 2018 version .we are trying to access the EMMC from UBOOT by using following commands in the below linkhttps://develop.phytec.com/phycore-imx7/linux/pd18.1.0/how-to-guides/flashing-and-booting-from-emmcEMMC is device detecting, but while writing image into EMMC device is getting hanged.so we are unable to write image into EMMC. Please help us in this regards.
Hi,For SD, we just take the card to PC, write image directly, take about few minutes for 4GBFor EMMC, we have to use STM32CubeProgram and this take so long, up to an hourI am using USB, not serial. For Serial, it could be a day for 115200bps.We are not sure if we are doing correct way, or this is normal when write few GB over STM32CubeProgram? Is there any other way we don't know yet?
We have a custom board developed on stm32mp157 with openstlinux-5.10.10 (dunfell). I want to monitor the GPU consumption, and as per this link, I enabled the debugfs flag from menuconfig. However, upon deploying the image to target, no /gc folder was created. Upon further digging, I figured out that the galcore.ko module which is responsible for this was missing.Hence, I looked up the gcnano binaries, referring to the developer package installation instructions, however, there seems to be no gcnano binaries available for openstlinux-5.10.10 denfell. (following figure where my version is 3.1.0. The versions above 4.0.1 have the gcnano drivers in their package)How should i enable the gcnano driver for 5.10.10?Also are there any alternate ways to monitor the GPU consumption in stm32mp1 MPU's?
I built u-boot for stm32mp157a-dk1 board with basic boot mode:Defconfig: stm32mp15_basic_defconfigDevice Tree: stm32mp157a-dk1I got this error at starting u-boot and if I try to read/write from/to OTP register:stm32mp1_clk_get_id: clk id 69 not foundU-Boot SPL 2020.10-stm32mp-r2 (Aug 14 2022 - 13:41:53 +0100) Model: STMicroelectronics STM32MP157A-DK1 Discovery Board RAM: DDR3-DDR3L 16bits 533000kHz stm32mp1_clk_get_id: clk id 69 not found WDT: Started with servicing (32s timeout) Trying to boot from MMC1 U-Boot 2020.10-stm32mp-r2 (Aug 14 2022 - 13:41:53 +0100) stm32mp1_clk_get_id: clk id 69 not found stm32mp1_clk_get_id: clk id 69 not found stm32mp1_clk_get_id: clk id 69 not found stm32mp1_clk_get_id: clk id 69 not found CPU: STM32MP157C?? Rev.? Model: STMicroelectronics STM32MP157A-DK1 Discovery Board Board: stm32mp1 in basic mode (st,stm32mp157a-dk1) stm32mp1_clk_get_id: clk id 69 not found DRAM: 512 MiB Clocks: - MPU : 650 MHz - MCU : 208.878 MHz - AXI : 266.500
.. previously I had STM32MP157D-DK1 on work, there DFU works Ok,but now bought STM32MP157F-DK2 for home, there's no any sign of connection,reset button do not affect on STlink led, meanwhile stlink/2 itself - works and other USBs - is Ok.Maybe it's a problem of attached LCD or any jumper should be on (except Boot1/2+reset) Another guess: I downloaded several times a new firmware into onboard stlink, so maybe thus killed a "special" firmare for Stm32F1xx for DFU loaded for MP1,so like AN2606 it recommends.Regards. PS: I cant believe its is a "congenital" defect of the product.
Hi!I am using a STM32MP157C-DK2 board to communicate via CAN. To do this, I have created a program in STM32CubeIDE and set the FDCAN parameters:Classic mode.150KB/s nominal baud rate.HSE clock source (24MH) I have been testing in engineering mode and I was able to receive and send CAN messages (I have connected to an IXXAT device).My problem starts when I try to do it in production mode:I cannot send and receive messagesI do not know if I forgot to set a clock or something to enable FDCAN.Can someone help me please?Thanks!
hi ST expert:I am porting openSTDroid to my mp157 board,i use prebuilt kernel img&dtb and android kernel can boot normal,but when i update the kernel, it cant boot normal,can you help me solve this problem?my compile cmd:build_kernel mrproperbuild_kernel -imake -j16sudo provision-device -p ~/study/st-android/android/out/target/product/eval /dev/sdab&rtao
we are working on STM32MP1 in Linux .we are trying to access the EMMC from Linux by using following commandsudo fdisk -l but EMMC device is not detecting/accessing. Please help us in this regards.
Hi,I was downloading and installing Distribution package for the 1st time following this link: https://wiki.st.com/stm32mpu-ecosystem-v3/wiki/STM32MP1_Distribution_PackageAs I want version openstlinux-5.10-dunfell-mp1-21-03-31After source sync there are no files present. May I know why its discarding?root@si-rd22:/distribution-package/openstlinux-5.10-dunfell-mp1-21-03-31# repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-5.10-dunfell-mp1-21-03-31.repo/manifests/: discarding 3 commitsYour identity is: ***.*** [removed by moderator]If you want to change this, please re-run 'repo init' with --config-nameTesting colorized output (for 'repo diff', 'repo status'): black red green yellow blue magenta cyan white bold dim ul reverseEnable color display in this user account (y/N)?repo has been
Hi, according to "AN5256 Application note", I think VTT -DDR termination resistors circuitry is ok to be removed. Does it mean all things relate to VTT DDR below are also safe to remove out of the design? Many thanks
On STM32MP157f-DK2, when use UART4 which is default connect to STLink, STM32CubeProgrammer connect and work perfectly in boot serial mode.But when I change to different port (like USART3, pin PB10 and PB12 (also supported by default), STM32CubeProgrammer doesn't connect.I guess when power up, STLink does something on UART4, this makes STM32MP1 MPU think UART4 is being used for serial mode and prevent all other uarts?
After reading documents, I understand the practical boot sequence of STM32MP1 is BOOTROM->TF-A->U-boot->Kernel->file systemIn my use case, I prefer to use Windows and write code in bare metal, without U-boot and device tree involved. 1 I think the boot sequence will be BOOTROM->TF-A->bare metal binary?2 I tried STM32MP15x starter package in Windows, by using STM32CubeProgrammer, to flash binaries to NVM such as NAND, and NOR etc. If I understand correctly, is FIP section in the tsv file assigning the partitions of NAND flash and NOR flash? If I want to go with the boot sequence I mentioned above, is there a way I can modify FIP bin/access the source code in Windows, and change NAND flash partition?3 Is there an identification header, like the 256 bytes header that TF-A contains, needs to be attached to my bare metal binary?Thanks in advance.dchen
ERROR:dbus.connection:Exception in handler for D-Bus signal:Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/dbus/connection.py", line 232, in maybe_handle_message self._handler(*args, **kwargs) File "/home/root/0.3.4.5/obd_gen2_ble_py/blemodule/adapter.py", line 285, in _properties_changed self.address == adapter_addr, File "/home/root/0.3.4.5/obd_gen2_ble_py/blemodule/adapter.py", line 104, in address return self.adapter_props.Get(constants.ADAPTER_INTERFACE, 'Address') File "/usr/lib/python3.8/site-packages/dbus/proxies.py", line 141, in __call__ return self._connection.call_blocking(self._named_service, File "/usr/lib/python3.8/site-packages/dbus/connection.py", line 652, in call_blocking reply_message = self.send_message_with_reply_and_block(dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replyingERROR:d
For a new design I need a very powerful MPU device. I would like to use STM32MP1 without Linux OS. I don't need this OS. Does it make sense to use STM32MP1 for a bare metal application? Compared to STMH747, what is the performance of STM32MP1 processor? I did not find any results on the STM32MP1 coremark score on the EMBC website
When i use update_prebuilt cmd to build bsp component report failed,my openStDroid tags is st-android-11.0.0-2021-08-31, Can anyone help me solve this problem? error:Build and update images for primary and secondary bootloaders (programmer images) [1/8]: Generate U-Boot image for stm32mp157c-ev1 board, case programmer ERROR: Not possible to generate the SBL imageERROR: Increase verbose level to get more informationBuild and update images for TEE OS [1/4]: Generate OP-TEE OS images for stm32mp157c-ev1 board ERROR: Not possible to generate the OP-TEE OS imagesBuild TAs [1/80]: Generate TA keymaster (dba51a17-0563-11e7-93b1-6fa7b0071a51) for stm32mp157c-ev1 board ERROR: Not possible to generate the TA dba51a17-0563-11e7-93b1-6fa7b0071a51The prebuilt images have been updated
I am using STM32MP157F-DK2 for secure boot. I am using ecosystem release v3.1.1 which has TFA v2.4-stm32mp-r2.1. As per steps given by ST need to fuse publicKeyhash.bin to OTP from u-boot console using "stm32key fuse 0xc00000000".As OTP area can not be used for multiple hash. How test multiple key hash with keys and certificate or with secure boot chain? As developer how to verify different hash keys without fusing to actual otp register (24 to 31).?Thank you.
Hello,I have built a custom image using the Yocto project in the Dunfull branch. However, when I try to upload my code to M4 Core in production mode, it shows me this error message. However, I am able to connect to my board through SSH. So I believe it is not a connection issue, and I have tested on the STM32MP157C-DK2 and it does not work either.I have tested the same procedure on openstlinux Yocto Dunfull, and it worked fine. I am thinking that something is missing in kernel configurations.I am using Linux version 5.10.116 (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 9.3.0 , GNI ld (GNU biutiles) . 2.34.0.020200910 ) #1 SMP PREEMPT sun May 15 18:00:09 UTC 2022
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.