STM32CubeIDE (MCUs)

Ask questions on STM32CubeIDE. Discuss how to build, debug, configure, and optimize your project as well as how to use our software tools.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeIDE 1.18.1 released

We are pleased to announce that the minor release 1.18.1 of STM32CubeIDE is available. What is new in 1.18.1: This minor release will not bring any major updates to the STM32CubeIDE 1.18.1. It will be aligned with the STM32CubeMX 6.14.1. Main fixed i...

STM32CubeIDE 1.18.0 released

We are pleased to announce that the release 1.18.0 of STM32CubeIDE is available. What is new in 1.18.0: Microcontrollers, microprocessors, and board lists aligned with STM32CubeMX 6.14.0: Added the support for STM32WBA6xxx microcontrollers in the STM...

I am getting UNALIGNED HardFault (attempt to perform an unaligned access) on ldr.w and blx.w instructions (as seen in disassembly when debugging). I am using STM32CubeIDE with the standard toolchain for stm32 (arm gcc, Thumb2).

I am importing a library (which I am also building with the same toolchain), in which the errors are occuring. Can I tell the compiler to not create unaligned addresses? Or do I have to change the source code of the library?I have tried compiling wit...

ETörn.1 by Associate
  • 5307 Views
  • 7 replies
  • 0 kudos

Create a variable in SDRAM

Hi i have configured the FMC and can read and write in SDRAM extern, begin in 0xC0000000, i now want create a variable in this SDRAM, then i define:uint32_t myFrameBuffer[65280] __attribute__((section(".sdram_data"))) = {0};but when i see the debugge...

RMasi.19 by Associate II
  • 1299 Views
  • 3 replies
  • 0 kudos

Resolved! stm23wb5mmg ble notify problem

I used stm32wb55rgv6 and stm32wb5mmg in the stm32wb series for simple Bluetooth projects (using hw_timeserver to send notification data), and then used nRF Connect to receive notification data. My program and design are basically the same, but only s...

Lep_1-1695366465540.png Lep_2-1695366538738.png
Lep by Senior
  • 1671 Views
  • 3 replies
  • 0 kudos

Resolved! DOUBT:UART SERIAL RECEIVE

I'm trying to Receive a message "hello" from serial monitor and viewing it on Live expression,but message is not coming as word. It is coming as single letter- H E L L O.char msg[20]="hello\r";HAL_UART_Receive(&huart2,msg,sizeof(msg),1000);i am using...

ADC.png

when ADC DMA initialization starts ETH failed to ping

Hello team, am working ADC and Ethernet in Nucleo H745zi_q board when goes to initialize DMA for ADC  from that moment Ethernet failed to ping "destination host unreachable " . HAL_ADC_Init  --> HAL_ADC_MspInit -->  /* ADC3 DMA Init */   if i comment...

SA  V.1 by Senior
  • 2227 Views
  • 5 replies
  • 0 kudos

Installing CUBEIDE in ubuntu

I am trying to install CUBE ide in ubuntu OS,  stmCubeIDE.sh script was successfully ran and i accepted all licence,But at last it says "Licence accepted Nohing to install" How resolve this issue?

Identifying device with .bin file

Hi,I am trying to identify ways in which a bootloader can identify the details (maybe some address or the name of device) of incoming .bin file and check if the file is actually intended for the MCU. Is there any kind of metadata in the binary or pos...