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
hello, I am connecting the STM32MP157C to the debugger using STDC14 CN1 connector in JTAG mode. Please tell me the pin/signal direction, with regard to the debugger, for the following: Pin 4, T_JTMS Pin 6, T_JCLK Pin 8, T_JTDO Pin 10, T_JTDI The connection fails using the CubeProgrammer. I get the following message: "ST-LINK error (DEV_UNKNOWN_MCU_TARGET)". On the debugger the PWR led lights green and the COM led lights red. The signals I am using to connect are: T_JTMS, T_JTCK, T_JTDI, T_JTDO (STM32MP157C to debugger) and also providing 3.3V to pin 3, T_VCC and of-course connecting the GND pins. I am not connecting STM32MP NJTRST pin to pin 12, T_NRST in the debugger (the STM32MP has an internal PU on it). The STM32MP157C boot mode is JTAG (although doesn't work in USB boot mode). What am I missing here? thanks Gil
Hello,In the wiki I have found these lines:5.3 Non-volatile counters↑Each certificate embeds a non-volatile counter value that is checked to control anti-rollback mechanism.There are two non-volatile counters: - Trusted non-volatile counter - Non trusted volatile counterOn STM32MP1, TAMP monotonic counter is used to store the backup value, which requires backup battery to maintain the content. It is mandatory to align the same value between trusted and non-trusted value as only one counter is used as reference.Source: https://wiki.st.com/stm32mpu/wiki/TF-A_BL2_Trusted_Board_Boot#Non-volatile_countersI'm afraid, we are implementing secure boot, but we are not planning to use a battery. VBAT won't be maintained when the board is off. And so content won't be maintained.Instead, we connected VBAT to 3V3 and we added a 100nF decoupling capacitor.What is the impact on the secure boot? Would it be working in that case, even if TAMP is not powered?Thanks,Best regards,Charles
Debug modeArm® CoreSight™ trace and debug: SWD and JTAG interfaces8-Kbyte embedded trace buffer
I want to generete interrupt for specific value of TIM->CNT TIM1->DIER |= TIM_IT_CC1; TIM1->CCR1 = myVal;I use only above. if(TIM_GetITStatus(TIM1,TIM_IT_CC1) != RESET){ //when interrupt generete here ,CCR1 is not equal my value } I'm so confused why am I doing wrong?
Building per the Developer Package Device Tree Building WikiUsing STM32MP1-Ecosystem_v4.0.0Verified libssl-dev and libncurses have been installedopenssl version 3.0.0 is presentconfirmed libcrypto.so is present at usr/lib/x86_64_linux-gnu[fiptool] Create fip-stm32mp153a-xpro-mp1-mx-optee.bin fip binary into 'FIP_DEPLOYDIR_FIP' folder... fiptool: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory [fiptool] Done
With the holiday season coming up, we are organizing a series of contests around STM32 solutions!We will publish 8 contests on our STM32 Facebook page in December–and you’re welcome to join in every time! We will select 45 winners throughout the month, based on your correct answers to the questions. Enter the contest for a chance to win a prize among over 200 giveaways including:STM32 boardsBluetooth® Low Energy speakersBackpacks, mugs, thermos flasksVittascience starter kits … and many more! To maximize your chances of success, check out our STM32 webpages to prepare for the quiz!See you on December 6 for the first contest.Good luck to all! Links:Join contest: https://www.facebook.com/STM32Learn more about STM32 solutions: https://www.st.com/en/microcontrollers-microprocessors.html?ecmp=tt30010_gl_social_nov2022
I have to use OSDP protocol over stm32mp157 by using LibOSDP in my yocto build. How to build it, from where to start?(sorry but i am new to linux thus maybe a silly question, but any guidance would really be appriciable )
I am generating device tree and compiled it by stm32cudeide and upload to my board. So, baiscally I am following this link:https://wiki.st.com/stm32mpu/wiki/How_to_manage_OpenSTLinux_projects_in_STM32CubeIDEMy issue is that no matter what I do, nothing seems to affect my pins. I type to check them:cat /sys/kernel/debug/pinctrl/soc\:pin-controller@50002000/pinconf-pinsI can confirm that .dtb is uploaded successfully, and also extlinux.conf is changed
Hello,We are using stm32mp157A processer in my custom board.We need to change voltage values in Arm trusted firmware (TFA 2.5) dtsi file .For that we changed voltages as per our custom board but it is not effected.vdd: buck3 { regulator-name = "vdd"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; st,mask-reset; regulator-initial-mode = <0>; regulator-over-current-protection; }; we need 1.8v for this buck3 so we changed above node to 1.8v using below node.vdd: buck3 { regulator-name = "vdd"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; st,mask-reset; regulator-initial-mode = <0>; regulator-over-current-protection; };After changing also we are getting 3.3 volts. So how can we change voltage from3.3 to 1.8 volts?please help us in this regards..
Hey I found a strange documentation on your wiki pagehttps://wiki.st.com/stm32mpu/wiki/STM32MP15_OTP_mapping 3: 14-7 (8 bits)UART instances disablingIf it is different from zero, then each bit disables an UART instance.Collapse0b00000001: reserved0b00000010: disable USART20b00000100: disable USART30b00001000: disable UART40b00010000: disable UART50b00100000: disable UART60b01000000: disable UART70b10000000: disable USART80b11111111: all UART instances are enabled.Why is all enabled when all UARTS are 1?I set everything to 1 but I get messages on the serial console.Do you have a hint for me?Greetings
I guess there is a typo on the following page (and i couldn't find the proper place to report that)wiki.st.com/stm32mpu/wiki/SPI_device_tree_configuration"Both /delete-property/dma-names and /delete-property/dma have to be inserted to get rid of DMAs."This sould be."Both /delete-property/dma-names and /delete-property/dmas have to be inserted to get rid of DMAs."Thank you for taking care.Best regardstsc
What does the OTP 9 Bit 0 do?There is nothing in the ref manual.
What does the OTP 3 Bit 15 do?Can I disable the boot cache for more security? Or does it have more impact on the system?
The flashing process of our STM32MP1 SoM is very slow, it took about 3 and 1/2 hours to flash to whole 8GB eMMC. We use the STM32_Programmer_CLI and have a usb connection which shows up in DFU mode. How can we speed up the flashing process? How could we debug this? Can we flash multiple devives in parallel?How we use the STM32_Programmer_CLI ( v2.12) with Ubuntu 22.10:sudo STM32_Programmer_CLI -c port=USB1 -tm 30000 -w flashlayout_device-image/flashlayout_device.tsvOur tsv file #Opt Id Name Type IP Offset Binary - 0x01 fsbl1-boot Binary none 0x0 arm-trusted-firmware/tf-a-phycore-stm32mp1-4-serialboot.stm32 - 0x03 ssbl-boot Binary none 0x0 u-boot/u-boot-phycore-stm32mp1-4-trusted.stm32 P 0x04 fsbl1 Binary mmc1 boot1 arm-trusted-firmware/tf-a-phycore-stm32mp1-4-trusted.stm32 P 0x05 fsbl2 Binary mmc1 boot2 arm-trusted-firmware/tf-a-phycore-stm32mp1-4-trusted.stm32 PD 0x06 ssbl Binary mmc1 0x00080000 u-boot/u-boot-phycore-stm32mp1-4-trusted.stm32 P 0x10 bootA System mmc1 0x00180000 st-imag
I've written a script that basically builds everything based on this wiki - wiki.st.com/stm32mpu/wiki/How_to_compile_the_device_tree_with_the_Developer_Package#Updating_the_kernel_device_treeWith the script I can successfully build from the existing DK2 DTS files but not my custom DTS files.
Hi,how to compile fsbl to test ddr3 purposes. Unfortunately, I can't use the official one due to different UART4 debug pins and I2C4 PMIC. I can't find a good link with simple instructions. Maybe someone gives me a link or short instructions on how to compile U-Boot SPL to test/tune ddr3.ThanksBR Michal
I have to read ADC readings from 4 channels on both ADC1 and ADC2. In production mode, when OPENAMP isn't enabled, everything works as expected; however, when it's enabled, two channels are getting garbage readings. I do not know why or how to fix it.P.S I am using starter package from ST and I have updated the device tree
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?
Can some one help me to know what would be the default factory OTP settings on the processor - STM32MP157FAA1 - or should it be set by the User? Does the Default Comes with SDMMC1 set for the Boot?If I need to change from SDMMC1 to SDMMC2 as the Primary boot what is the procedure and which tool has to be used for it?I need the secondary boot as USB how to set this.
Hi,We want to boot cortex M4 from cortex A7 in baremetal in RETRAM. We have followed below steps 1.we are setting BOOT MCU bit in RCC global control register(Offset :0x10C). 2.I am restting MCURST bit in RCC global reset control set register(offset:0x404).3.setting MCU Boot enable bit in RCC boot control register.am i doing in correct way or not? if not can you tell the procedure of waking up the cortex M4 from cortex A7 in RETRAM.
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.
Hi,I encounter an extraordinary problem with STPMIC1APQR. When powering on the board without loading any images voltages on each section are as described in the PMIC documentation. When I start fsbl the voltages change, and increase not as described in the dts.My dts configuration is as follows&i2c4{ pinctrl-names = "default", "sleep"; pinctrl-0 = <&i2c4_pins_mx &i2c4_pins_z_mx>; pinctrl-1 = <&i2c4_sleep_pins_mx &i2c4_sleep_pins_z_mx>; status = "okay"; /* USER CODE BEGIN i2c4 */ i2c-scl-rising-time-ns = <185>; i2c-scl-falling-time-ns = <20>; clock-frequency = <400000>; /delete-property/ dmas; /delete-property/ dma-names; pmic:stpmic@33{ compatible = "st,stpmic1"; reg = <0x33>; interrupts-extended = <&exti_pwr 55 IRQ_TYPE_EDGE_FALLING>; interrupt-controller; #interrupt-cells = <2>; status = "okay"; regulators{ compatible = "st,stpmic1-regulators"; buck1-supply = &l
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.