Get ready for the STM32 Summit 2026 | Online, November 3
Ask questions and find answers on STM32 microprocessors, including hardware, power, DRAM, flashing, interfacing, device tree, and peripherals.
Most recent activity
Hello,I am completely newby on embedded linux stuffs.Can any one tell me how to drive any available LED on the STM32MP157C-Dk2 board by using the linux shell commands.Unfortunatelly i did not find the information on the wiki stm32mcu.Thank you by advance.
Hi all.I want to prevent the contents of "RETRAM" from being erased when I run the firmware with m4 rproc on "OpenSTLinux"."RETRAM" is powered by the battery through the VBAT pin to maintain data.To this end, TF-A was also modified to set and maintain the value of "PWR_CR2_RREN" in the "PWR_CR2" registry.In the "Engineering Mode" where M4 Firmware can be run on its own, "RETRAM" data is well maintained. However, when you boot into "OpenSTLinux" and load the firmware into M4 rproc and debug it, the contents of "RETRAM" are initialized.The following is the contents of the "RETRAM" related ld file.MEMORY{ m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x00000298 m_retram (RWX) : ORIGIN = 0x00000400, LENGTH = 0x0000FC00 m_text (RX) : ORIGIN = 0x10000000, LENGTH = 0x00030000 m_data (RW) : ORIGIN = 0x10030000, LENGTH = 0x00010000 m_ipc_shm (RW) : ORIGIN = 0x10040000, LENGTH = 0x00008000}SECTIONS{
I have a pair of DK1 boards I just received that I wanted to get working with wifi direct, but neither even can show a wlan0 interface. In the past I have used a DK2 with buildroot and got the wlan0, and a coworker used stock yocto build on the DK2 and said wlan0 was there too. Is there some problem with the DK1?#first check:root@stm32mp1:~# ifconfig -aeth0 Link encap:Ethernet HWaddr 00:80:E1:42:70:CC UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) &nbs
Hi:Anyone familiar with this issue?When I plug in the network cable, the following information will be printed later:[ 373.607360] ------------[ cut here ]------------[ 373.610551] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:447 dev_watchdog+0x300/0x304[ 373.618870] NETDEV WATCHDOG: eth0 (stm32-dwmac): transmit queue 0 timed out[ 373.625765] Modules linked in: aes_arm_bs crypto_simd cryptd algif_skcipher brcmfmac cfg80211 galcore(OE) hci_uart brcmutil btbcm stm32_cec spi_stm32 sch_fq_codel ipv6 nf_defrag_ipv6[ 373.642115] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G OE 5.4.31 #1[ 373.649368] Hardware name: STM32 (Device Tree Support)[ 373.654536] [<c01124dc>] (unwind_backtrace) from [<c010d784>] (show_stack+0x10/0x14)[ 373.662275] [<c010d784>] (show_stack) from [<c0bead54>] (dump_stack+0xb0/0xc4)[ 373.669510] [<c0bead54>] (dump
The kernel cannot be started in a loop, as long as I use TF-A+UBOOT to start the kernel
Hi is there a list, or sorts, with the examples that should work for the DK1 dev board from the DK2 examples?
I use STM32MP151CAA3 Cortex-M4 on my custom board.I got fault report from uVision debugger when __main called in my startup assembler code.https://www.keil.com/support/man/docs/uv4/uv4_cp_m347_faults.htmMemory Manage Faults DACCVIOL (Data access violation flag) are checked.SCB->MMFAR ( Mem Manage Fault Address Register located at memory address 0xE000ED34) shows 0x10060000.The address is region that Cortex-M4 cannot access, so I'm not accessing that region in my program.Why above fault report occurs?How can I investigate the cause of the Fault Reports?Best Regards.H. Masuda
Hi All,with serial ttySTM2 9600 data exchange makes the cpu stall:modified usart.c driver code to support schedule worker threadi am getting a cpu0 and cpu 1 stall attached is the loghas any faced this rcp preempt issue
..
Hello,I used to develop bare metal applications on STM32MP157 discovery kit, but I can only debug Cortex-M4 with ST-LINK. I would like to debug both Cortex-A7 and Cortex-M4, do I need to get an evaluation board with a JTAG interface? I want to develop bare applications for Cortex-A7 cores, not running Linux on them.I ran into this board http://www.myirtech.com/list.asp?id=624 when searching for a board with a JTAG interface. What do you think of those?Kind regards,
I tried :tail -F /sys/kernel/debug/remoteproc/remoteproc0/trace0 >> myLog.logbut this command not printing new log messages that appear in the trace0 file. how can I print every line of log to some external file that not disappear when the remoteproc dies.tnx.
I am working with Buildroot, to flash an image on my STM32MP157C-DK2 I wanted to have Wi-Fi working it but I got this error:Code:Copy to clipboardSuccessfully initialized wpa_supplicantnl80211: 'nl80211' generic netlink not foundFailed to initialize driver 'nl80211'wlan0: Unsupported driver 'nl80211'FAILI configure the interfaces and wpa_supplicant.conf files correctly normally. I don’t know wthat that means but my configuration in the menuconfig and linux-menuconfig is right (I think). Does it maybe have something to do with my target machine (the STM in this case) ?Every Kind of Help is appreciated since I am a newby in Embedded Linuxp.s I don’t know why but it seems like the Wifi Bluetooth Card is Murata-LBEE5KL1DX-883. Maybe my Kernel configuration does not support itI linked both Kernel and System Configuration
These should be escape characters and should not be displayed
Hey guys.... Hope you all are doing well I've own the STM32 mp1 dk2 boardAt my host (Ubuntu 18.4 LTS), i have successful installed OpenSTLinux and SDK I'm able to Cross Compile the "hello world" code at user space and it's working well Now, for one of my IoT application, i need to integrate the AWS IoT c SDKI need to Cross-compile the aws IoT C sdk for the MP1 but, i haven't found any resources regrading the same Can anyone help me here ?All suggestions and Comments Welcome =)Regards,Mahendra Sondagar
hi getting following kernel on added code on irq with worker queuecancel_delayed_work(&stm32_port->port.test_dwq); queue_delayed_work(stm32_port->port.test_wq, &stm32_port->port.test_dwq, msecs_to_jiffies(1823));// 3.5T for 9600uname -aLinux mp1som 4.19.49 #1 SMP PREEMPT Sun Sep 6 11:17:41 UTC 2020 armv7l armv7l armv7l GNU/Linux
I am using the STM32MP15-DK2 dev board and with a modified device tree to enable some peripherals. I would like to use /dev/watchdog to reset if ever my application hangs. But whenever I try to open the device I get Error opening watchdog device: Device or resource busyI have the watchdog functions commented out in /etc/systemd/system.conf#RuntimeWatchdogSec=0 #RebootWatchdogSec=10min #ShutdownWatchdogSec=10min #KExecWatchdogSec=0 #WatchdogDevice=and all the info i get from fuser is root@stm32mp1:/etc/systemd# fuser /dev/watchdog 1I can't figure out what is causing the error. Does has anyone dealt with this problem before?Thanks
Looking for a light linux distro and processor (MPU) wich is capable of running one of the text to speech engines.
I have troubles in setting the polarity of the SPI chip select i/o for an external chip.I noticed In the reference manual that it should be changeable with SPI configuration register 2 (SSIOP bit 28) :Bit 28 SSIOP: SS input/output polarity0: low level is active for SS signal1: high level is active for SS signalHowever the SPI presentation STM32MP1 (1.0) says: "The Slave Select signal can operate as an input or as an output depending on the SSIOP control bit. " Which one is right?
I would like to provide power from PI connector. How to avoid error blocking message at the start of the boot that report:************************************************ ERROR USB TYPE-C connection in unattached mode ** Check that USB TYPE-C cable is correctly plugged ** Current too low, use a 3A power supply! ************************************************
Dear all,We are designing a board using STM32MP1 and STPMIC1 mostly as recommended in datasheet and application note. As we have a wide VIN range we added a discrete DC/DC with a 5V output that supply STPMIC1 VIN.We would like to use STMPIC1 PWR_USB_SW as a power switch for USB. We understand that as we have a fixed 5V VIN we don't need BOOST features and we can use the BOOST bybass mode from VIN.In some ST document we can read: "If PWR_USB_SW is used, the BOOST converter must be supplied, since the BOOST output is used as PWR_USB_SW input" At the end it's not clear, do we really need to power VLXBST and add an inductor even if we only need the the bypass mode and no boost function ?Thanks in advance for any clarification
Dear All,We are designing a custom board based on STM32MP1. In some ST documents we can read "if no external battery is used, it is mandatory to connect this pin [VBAT] to VDD." If I check the developpement board schematic VBAT is simply connected to a connector. Also according to the STM32MP157 datasheet (figure 35) the VBAT input is connected to a switch who connect either VBAT or VDD to VSW domain. So the connection to VDD seems to be managed internally. We are using a removable primary battery as power source for VBAT. Do we have to provide a mechanisme to connect VBAT to VDD if the battery is removed ?Many thanks in advance for any clarification
The handshake sequence looked a bit odd too. [STMdemo1] (08:07:40): {"state": {"reported": {"Device_Type": "STEVAL-IPD005V1", "Features": [], "Firmware": ""}}}Update request with token "40d4c70c-ec71-4946-9f7b-b6ad2719d965" acceptedI have also tried a manual boot using /home/root/start_pmp.sh where it gets one step further with "Demo running..." then stops.Any help appreciated. Phil
Hi guys,I'm designing a custom board with STM32MP157C using the MB1263 board as reference.The MB1263 reference design shows the VDD_OTP pin tied to VDD, which is 3V3 for that particular board. My custom board uses VDD = 1V8 instead of 3V3. Should I tie the VDD_OTP to 3V3 or 1V8? I could not find any reference on VDD_OTP recommended voltage.Thank you in advance.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.