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
We use HSE osc instead of xtal as suggested by errata. However to support STANDBY we need to turn it off by GPIO. The idea is to boot from SPINAND on HSI and turn HSE in bootloader.Unfortunately it seems that ROM hangs when HSE is not present:< @ 00646143 | [INFO] - BOOTCORE_Pll1Started >< @ 00651111 | [INFO] - BOOTCORE_Pll1Locked >< @ 00652481 | [INFO] - BOOTCORE_Pll2Started >< @ 00657398 | [INFO] - BOOTCORE_Pll2Locked >< @ 00658999 | [INFO] - BOOTCORE_CkMpuSsSwitchedOnPll1 >< @ 00660470 | [INFO] - BOOTCORE_CkAxiSsSwitchedOnPll2 >< @ 00661050 | [INFO] - BOOTCORE_Pll12StartReqStatusPllStarted >< @ 00824184 | [INFO] - NANDCORE_GetParamFromOtp >< @ 05653430 | [INFO] - BOOTCORE_HseNoBypass >< @ 06934011 | [ERR ] - BOOTCORE_HseNotReady >I tried to set CFG9 bits 1 and 2 (skip HSE detects) but no success. Setting bit 5 in CFG3 (skip PLLs) doesn't help too.Is HSE usage somehow hardcoded for SPINAND boot ? From docs I get that only US
I have an STM32MP157 discovery kit and we are considering using STM32MP157 at my work for a future PCBA we are creating.We would like to connect an external UHS1 microSD slot to the STM32MP157, but for data collection writing at 100 MB/s. We would also like to connect a separate eMMC to SDMMC .I see this text in Section 58.1 of the STM32157 reference manual which causes me to wonder if the current system would support this?https://www.st.com/resource/en/reference_manual/dm00327659-stm32mp157-advanced-armbased-32bit-mpus-stmicroelectronics.pdfDoes this mean the hardware can't every support the configuration we are desiring? Or the software somewhere like OpenSTLinux needs to be modified? Or is the information stale?In other ST documentation, I see that we are able to configure booting from SDMMC1 or SDMMC2 which seems strange if the system can only support 1 "MMC" connected thing at a time.Thank you,andy
Hello, I have done the modification in the device tree related to inclusion of usart3 as per 3.3.1 Activation of a USART or UART instance in https://wiki.st.com/stm32mpu/wiki/Serial_TTY_device_tree_configuration&usart3 { pinctrl-names = "default", "sleep", "idle"; /* pin configurations definition */ pinctrl-0 = <&usart3_pins_a>; /* default pin configuration selection */ pinctrl-1 = <&usart3_sleep_pins_a>; /* sleep pin configuration selection */ pinctrl-2 = <&usart3_idle_pins_a>; /* idle pin configuration selection */ status = "okay"; /* device activation */};in the dk2 dsi, but after kernel booting , Banner seems stuck at ST and doesnt loads the full gui.I need to connect to it for delta changes in the application and then pushing it to the board using scp but without gui loading I cant test further. Help please !I can connect via minicom and see ttySTM1 up.this is the boot log : https://pastebin.com/ugziKQnzI confirm that with
Hi,I'm using a custom board with custom device tree, the distribution is built with ST's Distribution Package (st-image-core). Now the bootloader (u-boot v2020.01) freezes while "starting kernel" with some strange errors before. Should I search for errors in the DT or is there another reason for not starting the kernel?stm32_smc: Failed to exec svc=82001003 op=1 in secure mode (err = -3) Net: eth0: ethernet@5800a000 Hit any key to stop autoboot: 0 Boot over mmc0! switch to partitions #0, OK mmc0 is current device Scanning mmc 0:4... Found /mmc0_extlinux/extlinux.conf Retrieving file: /mmc0_extlinux/extlinux.conf 256 bytes read in 24 ms (9.8 KiB/s) Retrieving file: /splash.bmp 18244 bytes read in 25 ms (711.9 KiB/s) 1: OpenSTLinux Retrieving file: /uInitrd 3632489 bytes read in 176 ms (19.7 MiB/s) Retrieving file: /uImage 7317848 bytes read in 334 ms (20.9 MiB/s) append: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw console=ttySTM0,115200 Retrieving file: /stm32mp157c-m
Using STM32CubeIDE Version: 1.6.0 on Linux I am able to follow the wiki to import, build, load and modify the OpenAMP_tty_echo application example. However, when I follow the same steps to import the FreeRTOS_ThreadCreation_CM4 application the program will not load to the target. I have compared the Debug configurations between the two examples and they are identical except where they need to differ with respect to program and path locations. The terminal is closed prior to loading as expected but then the terminal does not start back up with the GDB info that I normally see and then a "Problem Occurred" dialog box shows up with the Details:Error if final launch sequence: Failed pre launchFailed pre launchFirmware remoteproc load failed!This leaves little to go on to debug the issue. Any ideas?
hi i am using stm32mp157caa3, there is a i2c slave operating at 3v3, while design, we have not connected( "forget")pull up line on i2c clk and data line, so i tried enabling open-drain internal pull up in dtsi , but i2cdetect is not able to find the slave devicedtsi : pins { pinmux = <STM32_PINMUX('H', 11, AF5)>, /* I2C1_SCL */ <STM32_PINMUX('B', 9, AF4)>; /* I2C1_SDA */ bias-pull-up; drive-open-drain; slew-rate = <1>; &n
Hello. I am working on standby/wakeup using gpio pin in stm32mp1 custom board. Going to sleep works well using gpio-keys but I can't wakeup. What bothers me most is that interrupt responsible for waking up does not set "waleup" attribute although it is defined in DTS as wakeup-source. I am not sure whether I correctly understand the concept behind exti_pwr and pwr_irq nodes so if there is anyone who can help me with a proper setup I would appreciate your help. Please find enclosed DTS. gpio_keys { compatible = "gpio-keys"; #address-cells = <1>; #size-cells = <0>; autorepeat; input-name = "gpio-keys"; button@1 { label = "Suspend"; linux,code = <205>; gpios = <&gpioi 6 GPIO_ACTIVE_LOW>; }; button@2 { label = "Wakeup"; linux,code = <143
I find the kernel Panic when I mmap 16 shared memory regions.(4KB/memory)
Whether it's to minimize computational power, improve the device's output or keep the GUI from freezing or crashing, debugging embedded software can be a challenging and time-consuming step in the process of developing embedded devices.With a multitude of combinations of inputs, outputs, and timings in a Linux-based system this is where leveraging intuitive trace analysis tools can help save on time and headaches.Join ST, Percepio, and Crank Software for this 45-minute webinar to learn how to ensure that your GUI performs as expected on the STM32MP1, raising the user experience bar for your embedded product. In this session, we will demonstrate how Crank Software’s GUI development tool, Storyboard, along with Percepio’s Tracealyzer can provide a rich set of high-level overviews for top-down exploratory analysis, including process interactions, parent/child process dependencies, state machines, CPU usage, and more.In this webinar, you will learn how to:Leverage Storyboard’s embedded too
We've created a bunch of sample touch screen apps in our Storyboard ST GUI builder software that you can download, and save to your hardware. In moments, you'll be able to visualize and interact with a fully-functional sample touch screen application and see quickly the type of touch screen performance that is possible on your STM32 hardware.Simply download and execute the sample demos onto your board today!
..
Dear community,we got a problem booting from our eMMC (THGBMJG9C8LBAU8) memory and we cannot figure out how to solve it. The Silicon Revision seem to be "Z". Attached you can the the ping pong between MPU (STM32MP151A) and eMMC. The initialization sequence is coming from the MPU and the eMMC also responds. But after that there is no follow-up. We have looked up the errata sheet (Link 2.3.8) and it seems there were problems with older silicon revisions but we are wondering if the issue still occurs with Z revision as the described behavior in the errata is very similar. Attached you can find the command sequence observed by the logic analyzer and the BootRom Log.Thanks,Bernhard Boot Rom Log:< @ 00007504 | [INFO] - BOOTCORE_BootRomMaskVer ( 0x00000000 ) > < @ 00008800 | [INFO] - BOOTCORE_BootRomVer ( 0x00000102 ) > < @ 00009976 | [INFO] - BOOTCORE_FreezeIWDG12Clocks > < @ 00011335 | [INFO] - BOOTCORE_HwResetPOR > < @ 00024986 | [INFO] - BOOTCORE_ChipModeSecOpen
I am facing a freeze on M4 and A7 core when enabling FreeRTOS with OpenAMP_TTY_echo example.Can someone please point out if OpenAMP and FreeRTOS can be run together or not?
Hello,We want to transfer a project from STM32F7 to STM32MP157C ( cortex M4 side). To do that we need an external RAM (arround 20 Mbytes). Is there a way to map an external RAM on cortex M4 side with cubeMX ?Best regards,Arnaud
Hello! I have just discovered that kit I would like to use to develop a new testing system within the company where I am working. However, I have some questions about it:What kind of additional card could we use to apply 24V to the board's input (I have to use the output signal of the inductive sensor currently used)?Does it exist a card which can directly get 24V as an input voltage (or is it always 5V or 3.3V)?How many analogical, numerical and On/Off I/O does the kit's board have?Could we use some software like Matlab to analyse the output signals of that card?I truly thank you in advance for your answers!Sincerely,
Hy i am using the usart3 from the STM32MP157A-DK1. i orientated myself on the USART driver (https://elixir.bootlin.com/linux/latest/source/drivers/tty/serial/stm32-usart.c).butwhen i want to initialize theport I get following error code “Rs453Network: probe of 4000f000.serial failedwith error 77�? on this methode stm32port->wakeirq = platform_get_irq(pdev, 1);I have this device tree configuration:Stm32mp15xx-dkx.dtsi&usart3 { pinctrl-names = "default", "sleep", "idle"; pinctrl-0 = <&usart3_pins_b>; pinctrl-1 = <&usart3_sleep_pins_b>; pinctrl-2 = <&usart3_idle_pins_b>; &nb
I want to use i2c-2 and i2c-6 from the user space to access different external devices. With 'i2cdetect -l' I can see the interfaces, But executing 'i2cdetect 3' sais 'Bus busy'.Used HW: Phytec Sabre Board (phyBOARD-Sargas)Linux: Yocto-OpenSTLinux PD20.2.0Executed command that results in error:root@phycore-stm32mp1-3:~# i2cdetect -l i2c-3 i2c STM32F7 I2C(0x5c009000) I2C adapter i2c-1 i2c STM32F7 I2C(0x40013000) I2C adapter i2c-2 i2c STM32F7 I2C(0x5c002000) I2C adapter i2c-0 i2c STM32F7 I2C(0x40012000) I2C adapter root@phycore-stm32mp1-3:~# i2cdetect 3 WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c-3. I will probe address range 0x03-0x77. Continue? [Y/n] 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- [ 217.031102] stm32f7-i2c 5c009000.i2c: bus busy [ 217.034098] stm32f7-i2c 5c009000.i2c: Trying to recover busFor /dev/i2c-0 and /dev/i2c-2 the command i2cdetect works as expected. But not for the newly added /dev/i2c-1 and /dev/i2c-3.R
I'm using a custom board(with STM32MP151C) with custom device tree, the distribution is built with ST's Distribution Package (st-image-core). Now the bootloader (u-boot v2020.01) freezes while "starting kernel" with some strange errors before. After waiting for a while, linux will reboot.I had no problem with thud, but I had this problem with dunfell.Should I search for errors in the DT or is there another reason for not starting the kernel?NOTICE: CPU: STM32MP151CAA Rev.Z NOTICE: Model: STMicroelectronics custom STM32CubeMX board WARNING: VDD unknownINFO: Reset reason (0x214): INFO: IWDG2 Reset (rst_iwdg2) INFO: Using SDMMC INFO: Instance 1 INFO: Boot used partition fsbl1 NOTICE: BL2: v2.2-r2.0(debug):v2.2-dirty NOTICE: BL2: Built : 13:36:23, Oct 22 2019 INFO: Using crypto library 'stm32_crypto_lib' INFO: BL2: Doing platform setup INFO: RAM: DDR3-DDR3L 16bits 400000Khz INFO: Memory size = 0x20000000 (512 MB) INFO: BL2 runs SP_MIN setup INFO: BL2: Loading image id 4 INFO: Loading image
I have stm32mpdk2 board and trying to interface a uart based peripheral ( nfc) .I have connected Tx , RX , Vdd, GND > pin (12,8,1,6) .tty driver is already enabled in the kernel. and the peripheral on powering up shows the init sequence correctly(led pattern is correct)below are the logs for dmesg | grep tty*[ 0.000000] Kernel command line: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw console=ttySTM0,115200[ 1.702933] 4000e000.serial: ttySTM3 at MMIO 0x4000e000 (irq = 53, base_baud = 4000000) is a stm32-usart[ 1.703246] serial serial0: tty port ttySTM3 registered[ 1.704628] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 54, base_baud = 4000000) is a stm32-usart[ 2.915213] printk: console [ttySTM0] enabled[ 7.768477] systemd[1]: Unnecessary job for /dev/ttySTM0 was removed.[ 7.781958] systemd[1]: Created slice system-getty.slice.[ 7.817838] systemd[1]: Created slice system-se
LMint 20 (based on Ubuntu 20) no ttyACM connection show up after the DK2 board is loaded with the Flash firmware using STM32 Programmer. The board boots as the wiki shows but no ttyACM devices show up to use with minicom.I am stuck.
With STM32MP157C-DK2, I like to exercise SPI5 hardware, to use this interface to do talk to FPGA and DSP chips. And I need to use SPI5 in both U-boot and Linux runtime, here I got some issues to enable the SPI5 device.1, Within U-boot.How to enable SPI5 device and config pin mux.I already recompiled u-boot source code and add in command of sspi, but when issue sspi under uboot terminal, it return failure, apparently the default SPI bus not even configured and enabled at all.ubi - ubi commandsubifsload- load file from an UBIFS filesystemubifsls - list files in a directoryubifsmount- mount UBIFS volumeubifsumount- unmount UBIFS volumeums - Use the UMS [USB Mass Storage]usb - USB sub-systemusbboot - boot from USB deviceversion - print monitor, compiler and linker versionTRIFECTA> sspiInvalid bus 0 (err=-19)TRIFECTA> help sspisspi - SPI utility commandUsage:sspi [<bus>:]<cs>[.<mode>] <bit_len> <dout> - S
When trying to migrate a project (STM32MP153A) from basic uboot (Ecosystem 1.3) config to trusted (Ecosystem 2.1) system panics when booting TF-A because of SPI6 being enabled and assigned to the nonsecure core.Is this expected behaviour or just a regression?NOTICE: CPU: STM32MP153AAC Rev.B NOTICE: Model: STMicroelectronics custom STM32CubeMX board INFO: Reset reason (0x15): INFO: Power-on Reset (rst_por) INFO: PMIC version = 0x21 INFO: Using SDMMC INFO: Instance 1 INFO: Boot used partition fsbl1 NOTICE: BL2: v2.2-r2.0(debug):2020.08-rc1-3282-g35ea9648ac-dirty NOTICE: BL2: Built : 09:37:37, Mar 3 2021 INFO: Using crypto library 'stm32_crypto_lib' INFO: BL2: Doing platform setup INFO: RAM: DDR3-DDR3L 16bits 533000Khz INFO: Memory size = 0x20000000 (512 MB) INFO: BL2 runs SP_MIN setup INFO: BL2: Loading image id 4 INFO: Loading image id=4 at address 0x2ffeb000 INFO: Image id=4 loaded: 0x2ffeb000 - 0x2ffff000 INFO: BL2: Loading image id 5 INFO: Loading image id=5 at address 0xc0100000 INF
Hi CommunityIn the DT the TIM1, TIM4 and SPI4 are assigned to the M4 and in the pinmux the RSVD is set (DT attached). Booting A7 generates no ERROR during Kernel boot. If the M4 is started from the A7 context the following ERROR Messages occurs for all assigned peripherals:[ 1648.984460] remoteproc remoteproc0: powering up m4[ 1648.990531] remoteproc remoteproc0: Booting fw image core4-m4-app.elf, size 1164296[ 1648.998032] stm32mp157-pinctrl soc:pin-controller@50002000: invalid function.[ 1649.003955] rproc-srm-dev: probe of m4@0:m4_system_resources:timer@40002000 failed with error -22[ 1649.013430] stm32mp157-pinctrl soc:pin-controller@50002000: invalid function.[ 1649.019935] rproc-srm-dev: probe of m4@0:m4_system_resources:timer@44000000 failed with error -22[ 1649.029232] stm32mp157-pinctrl soc:pin-controller@50002000: invalid function.[ 1649.035907] rproc-srm-dev: probe of m4@0:m4_system_resources:spi@44005000 failed with error -22[ 1659.359767] rproc-srm-core m4@0:m4_system_reso
Cannot set a time greater than 2038, whether in the console or the c program
I don't want to use a usb to serial adapter because I need the 9th bit available in the UART and this converters are not generally compatible with that
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.