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
dts:in M4:I find the SPI1 doesn't work.
Hi All,i am getting watchdog Device or resource busy in stm32mp1root@mp1som:~# dmesg | grep watchdog[ 2.108020] iwdg 5a002000.watchdog: unable to set timeout value, using default[ 3.642347] iwdg 5a002000.watchdog: timeout skrinked to 1[ 3.647585] systemd[1]: Hardware watchdog 'STM32 Independent Watchdog', version 0[ 3.654887] systemd[1]: Set hardware watchdog to 30s.root@mp1som:~# echo V > /dev/watchdog-sh: can't create /dev/watchdog: Device or resource busyroot@mp1som:~#
Hi All,In STM32MP1, i have following two problem related RTC 1. Kernel spaceRTC is working fine for me only when i enter following command at every power up , else the default RTC date show local time.hwclock --localtime --hctosys-- makes RTC works.root@mp1som:~# dateMon Sep 7 06:16:00 UTC 2020root@mp1som:~# hwclock --localtime --hctosysroot@mp1som:~# dateMon May 26 11:22:49 UTC 20142 , Uboot side always shows default RTC time. why this ?following is uboot log:U-Boot SPL 2018.11-stm32mp-r3 (Dec 18 2020 - 10:05:24 +0000)Model: STMicroelectronics STM32MP157A-DK1 Discovery BoardRAM: DDR3-DDR3L 32bits 533000KhzTrying to boot from MMC1U-Boot 2018.11-stm32mp-r3 (Dec 18 2020 - 10:05:24 +0000)CPU: STM32MP157CAA Rev.BModel: STMicroelectronics STM32MP157A-DK1 Discovery BoardBoard: stm32mp1 in basic mode (st,stm32mp157a-dk1)
Hello ST community,I was following the link belowhttps://wiki.st.com/stm32mpu/wiki/How_to_integrate_AWS_IoT_Greengrass_on_top_of_openSTLinux_distributionI had completed PC prerequisites by following, https://wiki.st.com/stm32mpu/wiki/PC_prerequisiteswhen I do bitbake st-image-demo-awsIt stops after 49% with error,ERROR: Task (/home/dnk-051/STM32MPU_workspace/STM32MP15-Ecosystem-v2.1.0/Distribution-Package/openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_60.9.0.bb:do_compile) failed with exit code '1'How can I solve the error?Thanks,Nikunj
I'm updating a .tsv file, used by the CubeProgramer to program a STM32MP DK1. The file I'm looking at contains:#Opt Id Name Type IP Offset Binary - 0x01 fsbl1-boot Binary none 0x0 arm-trusted-firmware/tf-a-stm32mp157a-dk1-serialboot.stm32 - 0x03 ssbl-boot Binary none 0x0 bootloader/u-boot-stm32mp157a-dk1-trusted.stm32 P 0x04 fsbl1 Binary mmc0 0x00004400 arm-trusted-firmware/tf-a-stm32mp157a-dk1-trusted.stm32 P 0x05 fsbl2 Binary mmc0 0x00044400 arm-trusted-firmware/tf-a-stm32mp157a-dk1-trusted.stm32 PD 0x06 ssbl Binary mmc0 0x00084400 bootloader/u-boot-stm32mp157a-dk1-trusted.stm32 P 0x21 boot System mmc0 0x00284400 st-image-bootfs-openstlinux-weston-stm32mp1.ext4 P 0x22 vendorfs FileSystem mmc0 0x04284400 st-image-vendorfs-openstlinux-weston-stm32mp1.ext4 P 0x23 rootfs FileSystem mmc0 0x05284400 st-image-weston-openstlinux-weston-stm32mp1.ext4 P 0x24 userfs FileSystem mmc0 0x33C84400 st-image-userfs-openstlinux-weston-stm32mp1.ext4I'm trying to understand the file's contents and how to
I want to create my own machine.I'm trying to create with reference to following Wiki Page.https://wiki.st.com/stm32mpu/wiki/How_to_create_your_own_machineIn "2 Generate device tree" in the wiki page, I need to set device tree from STM32CubeMX to "mx" directory.However, OpenSTLinux Distribution Package (openstlinux-20-02-19) that I have install has no "mx" directory in "meta-st-stm32mp-addons".Do I need any other steps to create "mx" directory in "meta-st-stm32mp-addons" automatically?And, in the case that I want to change kernel or u-boot or tf-a device tree, all I need is to change device tree in "mx" directory?Do I need any other steps to reflect the change of device tree setting?For reference, I have tried to create "mx" directory manually and set device tree to "mx" directory, but bitbake failed.(Error message shows "No rule to make target arch/arm/boot/dts/xxxxxxxx.dtb")Best regards,H. Masuda
I'm using FreeRTOS v10.2.1, CMSIS RTOS v1 main.c (generated by CubeMX) has:...osThreadDef(defaultTask, StartDefaultTask, osPriorityNormal, 0, 128);...where osPriorityNormal is zero as defined in cmsis_os.hI spawn all other tasks using the FreeRTOS xTaskCreate call where task priority is from 0..MAX_PRIORITIES-1. How does FreeRTOS task priority maps to CMSIS task priority if it maps at all? The reason i ask is that if i keep StartDefaultTask alive, how does it get scheduled against those tasks created with xTaskCreate?
I am using STM32CubeIDE v1.4.2 on Ubuntu 18.04.05 with an STM32MP157C-DK2. The board is running the V2 Starter Kit image. If I set the boot switches to 'Reserved' (Boot 0 = 0, Boot2 = 1) I can program the M4 and step through the code. However, if I set the switches to 'Engineering Mode' (Boot0 = 0, Boot2 = 0) as ST suggests I cannot.Does anyone have any idea why I cannot run M4 code in 'Engineering Mode'? The issue seems to be 'external reset detected'. After this message there are timeout messages. This is the console output when I attempt to load and debug M4 code in 'Engineering Mode':Open On-Chip Debugger 0.10.0+dev-g30d1303 (2020-06-18-09:11)Licensed under GNU GPL v2For bug reports, read http://openocd.org/doc/doxygen/bugs.htmlsrst_only srst_pulls_trst srst_gates_jtag srst_open_drain connect_deassert_srstInfo : Listening on port 6666 for tcl connectionsInfo : Listening on port 4444 for telnet connectionsInfo : STLINK V2J37M26 (API v2) VID:PID 0483:3752Info : Target voltage: 3.2199
Hello Guys.I made a custom board from the EV1 circuit base, removing unnecessary parts.(Most of them are the same as the EV1. Only parts that are not in use have been removed.)And after creating Device Tree using CubeMX, I succeeded in making my image.(EMMC's circuit connection and Device Tree are the same as EV1.)But my board can't boot to EMMC if I remove the RJ45 connection.If booting without RJ45 connection (Ethernet), I can check the following message.(The same message could be confirmed even after power reset.)DRAM: 1 GiB Clocks: - MPU : 800 MHz - MCU : 208.878 MHz - AXI : 266.500 MHz - PER : 0 MHz - DDR : 533 MHz Fastboot key pressed, STM32Programmer key pressed, entering download mode... WDT: Started with servicing (32s timeout) NAND: 0 MiB MMC: STM32 SD/MMC: 2, STM32 SD/MMC: 0, STM32 SD/MMC: 1 Loading Environment from MMC... OK In: serial Out: serial Err: serial invalid MAC address in OTP 00:00:00:00:00:00 Net: Error: ethernet@5800a000 address not set. No ethernet found. &
I am not using OTG (Only host USB's) in the PCB I connected OTG_VBUS to GND. Is this problematic? I saw that it should be left open but not sure if it is connected internally
followed stepshttps://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Packagegot following build error| /home/ubuntu-test/GIT_TEST/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/mozjs/60.9.0-r0/firefox-60.9.0/js/src/vm/JSScript.cpp: In function 'bool js::XDRScript(js::XDRState<mode>*, js::HandleScope, js::HandleScriptSource, JS::HandleFunction, JS::MutableHandleScript) [with js::XDRMode mode = js::XDR_DECODE]':| /home/ubuntu-test/GIT_TEST/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/mozjs/60.9.0-r0/firefox-60.9.0/js/src/vm/JSScript.cpp:607:26: note: parameter passing for argument of type 'JS::MutableHandleValue' {aka 'JS::MutableHandle<JS::Value>'} changed in GCC 7.1| 607 | if (!XDRScriptConst(xdr, &val)) return false;| | &n
Hi,I tried to follow setup for secure boot as detailed here: https://wiki.st.com/stm32mpu/wiki/STM32MP15_secure_bootI'm working with Linux host PC running Ubuntu 18.04The 1st thing was to try generating keys.For this I tried to use "STM32MP_KeyGen_CLI" previously installed with STM32CubeProgrammer. (Note: STM32_Programmer_CLI installed is v2.1.0 )A first note here, https://wiki.st.com/stm32mpu/wiki/KeyGen_tool indicates keygen tool is named "STM32AP_KeyGen_CLI.sh" and is a script whereas it is "STM32MP_KeyGen_CLI" available in STM32CubeProgrammer bin folder and it is a Linux executable.Simply running STM32MP_KeyGen_CLI with --version gives the following ouput:~~~~$ ./STM32MP_KeyGen_CLI -v ------------------------------------------------------------------- STM32MP Key Generator v1.0.0 &nbs
..
Hi supporter,I use STM32Cube v1.10 on macos(Mojave) and linux(debian 9). The debug dialog has load mode option to choose production or engineering mode in stm32cubeide on linux system. But that dialog hasn't the load mode on macos.Below picture is debug dialog on macos.Does any thing I am missing to setup for stm32cubeide?
I want to use a SIP with ST32MP153 and it uses PC13 to PMIC wakeup, PC1 is used for MDC so I'm left with only PI8 so can't use active tamper.I sit possible to use Ethernet without MDC so I can use PC1 for active tamper with PI8?
I use STM32MP151CAA3 Cortex-M4 on my custom board.I have created Linux image running on my custom board.In the case that the SD card is inserted for the first time, Linux image is running successfully.However, in the case that I turn power off and power on with the SD card inserted, boot fails despite using the same SD card.Is there a difference when power on and when the SD card is inserted for the first time, such as the files to read?What should I investigate to solve this problem?Best Regards,H. Masuda
Is it possible to generate mingw32 sdk in Yocto
Hi all,I'm runnig the example 'OpenAMP_TTY_echo_wakeup' on a STM32MP157C-DK2. My question is regarding the Option 5) in the readme.Here we put the system into standby and wake the CA7 up then. Afterwards there is no FW running no the CM4.My Question: Is it also possible to exit the standby mode from the CM4 while the CA7 is still in standby? I mean in a way that the CM4 FW is still there and running?ThanksKlaas
I was hoping to find any examples/pre-built applications which can be run off the SD card to simply turn on an LED or so, for the STM32MP157A dev kit. Can anyone point me to any resources like this?
Hello Guys.In the current state, when connecting the LAN cable and attempting to connect to the board's IP by SSH, it has been confirmed that the connection is immediately established.It is thought that anyone can access the board in this state.So I need to change root passwordHowever, there are no guidelines for how to do this on the WiKi Page.How can I change root password of STM32MP1?
Hi all, On behalf of ST and all ST employees involved in this community I would like to wish - to all members here - the best for coming year 2021 ! I take this opportunity to thanks you all for your participation by posting or answering questions.Special thanks @Led @Lukas Brückner , @KnarfB , who help us make the STM32 MPUs one of the most successful topics in the ST Community.Please note that activity from ST will be lower than usual in our community for the next two weeks, as we all take some time off with our families after what has been a challenging year for us all with Covid having had an impact on our professional and personal lives.We wish you all a very happy holiday season and hope to see you all well-rested and full of energy for another great year in the ST Community ! Take care ! Olivier
Hi All,I have performed Secure Boot over Avenger96 Board replaced with STM32MP157CAC earlier,but now I'm facing error provided below.NOTICE: CPU: STM32MP157CAC Rev.? NOTICE: Model: Arrow Electronics STM32MP157A Avenger96 board NOTICE: Boot authentication Failed INFO: Reset reason (0x15): INFO: Power-on Reset (rst_por) INFO: Using SDMMC INFO: Instance 1 INFO: Boot used partition fsbl1 NOTICE: BL2: v2.0-r1.5(debug): NOTICE: BL2: Built : 13:13:37, Oct 2 2018 INFO: BL2: Doing platform setup INFO: PMIC version = 0x10 INFO: RAM: DDR3-1066/888 bin G 2x4Gb 533MHz v1.45 INFO: Memory size = 0x40000000 (1024 MB) INFO: BL2 runs SP_MIN setup INFO: BL2: Loading image id 4 INFO: Loading image id=4 at address 0x2fff0000 INFO: Image id=4 loaded: 0x2fff0000 - 0x30000000 INFO: BL2: Loading image id 5 INFO: Loading image id=5 at address 0xc0100000 INFO: STM32 Image size : 833640 INFO: Check signature on Non-Full-Secured platform ERROR: Authentication Failed WARNING: Failed to load image id=5 (-22) ERROR:
I understand that when I create my own machine, I can create device tree by following 2 method. Method 1) Building device trees by Developer Package (separately from bitbake) This method is described in following Wiki page. https://wiki.st.com/stm32mpu/wiki/How_to_compile_the_device_tree_with_the_Developer_Package Method 2) Building device trees by Distribution Package (included in bitbake) This method is described in following Wiki page. https://wiki.st.com/stm32mpu/wiki/How_to_create_your_own_machineIn both of above two methods, I could create the device tree (.dtb file) successfully.Now, I want to modify the "arch/arm/boot/dts/stm32mp157c.dtsi"In Method1, I could create updated device tree (.dtb file) by modifying "arch/arm/boot/dts/stm32mp157c.dtsi".However, In Method2, I could not create updated device tree (.dtb file) even though I modified "arch/arm/boot/dts/stm32mp157c.dtsi".(The build was successful, but the changes were not reflected.)Why does th
Hello Guys.I am using STM32MP157C-DK2 and st-image-core.Looking at the st-image-weston and wiki Page, I am configuring the hotspot mode to be available in my image.First, while looking at the wiki page and st-image-weston, I composed a script that uses the following command.(/usr/sbin/hostapd /etc/hostapd.conf -P /run/hostapd.pid -B)I created systemd because there is no response from the installed hostapd systemd.Next, I made systemd execute my script.However, the hotspot mode did not work.If I run the script directly from the terminal or crontab, hotspot mode operates normally as shown below.---------------------------------------------------------------Configuration file: /etc/hostapd.confwlan0: Could not connect to kernel driverUsing interface wlan0 with hwaddr 10:98:c3:63:a7:e3 and ssid "HSGT_SsgRk4hU"random: Only 19/20 bytes of strong random data availablerandom: Not enough entropy pool available for secure operationsWPA: Not enough entropy in random pool for secure operations
Hi.Can I use all peripheral in MP1 by only M4 code? I couldn't find MP1 HAL Library for USB, Ethernet, SD Memory and etc. For example, How can I use it if I want to use USB data write&read by M4 code?Thank you.Best regards.
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.