Get ready for the STM32 Summit 2026 | Online, November 3
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. I have a custom stm32mp135f board with emmc1(SDMMC2) and about to launch linux.(Minimized version of 135f-dk, no-sdcard, no-ethernet)I flashed the target with the CubeProgrammer normally.When the kernel loads userfs there says 'root '/dev/disk/by-partuuid/491f6117-415d-4f53-88c9-6e0de54deac6' doesn't exist or does not contain a /dev." and stopped.How do I solve this problem?This is full log capture.Starting kernel ... I/TC: Reserved shared memory is disabled I/TC: Dynamic shared memory is enabled I/TC: Normal World virtualization support is disabled I/TC: Asynchronous notifications are enabled [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 6.6.48-gd96ac4cc57f6 (oe-user@oe-host) (arm-ostl-linux-gnueabi-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240716) #1 PREEMPT Fri Jun 20 08:08:22 UTC 2025 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.
I would like to connect a 12-bit ADC operating at 10MSps to the PSSI interface of the STM32N657 device. There is some confusion as to the nature of the clock source. The reference manual indicates that this may be either an input or an output. If configured as an output, what is the source of the clock? Examples suggest that a PWM timer needs to be used. Here is an illustration of what I would like to do:Do I need to use the PWM timer as the clock source?
Hello everybody.I try to convert an STM32CubeIDE project into a CMake project to be used on VSCode using the procedure included in "STM32CubeIDE for Visual Studio Code" extension.The procedure aborts with this error message: [Error] [ide-project-convert] Bad escaped character in JSON at position 15583 (line 322 column 55). Line 322 of "stm32cubeide-export.json" file, created by the procedure itself, is this one:, "option.includepaths": "-I\"C:\Repo_mgo\STM32Workspace\NGDrive\Appl\dDrive_Fwk2\application\Display\TouchGFX\generated\texts\include\", -I\"C:\Repo_mgo\STM32Workspace\NGDrive\Appl\dDrive_Fwk2\application\Display\TouchGFX\", -I\"C:\Repo_mgo\STM32Workspace\NGDrive\Appl\dDrive_Fwk2\application\Display\TouchGFX\gui\include\", -I\"C:\Repo_mgo\STM32Workspace\NGDrive\Appl\dDrive_Fwk2\application\Display\TouchGFX\generated\gui_generated\include\", -I\"C:\Repo_mgo\STM32Workspace\NGDrive\Appl\dDrive_Fwk2\application\Display\TouchGFX\generated\fonts\include\", -I\"C:\Repo
The API documentation for the "AT+CIPSTART" command on the ST67W611M1 chip seems to be incomplete. It is missing the parameter lists for UDP and SSL types. https://wiki.st.com/stm32mcu/wiki/Connectivity:ST67W611M_AT_Command#AT-2BCIPSTART The rest of the API is documented on the ESP-AT page: https://docs.espressif.com/projects/esp-at/en/latest/esp32/AT_Command_Set/TCP-IP_AT_Commands.html#at-cipstart-establish-tcp-connection-udp-transmission-or-ssl-connection
Hello,I am using VSCode on Windows with the STM32CubeIDE for VSCode extension.Before installing the extension, I had already installed and configured these tools separately on my system:CMakeArm GNU Toolchain (arm-none-eabi-gcc, arm-none-eabi-gdb)clangdAfter installing the STM32CubeIDE for VSCode extension, build works, but debug fails to start. I get the following popup error:bound doStepStartGdbClientDebug Failed: Failed to get gdb version.I would like to ask whether this issue may be related to how the extension detects GDB, conflicts with environment variables, or path priority when multiple toolchains are installed.Observed behaviorI already had a standalone ARM toolchain installed before installing the STM32CubeIDE for VSCode extension.After installing the extension, debug no longer starts correctly.The popup error is:bound doStepStartGdbClientDebug Failed: Failed to get gdb version.My current suspicion is that the extension is either:not finding the correct arm-none-eabi-gdb, or
(I've opened an issue on GitHub on this matter already, but I was asked to post it here again...)Hey there,I'm currently developing an audio application based on the STM32N657 MCU. I have already implemented a working version of this application on an STM32U5A5 MCU, but now I need to port it to the N6.The application receives a PDM audio stream from a MEMS microphone via SAI. The audio data is then converted to PCM using the PDM2PCM library. On the STM32U5A5 MCU, the application uses the CM33 variant of this library (libPDMFilter_CM33_GCC_wc32.a), but I cannot find a variant of this library for the CM55 of the STM32N6 in any of the STM32Cube firmware packages.I would be very grateful for any advice or help on this matter!Thanks in advance and best regards,Jens
Hi everyone,I’m working on the STM32N6570-DK and trying to run a NetXDuo Web HTTP server as part of a secure application executing in XIP (external flash).I started from the available examples (which run from internal RAM / FSBL), but after moving the application to XIP, I’m facing instability issues (intermittent crashing issues, no ping response, etc.).From initial debugging, this seems related to:Execution latency from XIPPossible cache / MPU configuration or memory placement issuesMy questions:Is there any official or reference example for:STM32N6570-DKNetXDuo (HTTP Web server)Running in XIP mode (external flash)Within a secure application contextAre there recommended guidelines for:Placing NetXDuo and ETH driver code (RAM vs XIP)?MPU/cache configuration when using XIP with networking?Memory regions for packet pools and DMA buffers?Has anyone successfully run NetX Duo HTTP server reliably in XIP on STM32N6?
Title: STM32N6 (NUCLEO-N657X0-Q) unable to flash on M3 Mac - libusb timeout errorEnvironment:- Board: NUCLEO-N657X0-Q (STM32N657X0H3Q, STLINK-V3EC)- Host: MacBook Air M3, Apple Silicon- STM32CubeProgrammer: v2.22.0- STM32CubeIDE: v2.1.1- ST-Link Firmware: V3J17M10- libusb: 1.0.29 (Homebrew)Problem:Unable to flash the board from M3 Mac. STM32CubeProgrammer and STM32CubeIDE both fail to connect consistently.Error from STM32CubeProgrammer CLI:ST-LINK FW : V3J17M10Board : NUCLEO-N657X0-QVoltage : 3.28Vlibusb: warning [darwin_transfer_status] transfer error: timed outError: Unable to get core IDError: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug AuthenticationError from STM32CubeI
Hello everyone,I want to develop an IoT application based on STM32L496 and I am working with the BG96 modem that is embedded on P-L496-CELL02 board. The exchange of AT commands with the modem is succesfull, but, even though i insert a plastic microsim (I have actually tried two of them), i keep getting an error message "Sim Not inserted". I have enabled the simselect0 (PC2) and simselect1 (PI3) pins in CubeMX, as it is indicated by the manual (set to 0 and 1, respectively) and verify their value with my code. The board is powered with an external supply source, through Arduino Vin. The BG96 firmware version is BG96MAR02A08M1G. I have inspected soldering, short-circuits between the sim socket and contacts and everything seems to be alright. I cannot understand what could possibly be the problem, does anyone have a clue? I would be grateful.Here is my code. All AT commands return OK and seem to work. int main(void) { /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ /* MCU C
Good day, I am currently working on the development of an IoT sensor node product based around the STM32WLE5CC MCU. The product needs to be able to wake up from sleep on reception of a LoRa RF message. I have attempted to accomplish this by transmitting a long preamble and having the node receive the message by setting the radio in RxDutyCycle mode prior to sleeping. The timing of my duty cycle is such that I am guaranteed an Rx window within the preamble duration. This wakeup functionality works, however, the RSSI of the received wakeup signal is shown to be >20dBm lower than if I had just used continuous reception. This is a problem as we are now encountering suspected range issues where units can detect the preamble but fail to fully receive the associated payload. I have gone through multiple test setups with different spreading factors and the results are consistent across the tests: Test 1.1 (SF = 7, BW = 125 kHz, Preamble Len = 500, Rx = Full Receive) Wake RSSI = -
Hello ST Community,I am currently working on a project using the STM32WB05KNV6TR microcontroller. I am using STM32CubeIDE Version 2.0.0, and I have ensured that all MCU packages and embedded software packs are up to date.Specifically, as shown in the attached screenshot, I have the STM32Cube MCU Package for STM32WB0 Series (v1.4.1) installed. However, when I try to create a new project and use the Target Selector (MCU/MPU Selector), the STM32WB05 series—and specifically the STM32WB05KNV6TR—does not appear in the list.I urgently need to access the Pinout & Configuration view to finalize my hardware design and verify the pin assignments.Steps I have already taken:Updated STM32CubeIDE to the latest available version.Refreshed and installed the latest WB0 series patches via the Embedded Software Packages Manager.Restarted the IDE and checked the board/MCU selector filters.Questions:Is there a specific patch or an external ".pdsc" file required to enable STM32WB05 support in CubeIDE 2.0
Hi Everyone, I am working on a NUCLEO-H753ZI board and want to set up Ethernet RMII 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. LwIP middleware settings. MPU region configuration for Ethernet and LwIP memory Generating code and linker settings Any tips to ensure that ping from PC works reliably Could provide a complete, detailed guide. how to configure CubeIDE and LwIP for NUCLEO-H753ZI. Thanks in advance.
Hello Community, I am struggling with a custom board design based on the STM32H743ZIT6 (LQFP144, non-SMPS version). I’ve replaced the MCU already, but the symptoms remain identical, suggesting a fundamental hardware/layout issue. The Symptoms: Current Draw: 10mA when BOOT0 = GND. Approx. 50mA when BOOT0 = 3.3V (System Bootloader). VCAP Voltage: Measuring approx. 1.0V. Debug Connection: Using Segger J-Link (V11). "Failed to initialize DAP" / "Can not attach to CPU". VTref is stable at 3.3V, NRST is at 3.3V. USB DFU: When BOOT0 = 3.3V, Windows reports "Device Descriptor Request Failed" (Unknown Device) when connected via usb. SWD Pins: PA13/PA14 show ~1.6V when floating (no debugger connected), which is highly unusual Same Symptoms if 3.3V are supplied by ams1117 or laboratory power supply My Schematic: VBat, all Vdds, Vdda, VRef, PDR_ON are all connected to 3.3V all GNDs and AGND are connected to GND each Vcaps (2x) has a 2.2uF capacitor (alltough i am not sure abo
Could I get some guidance on this? Presumably I can fix this by installing a package or something...Logs below (see second line from end).Thank you! 2026-04-12 17:30:29.505 [Info] [project-manager] STM32CubeIDE project manager activation....2026-04-12 17:32:30.960 [Info] [ide-project-convert] Starting project conversion...2026-04-12 17:32:31.263 [Info] [ide-project-convert] cube wrapper version: 0.10.22026-04-12 17:32:31.551 [Info] [ide-project-convert] Starting installation...2026-04-12 17:32:31.689 [Info] [ide-project-convert] Do you want to install the following bundles: ["osgi-exporter@0.0.4"] (yes, no, show)?2026-04-12 17:32:31.692 [Info] [ide-project-convert] Downloading osgi-exporter@0.0.4 to '/Users/me/Library/Application Support/stm32cube/bundles/osgi-exporter/0.0.4'...2026-04-12 17:32:32.004 [Info] [ide-project-convert] Downloading https://developer.st.com/bundles/o/osgi-exporter-0.0.4-all.bundleDownloading https://developer.st.com/bundles/o/osgi-exporter-0.0.4-all.bundl
Hi, for an old project of mine I need the STM32CubeF4 v1.21.0 + HAL v1.5.7 but I can't find the download links to that version anymore. It seems like they got deleted from GitHub? Can someone supply me with the old version of the STM32CubeF4 including the HAL? Cheers!
Hi Is there an example using a STM32C5 as a USB host controller connecting a USB HID (mouse/keyboard) as input device?
I have a 14-pin connector and a 6-pin fall back connector. I can connect the 6-pin SWD via st-link V2 on a nucleo board but I cannot connect with a V3 MINIE on the 14-pin. Any ideas? I followed the schematic for a 14-pin connector I found on a NUCLEO board, which had a 100 ohm resistor on GND detect. I have bypassed it but the result is still the same. Apart from that and the TX/RX, the wires are the same for the 6-pin connector that works?Here's my output:CDLiveWatchSetup Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'. Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD Warn : The selected adapter does not support debugging this device in secure mode adapter speed: 24 kHz none separate Info : Listening on port 50004 for tcl connections Info : Listening on port 50005 for telnet connections Info : clock speed 24 kHz Info : STLINK V3J14M5 (API v3) V
I'm experiencing some issues with indexing of clangd. I'm working on a project including Bluetooth LE and the ble_types.h header file makes extensive use of the preprocessor define __PACKED_STRUCT which is defined in one of the CMSIS compiler header files (e.g., cmsis_gcc.h for GCC compiler). clangd is for some reason not able to resolve the typedefs using __PACKED_STRUCT which makes code browsing harder and auto-completion does not work for these types.I found a workaround by adding the __PACKED_STRUCT define explicitly in the .clangd config file.My current .clangd file looks as follows:CompileFlags: Add: - '-ferror-limit=0' - '-Wno-implicit-int' - '-D__PACKED_STRUCT=struct __attribute__((packed, aligned(1)))' CompilationDatabase: build/Debug Diagnostics: Suppress: - unused-includes - unknown_typename - unknown_typename_suggest - typename_requires_specqual Completion: HeaderInsertion: NeverSo I basically added the preprocessor define to the CompileFlags. Of course this is n
Bonjour,Je me permets de vous contacter afin de solliciter votre aide concernant le débogage d’une carte basée sur un microcontrôleur STM32L471 ( comme présenté dans les images suivantes ).Je souhaiterais pouvoir programmer et récupérer les logs de la carte, et je cherche donc le matériel nécessaire pour cela (interface de debug, câble, connecteur et éventuellement sonde de programmation type ST-LINK).Pourriez-vous s’il vous plaît me partager des liens ou références des produits compatibles recommandés pour ce type de carte ?Je vous remercie par avance pour votre aide.Cordialement,Google translation:Hello, I'm contacting you to request your help with debugging a board based on an STM32L471 microcontroller (as shown in the following images). I would like to be able to program and retrieve the board's logs, and I'm therefore looking for the necessary equipment (debug interface, cable, connector, and possibly an ST-LINK type programming probe). Could you please share any links or product
Hello. I am trying to encrypt/decrypt data in secure area of stm32h563 (Trustzone application), using code from one of the examples (using cmox_cipher_encrypt function). Running the function in non-secure area, everything works fine. Trying to run that in secure area immediatly hardfaults. It seems like problem might be that the library tries to access something in the non secure area. Initial thought was CRC engine, but in cubemx i specificly initialized that to secure area because it will be used in there. Is there some known workaround or updated libraries to use cmox_cipher_encrypt in secure area?
Hello everyone.I'm novice in cryptografic,I'm developing a project with STM32H7.I have a file on uSD and I can read it using FatFs.I have to crypto this file using CRYP_AES_GCM.I setup IOC in this wayThe IOC build this file for meMy file has 98MByte of size but I cannot fit the whole size in a Heap Buffer because free space in Heap is 60KByte but I can prefer to reserve at least 32KByte to have some space available for other c++ objects.So I develop a code that reads 32KByte-chunks from the source file and crypto this chunk before to write in the crypted file.But I have a dubt: to crypt this chunk of file I call HAL_CRYP_Encrypt(&hcryp, (uint32_t*)ptr, (byteRead+3)/4, (uint32_t*)ptr, 1000UL);But if I inspect this API I notice that it resets some sort o f counter So I think that I'm wrong because probably I have to not reset this counter and, instead, put the next chunk to the crypt. Is my doubt a certainty ? And there is a way to check, once the file i
I found I can not config ToucgGFX to APPmode.It's seems I have to config EXTEM Loader first.I tried many management,but still fail to use TouchGFX in APP.I wonder if there's other way to use GFX.By the way,I have to write the link files to fit in my HyperRam and Flash.Is there something to do with the"EXTEM Loader"and "EXTEM Manager"?Thanks a lot!
i am getting attached error,kindly suggest further
Hey all, just installed STM32CubeIDE on cachyOS and connected my HiLetGo STM32F103C8T6 dev board (https://www.amazon.com/dp/B07VKSVM21), and the IDE is giving me the following error when I try to debug or deploy:I tried installing ST-LINK-SERVER separately just to be safe, and it said that it was already installed. (I assume as part of the Cube IDE installation.) Also reinstalled libusb (Version 1.0.29-1.1).I can see STM32x_USB under Removable Devices in the system browser when plugged in, so I know the board is connecting at least. Any ideas here?
I started getting this message when I try to debug my code. However, there are currently no breakpoints in my code at all. I have gotten this in the past and I deleted and redownloaded the IDE which I really do not want to do again. I am running it on Mac. Any suggestions are helpful.// Simple ADC Reader // ADC1_1 on PA1 // Port A on AHB1 // ADC on APB2 #include "stm32f4xx.h" #include "printUSART.h" int val = 0; int main(void){ USART2_Init(); RCC->AHB1ENR |= RCC_AHB1ENR_GPIOAEN; GPIOA->MODER = GPIO_MODER_MODE0_0 | GPIO_MODER_MODE0_1; RCC->APB2ENR |= RCC_APB2ENR_ADC1EN; ADC1->CR2 = 0; ADC1->SQR3 |= ADC_SQR3_SQ1_0; ADC1->CR2 |= ADC_CR2_ADON; while(1){ ADC1->CR2 |= ADC_CR2_SWSTART; while(!(ADC1->SR & ADC_SR_EOC)){} val = ADC1->DR; printf("\n%d", val); } }
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.