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
Hello,How to install a USB printer support? I've tried apt-get install cups but this no work. Thanks,Alex.
..
Openssl fails to convert the certificate from der to pem. Is this expected? I wrote a c program in OpenSSL to extract the public key, which seems to work, but I need to verify its correctness. Is there another tool like openssl that I can verify the key in the certificate? Any thoughts, etc?
Hello Guys.I have tried bitbake(st-image-core) after a long time.But I can't proceed with the following error.This error is partial, and many of the same errors appear(Attach the error as text).I don't know how to fix it. I need help.can't find file to patch at input line 39367 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/plat/st/stm32mp1/sp_min/sp_min-stm32mp1.mk b/plat/st/stm32mp1/sp_min/sp_min-stm32mp1.mk |index 4188cc58a..2ab8e8d4b 100644 |--- a/plat/st/stm32mp1/sp_min/sp_min-stm32mp1.mk |+++ b/plat/st/stm32mp1/sp_min/sp_min-stm32mp1.mk -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 39419 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/plat/st/stm32mp1/sp_min/sp_min_setup.c b/plat/st/stm32mp1/sp_min/sp_min_setup.c |index e10dfbfc0..f57630604 100644 |--- a
Hi:Dear friends, there is a very strange problem here. I use timer 1(STM32MP157AAC) to output PWM wave. In engineering mode, the output of PWM wave is normal, but when it comes to mass production mode, the waveform is interrupted. Here are my configuration steps:1)First of all, I configure the clock to be 209 MB, the frequency to be 800K, and the duty cycle to be 50%, as follows:htim1.Instance = TIM1; htim1.Init.Prescaler = 0; htim1.Init.CounterMode = TIM_COUNTERMODE_UP; htim1.Init.Period = 250-1; htim1.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1; htim1.Init.RepetitionCounter = 0; htim1.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_ENABLE; if (HAL_TIM_Base_Init(&htim1) != HAL_OK) { Error_Handler(); } sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL; if (HAL_TIM_ConfigClockSource(&htim1, &sClockSourceConfig) != HAL_OK) { Error_Handler(); } if (HAL_TIM_PWM_Init(&htim1) != HAL_OK) { Error_Handler(); } sMasterConfig.MasterOutputTrigger = TIM_T
We are using the STM32MP15-ecosystem-v2.0.0 on an EV1 board.We need to disable the sdmmc1 / sdmmc2 nodes in the DT, so we are adding the following at the end stm32mp157c-ev1.dts:&sdmmc1 { status = "disabled"; }; &sdmmc2 { status = "disabled"; };However this results in a kernel crash, apparently related to the NAND code.I am attaching (part of) the kernel traces here:[ 3.906739] ubi0: attaching mtd3 [ 6.876347] ubi0: scanning is finished [ 6.893628] ubi0: attached mtd3 (name "UBI", size 1018 MiB) [ 6.897839] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes [ 6.904740] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096 [ 6.911450] ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192 [ 6.918459] ubi0: good PEBs: 4068, bad PEBs: 4, corrupted PEBs: 0 [ 6.924558] ubi0: user volume: 6, internal volumes: 1, max. volumes count: 128 [ 6.931778] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 404136786 [ 6.940914]
Hello,iam trying to implement more or less the same example as with the virtualUARTs with multiple Endpoints just with the rpmsg_char driver and plain endpoints without virtualUART on M4 side. Iam struggling to get multiple Endpoints to work. One is working fine and the other is created as well. But i cant send and receive data through the second endpoint. Does anyone have an example with multiple endpoints with the rpmsg_char driver?
HOLD_BOOT: After an power-on reset the BOOT_MCU is '0' and we can set thebit to '1', after an MCU reset (MCU_RST) the M4 FW start (CRun). All is fine. But after that we can't reset the BOOT_MCU bit back to '0'. The BOOT_MCU bitremains on '1' and we can't reach the HOLD_BOOT state again.Is there any ideas why the BOOT_MCU bit remains on '1' ?!
I am trying to enable some GPIO as external interrupts and have run the GPIO example where the user button is set as an interrupt. Is there any resources that show what GPIO can be used as external interrupts? For example, I would like to set one of the Arduino GPIO as an external interrupt pin if possible.
Hello again dark electronics wizards.I've been looking for some documentation about how to use an external flash memory with my stm32 designs.Is there any magic way to do this? Or could anyome point me to the right way?My goal is to add a qspi controlled flash chip instead of a sd card for my mass storage usb thing.Many thanks in advanceCheers
We have a custom board based on the stm32mp151 that shall boot from emmc. I can flash alright, but when I switch the boot pins, the boot device remains on usb. I can see from arch/arm/mach-stm32mp/cpu.c, that boot_device is set to usb, here is the debug line:setup_boot_mode: boot_ctx=0x2203 => boot_mode=22, instance=1 forced=3when I break into u-boot, and manually set boot_device to mmc, it works. Also, it does not seem to pick up the default environment:CPU: STM32MP151CAC Rev.Z Model: STMicroelectronics custom STM32CubeMX board Board: stm32mp1 in trusted mode (st,stm32mp151c-0068-new-linux-mx) DRAM: 128 MiB Clocks: - MPU : 650 MHz - MCU : 208 MHz - AXI : 266.500 MHz - PER : 24 MHz - DDR : 533 MHz STM32Programmer key pressed, entering download mode... WDT: Not found! NAND: 0 MiB MMC: STM32 SD/MMC: 0 Loading Environment from MMC... MMC Device 1 not found *** Warning - No MMC card found, using default environment In: serial@40010000 Out: serial@40010000 Err: serial@40010000 set
Burning STM32MP1 via USB DFU works fine. When I try to burn via USART I stick with errors:GetPhase command not acknowledged after 3 retriesParition 0xbb not found in TSV FileFlash layout is the same in both cases (attached). Is it possible to burn STM32MP1 from anything else than USB DFU (USART or JTAG/SWD) ?
I'm DDR tuning a custom STM32MP157F board with 4GB DDR3. All DDR tests are passing however I get the following tuning failure for Bit Deskew: Failed [Cannot Deskew lines, there is no PASS region] and Eye Training: [Cannot DQS timings, there is no PASS region]What exactly does this mean? How can it fail tuning but pass testing?DDR>test 0 ... loop 1: 0/17 test failed Result: Pass [loop 1: 17 tests passed] DDR>tuning 1 execute 1:Bit de-skew Result: Failed [Cannot Deskew lines, there is no PASS region] Result: Failed [Cannot Deskew lines, there is no PASS region] Result: Failed [error = 2] DDR>tuning 2 execute 2:Eye Training Result: Failed [Cannot DQS timings, there is no PASS region] Byte 1, DQS unit = 3, phase = 3 Result: Failed [error = 1] DDR>tuning 3 execute 3:Display registers Byte 0 Dekew result, bit0 delay, bit1 delay...bit8 delay 2 2 2 2 2 2 2 2 dxndllcr: [5a0041cc] val:400a0000 dxnqdstr: [5a0041d4] val:3db02001 dxndqtr: [5a0041d0] val:aaaaaaaa Byte 1 Dek
Full text from op-tee: Important caveats Currently no OP-TEE platform is able to support retrieval of the Hardware Unique Key or Chip ID required for secure operation. For all platforms, a constant key is used, resulting in no protection against decryption, or Secure Storage duplication to other devices. This is because information about how to retrieve key data from the SoC is considered sensitive by the vendors and it is not freely available. In OP-TEE, there are apis for reading the keys generically from "One-Time Programmable" memory, or OTP. But there are no existing platform implementations. To allow Secure Storage to operate securely on your platform, you must define implementations in your platform code for: void tee_otp_get_hw_unique_key(struct tee_hw_unique_key *hwkey); int tee_otp_get_die_id(uint8_t *buffer, size_t len); These implementations should fetch the key data from your SoC-specific e-fuses, or crypto unit according to the method
Dear STM32 MPU Community,We are please to announce that New MP1 Ecosystem V3.0.0 is available.Please check out the Release note on STM32 Wiki to get complete description of content and new features.It contains : Openstlinux-5.10-dunfell-mp1-21-03-31STM32MP1Cube V1.4.0STM32CubeIDE V1.6.1STM32CubeMX V6.2.1STM32CubeProgrammer V2.7.0Please be aware and read carefully documentation related to integration of FIP and FCONF support in Openstlinux-5.10-dunfell-mp1-21-03-31 :TF-A_overviewHow_to_configure_TF-A_BL2How_to_configure_TF-A_FW_CONFIGHow_to_configure_TF-A_FIPSecurity_overviewAs usual, this new release has been opportunity to update and enrich the Wiki Online User Document ! Please visit https://wiki.st.com/stm32mpu/wiki/Main_PageWiki for previous ecosystem are still available : Ecosystem-V2-WikiEcosystem-V1-WikiHope you will enjoy this new release.In case any questions, issues .. this Community is made for you !
I have read in the wiki that the xlinux packages for ai inference and etc are only for evaluation purposes. I need to have more clarifications so to decide to use it in our product! Is there a coming release of software ready for production for example.
Hi,I'm working with the stm32mp157f-dk2 and with OpenSTLinux and I'm trying to create a GATT service for provisioning the wifi credentials.The problem is, according to https://wiki.st.com/stm32mpu/wiki/How_to_scan_BLE_devices I should be able to run the gatttool command. Unfurntently I'm not. I have already re-flashed the OpenSTLinux and I also have reprogrammed the kernel.I'm running the OpenSTLinux 5-4 20-11-12.What should I do? I have also tried the apt-get install command..Thanks,Fernando Fontes
Are the following Warnings import? If yes how can I deal with them ? WARNING: /home/mehdi/DP1/openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-st/meta-st-stm32mp/recipes-kernel/linux/linux-stm32mp_5.4.bb:do_compile is tainted from a forced run Initialising tasks: 100% |####################################################################################################################| Time: 0:00:13 Sstate summary: Wanted 534 Found 492 Missed 42 Current 3484 (92% match, 98% complete) NOTE: Executing Tasks WARNING: st-image-vendorfs-1.0-r0 do_image: /vendor folder not available in rootfs folder, no reformat done... WARNING: st-initrd-1.0-r0 do_package: Manifest /home/mehdi/DP1/openstlinux-5.4-dunfell-mp1-20-11-12/build-openstlinuxweston-stm32mp1-disco/tmp-glibc/sstate-control/manifest-x86_64_x86_64-nativesdk-st-image-resize-initrd.packagedata not found in stm32mp1_disco cortexa7t2hf-neon-vfpv4 cortexa7t2hf-neon cortexa7t2hf-vfp cortexa7hf-neon-vfpv4 cortexa7hf-neon cortexa7hf-vfp armv7ve
I am using GStreamer to stream live video from mjpeg cameras. For this I am using a pipeline which is roughly equivalent to this one:gst-launch-1.0 souphttpsrc is-live=true location=<camera_url> ! multipartdemux ! image/jpeg,framerate=0/1 ! jpegparse ! avdec_mjpeg ! videoconvert ! waylandsinkThis was working fine with OpenSTLinux 1.x, but with 2.x the video stutters or even freezes.Can someone help?Guillermo
While changing the value at the trimpot output values is constant(4095) and has no change as soon as when it reaches 3.2V it goes to zero. I am seeing output using uart. Please assist me how to rectify it.
I enter STM32_Programmer_CLI -c port=/dev/bus/usb/010/003 (lsusb reports this is correct) -w flashlayout_st-image-weston/trusted/Flashlayout_sdcard_stm32mp157c-dk2-trusted.tsvudev drivers installed, Ubuntu 20.04Warning: Wrong connect parameter:
Hi Please,I`m having problem to run an QT application: # error while loading shared libraries: libQt5QuickControls2.so.5: cannot open shared object file: No such file or directory.Please, how can I add it to image ? Thanks [ ]
I want to use stm32mp1 chip to drive ssd22288 rgb-mipi screen. Could you give me some solutions?
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.