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
HiI'm using the OpenSTlinux starter package.I want to change the SSH port communicated by dropbear from 22.Setting a file in the device and rebooted, but it doesn't change from SSH port 22.file: /etc/default/dropbearDROPBEAR_PORT=10022 *line added"DROPBEAR_EXTRA_ARGS" setting will take effect after the change.Is it possible to change the SSH port in dropbear settings?Best regards,
Hello friends,Please, if you can really help me, I'm not an expert in the Linux device tree.I urgently need to understand the commands to execute on the device tree on the powerful STM32MP157 MINI Linux board alientek ATOMIC (Note: Chinese language, please right click google automatically translate from browser):https://www.bilibili.com/video/BV15U4y1E7Bh/https://www.bilibili.com/video/BV1kr4y1c7bv/https://www.alientek.com/Product_Details_17/31.html WiKi Compiler YOCTO Linux Image:https://han-ya.blogspot.com/2024/03/stm32mp157-linux.htmlGUI QThttps://han-ya.blogspot.com/2024/03/stm32mp157-qt-creator . html ADC1+ADC2 - Analog Multi channel IODEVICE TREEIt is essential to create from device tree :- 8 ANALOG type GPIO physical pins on the board (AN0,AN1,AN2, AN3,AN4,AN5,AN6,AN7)- 3 GPIO physical pins of PWM type real time motors on the board (PWM0, PWM1,PWM3)But manufacturing company says only 2 ADC pins can be read,I attach STM32MP157 MINI mappin
Hello,I designed custom board with STM32MP157 and LPDDR3 memory. Due to PCB manufacture restrictions I needed to connect to ground unused signal called DDR_ATO. I want to know if this is a problem, because if it is the case I can just remove 1 ball from the IC and solder it like that, but maybe it is not necessary? Thank you, Dominik.
Good afternoon. I observe very strange behavior when the first few images received from the camera are normal, and then subsequent images are always shifted by 4 bytes. Initial data:1. I am using a STM32MP157A-EV1 device with a screen and camera on board.2. I use the official Distribution-Package firmware based on tag: openstlinux-5.10-dunfell-mp1-21-11-173. To work with the camera I use the following example: https://www.kernel.org/doc/html/v4.11/media/uapi/v4l/capture.c.htmlReceiving images in STREAMING_ON mode, via MMAP.4. In the process_image function I print the first few bytes of each image. Output:root@stm32mp15-eval:~# ./visorik-v4l-exampleprocess_image 0FF D8 FF E0 00 10 4A 46 49 46 00 01 01 01 00 00 00 00 00 00 FF DB 00 43 00 04 03 03 04 03 03 04 04 03 04 05 04 04 05 06 0A ... - goodprocess_image 1FF D8 FF E0 00 10 4A 46 49 46 00 01 01 01 00 00 00 00 00 00 FF DB 00 43 00 04 03 03 04 03 03 04 04 03 04 05 04 04 05 06 0A ... - goodprocess_image 2FF D8 FF E0 00 10 4A 46 49 46 00
This guide uses ubuntu22.04 x86 pc(Probably the same on any other Linux system) as host, and mp2 as device.Its quite a common practice to use NFS as a medium to transfer cross compiled binary to dev board, since using sftp or scp to transfer the file every time you cross compile is tedious and time consuming. Install NFS server and prepare the export directory on host : sudo apt update && sudo apt install nfs-kernel-server sudo mkdir -p /host_export_srv_dir sudo chown -R nobody:nogroup /host_export_srv_dir sudo chmod 777 /home/srv Edit export file on host: sudo vim /etc/exports /home/srv *(rw,sync,no_subtree_check) Export the directory &
I developed a new stm32mp157 board. Do I need to update the firmware to run A7 on stm32mp157? Or is the firmware already updated?
Hello,I made psplash-drm imageand, checked change boot logo.but other issue occurred. display off after about 15s display change psplash-drm image.I think cannot load weston.error log>root@stm32mp1:/home/weston# cat weston.logDate: 2024-06-25 UTC[15:19:58.793] weston 11.0.1https://wayland.freedesktop.orgBug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/Build: 11.0.1[15:19:58.794] Command line: /usr/bin/weston --modules=systemd-notify.so --log=/home/weston/weston.log --use-pixman[15:19:58.794] OS: Linux, 6.1.28, #58 SMP PREEMPT Tue Jun 25 17:21:22 KST 2024, armv7l[15:19:58.794] Flight recorder: enabled[15:19:58.795] warning: XDG_RUNTIME_DIR "/home/weston" is not configuredcorrectly. Unix access mode must be 0700 (current mode is 0755),and must be owned by the user UID 1000 (current owner is UID 1000).Refer to your distribution on how to get it, orhttp://www.freedesktop.org/wiki/Specifications/basedir-specon how to implement it.[15:19:58.801] Using config file
Hello everyone,I'm getting yocto build for STM32MP1 mickledore. There is no problem with compilation. The images were produced without any problems. The system is up but I get the following error while generating the SDK. ERROR: core-image-minimal-1.0-r0 do_populate_sdk: Could not invoke dnf. Command '/home/faruk/Desktop/projects/801.01/SOFTWARE/801.01_plnx/tmp/work/stm32mp1-poky-linux-gnueabi/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /home/faruk/Desktop/projects/801.01/SOFTWARE/801.01_plnx/tmp/work/stm32mp1-poky-linux-gnueabi/core-image-minimal/1.0-r0/sdk/image/etc/dnf/dnf.conf --setopt=reposdir=/home/faruk/Desktop/projects/801.01/SOFTWARE/801.01_plnx/tmp/work/stm32mp1-poky-linux-gnueabi/core-image-minimal/1.0-r0/sdk/image/etc/yum.repos.d --installroot=/home/faruk/Desktop/projects/801.01/SOFTWARE/801.01_plnx/tmp/work/stm32mp1-poky-linux-gnueabi/core-image-minimal/1.0-r0/sdk/image --setopt=logdir=/home/faruk/Desktop/projec
Good evening.I'm trying to use the ST's DDR FW UTIL (Github link) to test/verify DDR configuration with said project imported into STM32CubeIDE (latest version).I'm running into trouble with the HAL's RCC configuration in that whatever configuration (Enabled, Analog Bypass or Digital Bypass) I apply to the HSE I never see the HSERDY bit go high in the RCC_OCRDYR register. Without the ready bit going high a timeout occurs and the clock initialization routine fails.My reference is a 3.3V CMOS oscillator at 24.0 MHz. I've verified the output of the oscillator using an oscilloscope--it is proper frequency and waveform.I've also observed curious behavior with the RCC_OCENSETR in that HAL writes to the HSEBYP bit never read back high when stepping through in the (SWD) debugger. Writing to the same register with the debugger is also never able to set the HSEBYP bit.Any idea what might be happening? Thanks
Hello,I am trying to bring up my custom board with STM32MP157F largely inspired by STM32MP157F-DK2 board but with a dual RAM configuration.I am having a Panic error after ROM boot which states in the line before an error related to "fdt_counter_get", a function that I have no idea what it does and I cannot seem to find where it comes from, anywhere on internet or in my files.I have looked at the usual troobleshooting guidelines and I have no difference with discovery kit devictree configuration regarding HSE (oscillator bypass), I2C4 and PMIC (although I removed some unused configuration for HDMI or audio which I do not have in my board).Here are the logs I get on UART console during boot. Thank you for your help.NOTICE: CPU: STM32MP157FAA Rev.ZNOTICE: Model: STMicroelectronics STM32MP157F-EV1 STM32CubeMX board - openstlinux-6.1-yocto-mickledore-mp1-v23.06.21INFO: PMIC version = 0x21INFO: Reset reason (0x15):INFO: Power-on Reset (rst_por)INFO: FCONF: Reading TB_FW firmware configuratio
Hello,I'm a newbie using Yocto so my question maybe doesn't make a lot of sense.I'm trying to add rust 1.78 to an existing image (STM32MP1 OpenSTLinux).1. I cloned the repo in the layers directory (git clone https://github.com/meta-rust/meta-rust.git) .2. I sourced my environment script (DISTRO=openstlinux-weston MACHINE=stm32mp15-disco IMAGE=st-image-weston source layers/meta-st/scripts/envsetup.sh)3. I modified the file "layers/openembedded-core/meta/conf/distro/include/tcmode-default.inc" in order to change RUSTVERSION ?= "1.68%" to RUSTVERSION ?= "1.78%"4. I run bitbake-layers add-layer meta-rust5. I run bitbake-layers show-layers (my new layer is there : (rust-layer /home/hanoi/devel/STM32MP1/distribution-package/layers/meta-rust))6. I compile the image (bitbake st-image-weston)7. I can see the source files for rust-native-1.78.0-r0, cargo-native-1.78.0-r0 and rust-llvm-native-1.78.0-r0 are being fetched and unpackedNow the problems:compiling rust-native-1.78.0-r0-----------------
Following the instructions on the wiki page for getting started, the board does not appear over USB and cannot be recognised by STM32CubeProgrammer. Green power LED is on. Switches are in correct position. STLink is red light is blinking. Power rails seem fine, although DDR is 0 volts. I have tried two different computers, one Linux, one macOS and neither can detect the USB device or connect to it from STM32CubeProgrammer. I have also tried different cables.
Hello,I am developing using the OpenSTLinux Ecosystem 4.1 Distribution package. And I generate "SDK by bitbake -c populate_sdk st-image-core", and obtained the SDK (I think it is the same to the Developer Package offererd by st.com). After that, I run the xxx.sh file inside the deploy/sdk path and finally installed it into /opt directory. Until then, everything is OK.When I open STM32CubeIDE (version 1.15.1) to install the SDK, every time I choose the SDK installation path where there is a sysroot directory, STM32CubeIDE complains that An internal error occurred during: "OpenSTLinux Lookup". java.lang.NullPointerException Here is the directory structures of my own SDK installation. jason@dell15:/opt/st/stm32mp1-dragonli5$ tree 4.0.11-snapshot/ -L 2 4.0.11-snapshot/ ├── environment-setup-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi ├── site-config-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi ├── sysroots │ ├── cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi │ └── x86_64-ostl
Hello,I'm encountering an error during USBX initialization.Inside the _ux_device_stack_initialize function: memory = _ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_MEMORY, sizeof(UX_SLAVE_CLASS) * UX_MAX_SLAVE_CLASS_DRIVER); When executing the _ux_utility_memory_allocate function, the error occurs at:_ux_system_mutex_on(&_ux_system -> ux_system_mutex); What could be causing this error?
Hello I want to 3D print a case for STM32MP135X-DK Board but I could not find any. is there any documents for size or cad file
Dear All,We have been using LCD module which supports touch screen.Currently image can be displayed properly.I just started debugging touch screen.we use SPI2 to interface to touch screen ic, TSC2046.This is setting spi2 in dts.&spi2 {pinctrl-names = "default", "sleep";pinctrl-0 = <&spi2_pins_a>;pinctrl-1 = <&spi2_sleep_pins_a>;cs-gpios = <&gpioi 0 0>;status = "okay"; //spidev@0 { // compatible = "spidev"; // spi-max-frequency = <20000000>; // reg = <0>; //}; ads7846@0 { compatible = "ti,ads7846"; reg = <0x0>; spi-max-frequency = <1000000>; interrupt-parent = <&gpioe>;&n
So I got the basic yocto build working for the STM32MP157C-DK2 and have been able to modify it to add/ remove/ modify features without any problems both st-image-core and st-image-weston.Then I come to do a custom machine and add it to the build by following:https://wiki.st.com/stm32mpu/index.php/How_to_create_your_own_machineThis build runs until I get the following error:arch/arm/dts/.stm32mp1-test.dtb.pre.tmp:14:10: fatal error: stm32mp157.dtsi: No such file or directory| #include "stm32mp157.dtsi"| ^~~~~~~~~~~~~~~~~| compilation terminated.I have a feeling I have missed something simple but any advice greatly appreciated.
Hello,I want to change booting logo image on STM32MP135F-DK.1. I checked first boot image.(/boot/splash_landscape.bmp) 2. I want to change second boot image. 3. I checked after booting, backgroud image.(/usr/share/weston/backgrounds/OpenSTLinux_background_1024x600.png)thanks, reply.
If the board power supply does not supply enough current (3A), the red LED indicates the issue following the rules below:LED blinking mode Console message Boot processTwiceWARNING 500mA power supply detectedCurrent too low, use a 3A power supply!Continue and red LED stays ON3 timesWARNING 1500mA power supply detectedCurrent too low, use a 3A power supply!Continue and red LED stays ONforeverERROR USB TYPE-C connection in unattached modeCheck that USB TYPE-C cable is correctly pluggedstopforeverUSB TYPE-C charger not compliant with USB specificationstopI confirm that my power supply supports 5V3A.my log as follow:Previous ADC measurements was not the one expected, retry in 20ms********************************************************* WARNING 500mA power supply detected ** Current too low, use a 3A power supply! ******************************************************** &nbs
Hi,I have a small problem with the RTC on STM32MP153. From hardware point of view I'm able to see sine waveform on the resonator 32.768kHz which is connected to PC14, PC15.I use the Openstlinux - kirkstone (openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23).I configure rtc section only in tfa file clocks { /* USER CODE BEGIN clocks */ clk_lsi: clk-lsi { clock-frequency = <32000>; }; clk_hsi: clk-hsi { clock-frequency = <64000000>; }; clk_csi: clk-csi { clock-frequency = <4000000>; }; clk_hse: clk-hse { clock-frequency = <24000000>; }; /* USER CODE END clocks */ /* USER CODE BEGIN clk_lse */ clk_lse: clk-lse { st,drive = < LSEDRV_MEDIUM_HIGH >; #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <32768>; }; /* USER CODE END clk_lse */ /* USER CODE BEGIN clk_hse */ /* USER CODE END clk_hse */ }; ... &rcc{ status = "okay"; /* USER CODE BEGIN rcc */ /* USER CODE E
There's a problem enabling QuadSPI in CubeIDE. After enabling QSPI and generating the code, compile errors occur.Here are the issues I've identified:XSPI_HandleTypeDef is not defined.There's no define related to QSPI (or XSPI) Enable in the stm32mp13xx_hal_conf.h file.Declarations for HAL_XSPI_MspInit and HAL_XSPI_MspDeInit functions' code are missing in the stm32mp13xx_hal_msp.c file.HAL_XSPI_MODULE_ENABLED is not present in stm32mp13xx_hal_conf.h. Thank you for your help.
hello,my custom board using stm32mpa35faf7 i2c1, but I forget add externel pull-up resitors.PD12--->I2C1_SCLPE8 ---->I2C1_SDANow ths i2c seems don't work.please help me
Hi Team, We're currently facing challenges enabling HS200 mode for the eMMC in our STM32MP135 project. We'd appreciate your assistance in resolving these issues: Clock Speed Discrepancy: In CubeMX, we've configured the SDMMC1 and SDMMC2 clocks to 200 MHz. However, the observed output clock for the SDMMC (eMMC) interface is only 130 MHz. Delay Block Implementation: The reference manual mentions the use of a delay block. Could you please elaborate on how to implement this block to achieve the desired HS200 mode? If I set vmmc and vqmmc to 3.3V and 1.8V in the DTS, I encounter errors during the flashing process. Error messages are displayed while flashing. For your reference, we've attached screenshots of our current Device Tree Source (DTS) configuration and the terminal output. Please review these and advise if there are any missing elements or configurations. Thank youRaj
Currently, I am testing QuadSPI.Is it correct for the output to include Command / Address / Data?I want to output only Data. While I can remove the Address through settings, I couldn't remove the Command.Is it possible to output only Data?
Hi,I am using an STM32MP157_SOM interfaced with an LCD-OLinuXino-7TS screen. I have activated the splash screen for U-Boot and psplash in the kernel. The U-Boot splash screen works correctly. However, after the 'Starting kernel...' message, the screen goes black until the psplash is launched (17 seconds with the splash screen). I have included parts of the DTS for U-Boot and the kernel. Is there a way to keep the U-Boot screen displayed until the psplash launches? LCD power enable and backlight stay enabled. u-boot dts : backlight: backlight {compatible = "gpio-backlight";gpios = <&gpiod 13 GPIO_ACTIVE_LOW>;default-on;status = "okay";power-supply = <&vdd>;};panel-rgb@0 {compatible = "simple-panel";backlight = <&backlight>;reset-gpios = <&gpioa 14 GPIO_ACTIVE_HIGH>;enable-gpios = <&gpiof 13 GPIO_ACTIVE_HIGH>;status = "okay";port {lcd_panel_in: endpoint {remote-endpoint = <&lcd_display_out>;};};display-timings {ti
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.