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
I've put TF-A into verbose printing, resulting in prints regarding BSEC access.But the printouts from TF-A vs U-boot tell different, or atleast confusing information.What gives?(TF-A 2.6-r1, U-Boot 2020.10-r2)> stm32key readVERBOSE: BSEC: OTP 24 is locked and write will be ignoredOTP HASH 24: 0 lock : 0VERBOSE: BSEC: OTP 25 is locked and write will be ignoredOTP HASH 25: 0 lock : 0VERBOSE: BSEC: OTP 26 is locked and write will be ignoredOTP HASH 26: 0 lock : 0VERBOSE: BSEC: OTP 27 is locked and write will be ignoredOTP HASH 27: 0 lock : 0VERBOSE: BSEC: OTP 28 is locked and write will be ignoredOTP HASH 28: 0 lock : 0VERBOSE: BSEC: OTP 29 is locked and write will be ignoredOTP HASH 29: 0 lock : 0VERBOSE: BSEC: OTP 30 is locked and write will be ignoredOTP HASH 30: 0 lock : 0VERBOSE: BSEC: OTP 31 is locked and write will be ignoredOTP HASH 31: 0 lock : 0VERBOSE: BSEC: OTP 0 is locked and will not be refreshedVERBOSE: BSEC: OTP 0 is locked and write will be ignoredOTP 0: closed status:
I`ve built st-image-weston for stm32mp157f-disco board with flutter and clang layer. Then I built SDK with:bitbake core-image-weston -c populate_sdkThen I installed SDK with .tmp/deploy/sdk/core-image-weston-openstlinux-weston-stm32mp15-disco-x86_64-toolchain-4.0.1-snapshot.shAfter that I setup environment with source /opt/st/stm32mp15-disco/4.0.1-snapshot/environment-setup-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi export CC=${CLANGCC} export CXX=${CLANGCXX}My question is how can I install a simple flutter app to my discovery board. What are the steps that I need to follow.
When I open it with this command,less README-CHECK-GPUCheck GPU ========= GPU can be deactivated by fuse or not present in some SOC So in case the GPU is not present, you must configure weston on pix-man by creating this file : /etc/default/weston with this content : OPTARGS=--use-pixman So what does this mean and what should I do?
Hello, I am trying to manage some interrupts in the M4, specifically the Tamper Interrupt. Using the STM32CubeIDE (CubeMX) I am unable to select the Tamper interrupt that shows in the NVIC peripheral, when I select it, it gets deselected automatically. What could be the cause of this behaviour? I am allocating the tamper peripheral to the non-secure world (A7) in SP-Min (Manually changed in source code) and enabling the external tampers. In M4 I try to enable the interrupt and set an IRQHandler with the following code: void tamp_init (void) { HAL_NVIC_SetPriority (TAMP_IRQn, 1, 0); HAL_NVIC_EnableIRQ (TAMP_IRQn); } void TAMP_IRQHandler (void) { // Do something (turn led on) } I have a button connected to the tamper input signal, when I press this button I expect to see the led light up but it does not. I know the tamper is triggered because the backup registers are cleared. What is missing in my configuration or how should I set up the inter
Hi,I have a problem with installing any directory or any files into /usr/local folder.Here my_receipt.bbDESCRIPTION = "My receipt" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" SRC_URI = "file://reset_led.sh " S = "${WORKDIR}" do_configure[noexec] = "1" do_compile[noexec] = "1" do_install() { install -d ${D}${prefix}/local/reset-led install -m 0755 ${WORKDIR}/reset_led.sh ${D}${prefix}/local/reset-led/ } FILES:${PN} += "${prefix}/local/reset-led/"In OpenSTLinx, those folders and files go to st-image-userfs...tar.xz.In /usr/local I can see only demos etc. folders and directories.The compilation is going well without any errors or warnings. What was missed, and where is the problem?
Does ST consider porting/providing support Automotive Grade Linux for STM32MP1's?
my stm32mp157f-dk2 board has a DSI (ECMF04-4HSWM10 filter) screen but my custom board is going to have a LVDS screen so what should I do different to protect the screen? (Filtering or ESD protection etc.)
I using a STM32MP-157F-EV1 eval board with linux Version 4.0.1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15.CAN receive 500kBit/s fails, if I modify the sample point via an console command it works well. All other Bitrates 125kBit / 250kBit 1MBit are ok with the default values. How could I set the sample point permant, is there a linux config-File, to get the modyfied value even after a reboot?
I cannot get the QSPI NOR-Flash to work on my custom board using an STM32MP153CA + Adesto AT25SF128 NOR flash in U-BOOT. I'm working with 5-10-dunfell-mp1-21-11-17 files included on the 3.1.0 ecosystem.The schematic section is shown below:Is not that different from the STM32157-ev1 implementation.I activated MPU's internal pull-ups for IO[0..3] lines by configuring the pins as follows on the dts files: quadspi_pins_mx: quadspi_mx-0 { pins1 { pinmux = <STM32_PINMUX('B', 6, AF10)>; /* QUADSPI_BK1_NCS */ bias-disable; drive-push-pull; slew-rate = <1>; }; pins2 { pinmux = <STM32_PINMUX('F', 10, AF9)>; /* QUADSPI_CLK */ bias-disable; drive-push-pull; slew-rate = <2>; }; pins3 { pinmux = <STM32_PINMUX('F', 6, AF9)>, /* QUADSPI_BK1_IO3 */ <STM32_PINMUX('F', 7, AF9)>, /* QUADSPI_BK1_IO2 */ <STM32_PINMUX('F', 8, AF10)>, /* QUADSPI_BK1_IO0 */ <STM32_PINMUX('F', 9, AF10)>; /* QUADSPI_BK1_IO1 *
Hi,my system working fine from EMMC(written through cube programmer). I also have on my board an SD-Card slot and boot configuration pins. Is it possible to upgrade the system through SD-Card to EMMC via dd if=... from rootfs?How to prepare EMMC....raw file, is it possible?I try to write sd_card.....raw file using dd application to EMMC, but the system can't start. After powering on, nothing is shown on uart debug log (boot pins changes, of course).Thanks in advancedBR Michal
How can I remove QT5 from my build since there is a lot of dependencies and I am not going to be needing it. What is the best way to remove it?
Hi all ~I have STM32MP157C custom board. My custom board boot over eMMC. Occasionally, my board can not boot over eMMC with error message like below.Can I get some advice regarding this problem?Hardware of eMMC part is the same as EV1 board. Thanks for your support. NOTICE: CPU: STM32MP157CAA Rev.Z NOTICE: Model: STMicroelectronics custom STM32CubeMX board - openstlinux-5.10-dunfell-mp1-21-11-17 INFO: Reset reason (0x15): INFO: Power-on Reset (rst_por) INFO: PMIC version = 0x21 INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe2000 INFO: FCONF: Reading firmware configuration information for: stm32mp_io INFO: Using EMMC INFO: Instance 2 INFO: Boot used partition fsbl1 ERROR: CMD13 failed after 5 retries ERROR: SDMMC2 init failed PANIC at PC : 0x2ffea11b Exception mode=0x00000016 at: 0x2ffea11b
I've just made the switch for V4.0.0 (A-TF 2.6, Linux 5.15 but with Barebox instead of U-Boot) using Buildroot as before.I had trouble to bring the system up because of what has been changed in regard to SCMI.The DT node's compatible name was changed to force OP-TEE, which is a no go in my case for now.I'll just leave the solution here in case anyone faces the same issue.Simply override the scmi node with the old values:&scmi { // Revert OP-TEE to SP_MIN // Previously compatible = "linaro,scmi-optee"; compatible = "arm,scmi-smc"; arm,smc-id = <0x82002000>; };This will allow you to boot without any changes compared to V3.
I'm having trouble finding documentation on how to access the upper OTPs by the unsecure world. I see that I have to manage exceptions by using STM32CubeMX but its not very clear on how to manage the exceptions using STM32CubeMX.
I've upgraded from 5.10 to 5.15 and can't make GPIO work anymoreI've tried thisgpio_keys { compatible = "gpio-keys"; input-name = "gpio-keys"; status = "okay"; halt { label = "Halt"; linux,code = <KEY_POWER>; // Key event to match with poweroff daemon gpios = <&gpioa 2 GPIO_ACTIVE_LOW>; // WKUP2 on falling edge status = "okay"; }; wakeup { label = "Wakeup"; linux,code = <BTN_1>; gpios = <&gpioa 2 GPIO_ACTIVE_HIGH>; status = "okay"; wakeup-source; }; }but am getting[ 1.950701] gpio-keys gpio_keys: failed to get gpio: -16 [ 1.950728] gpio-keys: probe of gpio_keys failed with error -16 [ 2.205292] hci_uart_qca serial0-0: failed to acquire enable gpioI've also tried, according to the kernel documentation:wakeup { label = "Wakeup"; linux,code = <BTN_1>; // Can be anything, not used interrupt-parent = <&pwr_irq>; //cell 1: wake-up pin id from 0 to 5 //cell 2: IRQ_TYPE_EDGE_FALLING o
Hi ST Team,We are working on product built around STM32MP157C. We are trying to generate the trusted image with Yocto. However, somehow the Trusted Firmware Arm (TF-A) is not getting generated. We have added following options in machine.conf file:BOOTSCHEME_LABELS += "trusted"WKS_FILE_DEPENDS ?= " \ tf-a-stm32mp \Even with this, the image for TFA is not getting generated.Any pionters in this direction would be of great help. Thanks in advance.
Is this processor capable to drive by parallel interface an RGB666 LCD display?What could I set in the device tree?
Hi,I try to compile my custom system, which is based on the Cubemx in the latest V4.0.0 ecosystem. I have a few problemslttng - how properly disable this package or what shall I add to compile it wellAfter compilation is finished, the *.tsv files are not created - empty folders as following How to properly resolve issues with the licenseWARNING: st-image-weston-1.0-r0 do_st_write_license_create_summary: IMG LIC SUM: File does not exist with open file /home/mw/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston ...I added a meta-layer to reproduce the compilation process if necessary.git@github.com:voloviq/meta-osd32mp1-brk.gitThe configuration process was based on https://wiki.st.com/stm32mpu/wiki/How_to_create_your_own_machineThanks for any hints.Best Regards
Hi,I have tried to migrate from ST Ecosystem 3.1 to 4.0.2 but I am unable to flash the image into the eMMC memory. My issue is similar to this one but I am using the Octavos SiP OSD32MP157c. As suggested by the original poster, the issue is probably the TF-A configuration.The flash process is started but when the u-boot is supposed to be loaded the processor reboots and the process is repeated.The image is created using device trees generated by STM32CubeMX 6.6.1 and I first generated the new trees and then copied changed parts from the generated trees for the DK2 board and my previous configuration.For flashing I use STM32_Programmer_CLI and a micro-USB port. The flash log is attached below:NOTICE: CPU: STM32MP157C?? Rev.Z NOTICE: Model: STMicroelectronics custom STM32CubeMX board - openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15 INFO: PMIC version = 0x21 INFO: Product_below_2v5=0: HSLVEN protected by HW INFO: Reset reason (0x54): INFO: System reset generated by MPU (MPSYSRST) INFO: FC
In our custom board which uses STM32MP153C, right when TF-A is about to launch u-boot it displays PSCI power domain map logs and MPU reboots with MPSYSRST reason. Any idea what is the root cause? We are using the device tree based on the dk2 sample device tree. INFO: ARM GICv2 driver initializedINFO: stm32mp HASH1 (9): SecureINFO: stm32mp RNG1 (15): SecureINFO: stm32mp USART1 (18): SecureINFO: ETZPC: SPI6 (4) could be non secureINFO: ETZPC: CRYP1 (9) could be non secureINFO: ETZPC: I2C6 (12) could be non secureINFO: SP_MIN: Initializing runtime servicesINFO: SP_MIN: Preparing exit to normal worldINFO: PSCI Power Domain Map:INFO: Domain Node : Level 1, parent_node -1, State ON (0x0)INFO: Domain Node : Level 0, parent_node 0, State ON (0x0)INFO: &
I am asking because I want to remove some of them, how can I find out what are the names and what they do? What is the best way to do this?
We are trying to verify the signature generated by the STM signing tool. From this link, in the table for "On STM32MP15x lines", we need to know what data type is used for each field when the signature hash (sha256) is created so we can replicate it.
Currently our custom board powers up in two cases, one when you press the power on button, and another when you plug in the USB cable. We would like to disable PMIC from powering on when USB cable is plugged in. We see that the STPMIC specification document (section 5.4.2), lists the three conditions which triggers PMIC turn-on and also the register bit VBUSOTG_DET_DIS which needs to be set to 1 to disable this feature.Since I cannot write to PMIC register address 0x40, was wondering if there is any device tree setting which sets this bit? Any information on how to do this would be very much appreciated.Thanks!
I was analyzing stm32mp15 disco and eval board schematics for my project. I noticed that DDR pinning are not the same between them. Disco boards have 512MB and EVAL boards have 2x512MB. My project also going to have two variants. I wanted to know why pinouts of these two schematics are different and can I use same pcb for both of my variants with one 1x512 and other with 2x512. (1x512 will have two locations on the pcb but only one chip. Is it possible?)
Hello we are using STM32mp153 for multiple products, and I'm considering buiding a generic TF-A bootloader with one device tree with all the clocks enabled for all the peripherals. I would like to do this in order to make it more generic across our portfolio.Does this come with any potential problems down the line?
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.