Questions tagged [stm32cubeide]

STM32CubeIDE is an all-in-one multi-OS development tool, which is part of the STM32Cube software ecosystem. STM32CubeIDE is an advanced C/C++ development platform with peripheral configuration, code generation, code compilation, and debug features for STM32 microcontrollers and microprocessors.

104 questions
4
votes
1 answer

STM32CubeIDE Break at address "xxx" with no debug information available, or outside of program code

I'm busy bring up some new hardware with a STM32F030C8 mcu. I'm using the STM32CubeIDE with gcc. I'm very new to microcontroller development and this is my first project with ST and their tools. This is a very basic program that just triggers a…
TJ Snyman
  • 87
  • 1
  • 1
  • 5
2
votes
1 answer

HAL_Delay() crashes STM

I'm trying to upload code to an STM32F103RET6 MCU and have a simple setup by now (see image below). I have attached a LED to pin PA1 as a GPIO OUTPUT and an external oscillator at 16 MHz. The other three pins are connected to the JTAG connector that…
2
votes
1 answer

Issue with launching QEMU simulator from STM32CubeIDE

I'm trying out STM32CubeIDE, and I've been trying to get it to work with the GDB QEMU debugging plugin that's part of the Eclipse CDT package. I've been able to create the project and debug configuration for my STM32F4-Discovery board, and the…
javathunderman
  • 924
  • 1
  • 11
  • 28
2
votes
2 answers

How can i start the GDB server in stm32cubeide?

right now I am trying to program on the STM32G0-Disco-board with the program stm32cubeide on WIN10. This worked fine until it didn't. My problem right now is that I can't debug/run it anymore. This is the first day I used this program, which doesn't…
typ
  • 35
  • 1
  • 4
1
vote
0 answers

How to detect when USB is disconnected?

I use a virtual com port for communication between the microcontroller and the computer. I have mk. stm32h743 self-powered from its own 3.3V power supply. With the help of a cube, I raised a virtual com port. How can you understand that the USB is…
zhilenkov
  • 111
  • 3
1
vote
0 answers

Installing STM32CubeProgrammer on macOS Big Sur

I'm trying to install STM32CubeProgrammer on MacOS BigSur, I have followed this steps from the website: https://community.st.com/s/question/0D50X0000BmnqrB/how-to-run-stm32cubeprogrammer-on-macos-catalina-10151-19b88?t=1620993010340. Although when I…
1
vote
1 answer

STM32Cube_FW_F7 SSL client mbedTLS FATAL_ALERT

I am trying to implement a SSL client into my IoT project. I have copied the SSL_Client example I found in STM32Cube_FW_F7_V1.15.0 into my project and was able to compile succesfully. However the SSL handshake fails with -0x7780…
Jan
  • 37
  • 5
1
vote
0 answers

How to write/read to FLASH on STM32F302

I am making a code using CubeIDE for a STM32F302K8UX and I need a variable to be persistent across resets. One way I have seen ppl doing it is by making a variable that is saved directly on flash memory (at least this is what I understood of it). I…
1
vote
1 answer

Variable initialized in a for-loop contains a value, won't increment

I am working on a function for an STM32 Micro-controller that sends a string of a given length through a uart port. To handle uart communication, I have created a Serial class that has a transmission and receive buffer that are popped and…
1
vote
1 answer

stm32cubeide reports firmware package is missing

I have a STM32 Nucleo F4 and I am trying to create a new C project in STMCubeIDE. I have STMCubeIDE version 1.5.0 Build: 8698_20201117_1050 (UTC) In the Embedded Software Packages Manager I have installed "STM32Cube MCU Package for STM32F4 Series"…
DavidW
  • 323
  • 1
  • 8
1
vote
2 answers

How to resolve: failed to insert all hardware breakpoints; you may have requested too many hardware breakpoints/watchpoints

I am using STM32 Cube IDE and I frequently get an error dialog that says: failed to insert all hardware breakpoints; you may have requested too many hardware breakpoints/watchpoints I know the ARM Cortex M0+ I use supports only 4 hardware…
user103185
  • 457
  • 1
  • 4
  • 11
1
vote
1 answer

UART Communication SMT32L496ZG

I am trying to transmit the signal using the UART Communication at my microcontroller by means of IDE, but it does not work. My code looks like the following /** ****************************************************************************** *…
Rostyslav
  • 35
  • 5
1
vote
0 answers

Cannot exit sleep mode of bxCAN on STM32F429IGT in loopback mode

In short, SLAK bit won't reset when SLEEP bit is manually reset. In details : I am trying to achieve a successful transmission in loopback mode before venturing into making a network. I had it working at a point after a lot of documentation reading,…
1
vote
1 answer

Why are there 2 generated linker scripts by STM32CubeIDE?

I'm learning STM32 bare metal programming and in that quest I'm using STM32F429ZI mcu. I read a lot of examples on the internet and all of them use only one linker script. I'm thinking if these examples perfected for my MCU then the linker script…
1
vote
0 answers

STM32F4 ADC Multimode with Master being triggered by timer

First of all: I'm using the CubeIDE toolchain offered by STM. Some of the STM32 microcontrollers have multiple ADCs (for example STM32F446xx) and offer a multi-regular-simultanuous mode (DualMode or even TripleMode), where the ADC1 is set as a…
1
2 3 4 5 6 7