Developer support experience survey - We value your feedback
Join discussions in the Product Forums. Ask questions, learn from your peers, and share insights on ST solutions to accelerate your design journey.
Most recent activity
Hello there,We are working on a project that includes a STM32WB5MMG in a custom board and we would like to update via OTA our firmware application, as well as the BLE stack and FUS. Our project is based on the P-NUCLEO-WB55.Nucleo 2 Images. This project defines two regions (slots) in the flash, one used to store the firmware to run and the other as a storage area for the new firmware image sent via OTA. The question here would be if we update either the BLE stack or FUS if they also have a separate storage area beyond the SFSA address (the start address where the current stack and FUS are stored) or if a flash region between the end of slot 2 and the SFSA address must be reserved as temporary storage for the new stack/FUS image.Thanks in advance
Hi all,I’m working on a custom bootloader for STM32F7, which performs OTA updates using TCP/IP (Ethernet and/or WINC3400 WiFi). The bootloader writes the new firmware to flash, then attempts to jump to the application using the standard sequence: cleaning and disabling caches, setting VTOR, setting MSP, and jumping to the application's reset handler.The Problem:If the application binary is small, everything works: the bootloader jumps and the app runs as expected.If the application binary is larger (for example, over X KB/MB), the bootloader appears to complete the OTA and jump, but the application does not start (no output, no main runs, or immediate lockup/hard fault).What I Have Tried:Verified that the full image is written to flash (checked total bytes and flash content matches binary).Cleaned and disabled D/I caches before jump.Set VTOR and MSP to the application address.Disabled all interrupts, deinitialized all peripherals, shut down the WINC3400, and reset all related GPIOs/SPI
I am currently trying to follow the Designer Generated Code tutorial with `button1Clicked`. However, whenever I try to Run Target it says the function is not declared in the scope. I declared it in the MyView class as a public virtual function. Not sure if I am just missing something simple. If you think it is more complicated and I should add all the details for the situation, feel free to let me know. I am just thinking it is something very simple. Edit:Thank you for your reply Alexandre, I can definitely provide more information: The board I am using is the STM32F469 Discovery Kit. I am trying to implement a function called `user_button_clicked()` that is called when `button1` is clicked. Necessary code is below. Include file startup_screenView.hpp:#ifndef STARTUP_SCREENVIEW_HPP #define STARTUP_SCREENVIEW_HPP #include <gui_generated/startup_screen_screen/startup_screenViewBase.hpp> #include <gui/startup_screen_screen/startup_screenPresenter.hpp> class start
Hello ST Team,I'm implementing robust Ethernet on STM32H743ZI. Need technical guidance on:PART 1: BANDWIDTH VERIFICATIONQuestion 1.1: How to verify link speed?How to check link speed (100 Mbps)?Question 1.2: Bandwidth testing methodology?Create a TCP socket, send a large file to the PC?Expected bandwidth on STM32H743?Network overhead (TCP/IP stack)?Optimal packet size for testing? Also, how can I debug this to check if I am using full bandwidth and if my link is down during transmission?
Hi,I can't find any information about this diode. What is the actual name of this diode on ST?DEGP025
Post edited by ST moderator to be inline with the community rules for the code sharing. In next time please use </> button to paste your code and a linker script content. Please read this post: How to insert source code. Hello, I am working on STM32H753ZI (NUCLEO-H753ZI board) with NetX Duo.I am trying to place all Ethernet DMA descriptors, RX/TX buffers, and NetX packet pool in D2 SRAM, but the system always ends up in a Hard Fault right after starting the Ethernet interface. I have already followed the ST AN4838 guidelines and forum suggestions, but the fault still occurs. 1. My linker script sections .NetXPoolSection (NOLOAD) : { . = ALIGN(32); KEEP(*(.NetXPoolSection)) } >RAM_D2 .RxDescripSection (NOLOAD) : { . = ALIGN(32); KEEP(*(.RxDescripSection)) } >RAM_D2 .TxDescripSection (NOLOAD) : { . = ALIGN(32); KEEP(*(.TxDescripSection)) } >RAM_D2 .RxBuffSection (NOLOAD) : { . = ALIGN(4); KEEP(*(.RxBuffSection)) } >RAM_D2 2. My variable placement ETH_DMADescType
When writing code, it is common to encounter the automatic inclusion of some unnecessary #include statements. For example, when I input "NULL" and press the Enter key, it will automatically add " #include <cstddef> ".
I am working on a NUCLEO-H753ZI board and want to set up Ethernet communication using LwIP in STM32CubeIDE. I am looking for step-by-step guidance from the IOC file configuration to the generated code, including: Pinout configuration for RMII (TX/RX, MDC/MDIO, REF_CLK) LwIP middleware settings (heap size, pbuf pool, MEM_SIZE, etc.) Memory layout for D2 SRAM / AXI SRAM for LwIP heap, DMA descriptors, RX/TX buffers MPU region configuration for Ethernet and LwIP memory Generating code and linker settings Any tips to ensure that ping from PC works reliably Could someone provide a complete, detailed guide or example project showing how to configure CubeIDE and LwIP for NUCLEO-H753ZI?
I am using stellar studio 8.0.0.in Debug perspective, I can only find the Expression view, but cannot find the Live Expression view in "Window--show view". With Expression view, the monitored variable will be refreshed only when pause the debug session,if it has Live Expression view, I can watch the variable value without need to pause.So I want to know if stellar studio have made the Live Expression function or similar functions now?
I have exported X509 certificate from STM32H573I-DK board, and checked how it is organised.The certificate was issued by "ST CA 01 for STM32 Initial Attestation".I would like to verify whether it is truely signed by ST's upper-level certificate.Where can I find the upper-level certificate?
My target is a 144 pin version of the STM32H5.I would like to implement both a JTAG and a FMC interface.More specifically, a 24-bit muxed-PSRAM.And I would like to output the Byte enable signals.However on this package size, there is only one possible pin for NBL1, PA15.Which is also the DEBUG_JDI pin.Is there any way to route the value of NBL1 to another GPIO pin?
Hi ST team,I am using STM32U5G9 in my project. It would need simple firmware update feature and the image would be received by UART from a zigbee module.I have read UM2851 and AN5447 application notes and check the SBSFU example in STM32CubeU5 package (v1.8.0) in github. I believe this is what my project needs:1. MCUBOOT (Secure area)2. NS Application (non-secure primary slot)3. Nonsecure image secondary slot (for firmware update)4. Authentication and integrity check5. SWAP mode with scratch region I want to maximize the flash usage, so it doesn't need:1. Secure application2. Secure data3. Non-secure data4. Loader5. Encryption The bootloader would verify the signature in primary slot and execute the NS application. NS application would write the new image into Nonsecure image secondary slot when firmware update is needed.I would like to ask:1. How to modify the SBSFU example to meet above requirement? How should I modify below config file?- mcubo
Hello, I’m working with an STM32F446 and have configured GPIOB pin 12 as an EXTI input. After initialization and before entering the main while loop, I call a function that blocks program execution(what I mean by blocking : I have a test that stands in a blocking while until I receive the first bytes of USART reception) . In this scenario, changing the pin state does not trigger the EXTI interrupt. However, if I comment out this blocking function, the EXTI works as expected. I also observe the same behavior if I insert a while(1) loop before the main loop.Has anyone experienced similar behavior? If yes, do you know what the solution might be? Thank you in advance.Aymen
Hello,I am designing a Matter/Zigbee Gateway using an STM32U5 as the host. My planned architecture includes:ST67W: Handling Wi-Fi and Thread (Matter over Wi-Fi/Thread).STM32WBA (or similar): Handling Zigbee (Matter Bridge logic).I have two specific questions regarding the ST67W's coexistence capabilities:Internal Coexistence: Does the ST67W natively support concurrent operation of Wi-Fi and Thread simultaneously without external hardware arbitration?External PTA Support: Does the ST67W expose 3-wire PTA pins (Request/Priority/Grant) to manage coexistence with an external 802.15.4 radio (e.g., the STM32WBA running Zigbee)?Basically, I need to confirm if it supports a "Hybrid Coexistence" setup where it manages internal Wi-Fi/Thread traffic while acting as a PTA Arbiter for an external Zigbee MCU.Thanks in advance.
Dear ST Team,我用usb转ttl单独对4g模块发at,回复消息是正常的,单独模拟给单片机发数据,回应的数据也没有丢字符,就是4g模块跟单片机之间通信的时候存在问题When I use a USB-to-TTL adapter to send AT commands to the 4G module alone, the responses are normal. When I simulate sending data to the microcontroller alone, the data is also received correctly without any missing characters. The problem only occurs in the communication between the 4G module and the microcontroller. STM32L051C8T6Watcher List:<wang_hardware@wisetelcom.com>
STM32F429ZI Ethernet @180MHzRM0090 33.8.1 page 1197, ETH_MACMIIAR CR: max value is 100 150-168MHz HCLK/102Is this a print error (other micros in the family can only reach 168MHz) or the controller is not specified to work at 180MHz ?Thx
Hello ST Community,I'm currently developing a project on STM32H743 using TouchGFX 4.25.0 (RGB LTDC interface, framebuffer in external 16MB SDRAM) and LWIP + FreeRTOS (TCP client mode over Ethernet RMII). Everything works fine when TouchGFX is not included. However, after adding TouchGFX to the project, I'm facing strange Ethernet instability.:magnifying_glass_tilted_left: Observations:Without TouchGFX:TCP Client connects to the server reliably.No reconnection or data loss observed.Using recv() with flags = 0 works flawlessly for long durations.With TouchGFX + LTDC + DMA2D:Frequent TCP reconnections start occurring.Happens especially when using lwip_select() + recv() mechanism.If I skip lwip_select() and use direct recv() with flags = 0, reconnections stop, but after some time communication lags or stalls.:light_bulb: Hypothesis:I suspect the problem lies in AXI bus contention between:LTDC/DMA2D accessing external SDRAM (for framebuffer)Ethernet DMA accessing DTCM/SRAM or other AXI slav
hello, I need to use both touchgfx and usb msc host with stm32h743 in my project. they work fine separately , but when I add usb to my touchgfx project it does not work(all my usb implementations are based on controllerstech video). Do I need to do any different thing when they are used together? thank you for your help.
Hi All,I am currently planning a custom motor control design based on the STM32G431CUB6 microcontroller for a 3-phase inverter application.Before finalizing my PCB design, I would like to clearly understand the firmware flashing and runtime communication possibilities, especially related to Motor Pilot and real-time monitoring.I kindly request your clarification on the following points:Is the use of ST-LINK mandatory for flashing the firmware into the STM32G431CUB6 during development?Does Motor Pilot software communicate with the MCU only through ST-LINK, or can it also operate via UART?For real-time monitoring of parameters such as RPM, DC bus voltage, current, and motor status using Motor Pilot, is ST-LINK compulsory? Your guidance will help me finalize my hardware design and production programming strategy correctly.
I am working on custom evk of STM32WB05KZ sdk(stm32cubewb0-v1-3-0) on STM32CubeIDE_v_1.19.0 and STM32CubeProgrammer and trying to redirect logs on UART1 through __io_putchar/_write. It is working with Examples(GPIO_EXT, I2C, ADC, etc) but while running BLE(Any of it) section from Applications it is not giving any log through UART/Virtual COM Port. Below is the refrenced code of my main.c: /* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * Copyright (c) 2024 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ***************************************************************************
Greetings,I'm working on a project where S2-LP scans multiple channels and receives a packet when a valid preamble is detected. For dwell time timing I'm using the RX timer. The timer is set to 2 milliseconds and is stopped whenever a valid preamble over certain signal level is detected to allow packet reception. Whenever the timer expires or a valid packet is received the next channel is selected (cycles from 1 to 10, then the cycle repeats) if(chSwitch) { chSwitch = false; newChan = S2LPRadioGetChannel() + 1; if(newChan > 10) newChan = 1; subGHzSetChannel(newChan); }chSwitch flag is set in interrupt handler whenever the RX timer expires, or a valid packet is received.Channel switching function:void subGHzSetChannel(uint8_t chNum) { S2LPCmdStrobeCommand(CMD_SABORT); S2LPRadioSetChannel(chNum); S2LPCmdStrobeCommand(CMD_RX); }Radio settings:Base frequency: 915.5 MHzData rate: 10 kb/sFrequency deviation: 20 kHzChannel filter: 65 kHzChannel spacing: 250 kHzModulation:
How to drive HSD and LSD pin using SPI command in EVAL BOARD L9301 and we need technical details what frame we have to send form our ECU to actuate the LSD and HSD drive and even more technical details related to this we are waiting for your immediate response
Hello there, First time posting here!Please let me know if I am posting things inappropriately. We are looking for a MCU and its corresponding evaluation board. Our input signal that coming into the board/MCU is 800 MHz.And our application processing speed is also at least 800 MHz. We notice that STM32N6/Cortex-M55 seems like a choice as its processing speed can go up to 800 MHz.It also has a new ST Neural-ART accelerator, seems like a good choice for our neural network process.However, we did not find a evaluation board with STM32N6/Cortex-M55 that has input PIN can digest up to 800 MHz. Anyone has any suggestions?Or is there any other combinations you should consider? Thank you guys so much!
Hello everybody! I guess that apart from the Cube IDE, the only viable option for Mac users is Crossworks, so I would like to make an LED-flash project in Crossworks just to see what this IDE can offer. The problem is that I could neither find any prepared example project nor any guide on how to make one. Please, could anybody guide me through the process? Thank you guys!
Hi,My problem is, that i want to trigger an SPI reading event, on an master timer repetition event. I registered the HAL_HRTIM_RepetitionEventCallback and start the SPI, within this function. The first problem is, that there is always a delay, that seems way too big, to start the peripheral at a CPU clock 0f 170MHZ. On the other side, that delay is not consistent, making it even harder to work with. This is a waveform i get. In pink is the clk line of the SPI, you can see, that for whatever reason sometimes 4 transmissions take place, eventhough only one dataframe was set up. When the light blue line goes high, the SPI should be triggered by the according ISR. I´m not sure, what im doing wrong, but i even set the HRTIM interrupts to the highest priority to service earlier. Here is my SPI setup. As i only want to recieve data, im using master recieve. I also tried full duplex and then i can get rid of the multiple data frames sent, but i thought this would then include du
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.