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
0
votes
0 answers

STM32 cube IDE LED not blinking

I have a board with a STM32F103RET6 with many things, and a blue and green LED's connected to GPIO pins. To test if it works correctly I'm using STM32 cube IDE to upload a program that blinks the LED's, and the LED turns on but it does not turn off…
0
votes
0 answers

External interrupts stop working when BlueTooth functionality is enabled in the configuration tool STM32CubeMX

External interrupts stop working when BlueTooth Low Energy functionality is enabled in the configuration tool (controller STM32WB55). Also external interrupts stop working when the Thread or Zigbee are activated. Several pins have been tested, but…
osa
  • 1
0
votes
2 answers

STM32F4 UART HAL driver 'save string in variable buffer'

I am in the process of writing software for an STM32F4. The STM32 needs to pull in a string via a UART. This string is variable in length and comes in from a sensor every second. The string is stored in a fixed buffer, so the buffer content changes…
0
votes
0 answers

STM32H7 HAL_UART_Init blocking forever and failing

I've started a new project, using STM32CubeIDE which I downloaded yesterday, and the check for updates says I am on the latest. Nice and simple LED flash and a Hello world over UART. Using the STM32H753II. I am using USART2, setup as asynchronous. I…
0
votes
1 answer

Possible to manually trigger automatic source code formatting in STM32CubeIDE?

I use STM32CubeIDE version 1.6.1, and have noticed that CubeMX outputs formatted code (e.g. indented with 2 spaces). I would like to reapply this source code formatting manually (that is, manually trigger the source code formatting on selected…
sdbbs
  • 2,451
  • 3
  • 15
  • 40
0
votes
0 answers

Determine the padding to save the firmware SHA256 using STM32F746GDISCOVERY to verify integrity

I am trying to implement a firmware integrity check using the Cryptographic Library (X-CUBE-CRYPTOLIB) for this I have to calculate the SHA256 checksum and then determine the padding and include it in the binary that I will upload to the board. I've…
0
votes
0 answers

Is there any way to upload memory image using USB DFU in STM32CubeIDE?

Recently i decided to use USB DFU instead of SWD to upload image to the STM32 flash. It is a more convenient and neat way doing it although debugging is not possible then. But i don't need debugging feature. I know that with the STM32CubeProgrammer…
A.R.S.D.
  • 152
  • 2
  • 10
0
votes
1 answer

STM32H723- DMA DAC only works with const only?

In a STM32G4, I was able to setup the DAC DMA such that I could use a regular variable (ie. a uint8_t array). However, when I tried porting my code over to an H723, the DAC DMA would not work unless it's with a constant variable (ie. a const uint8_t…
0
votes
0 answers

Unable to upload to STM32 Bluepil using STLINK

I have been using STLink to upload STM32 bluepill boards on Arduino and PlatformIO. Now I am exploring STM32cubeIDE to program and I am unable to upload code to STM32 using STLINK because of these errors.
Tilak Sai
  • 11
  • 2
0
votes
0 answers

Writing .BMP to SD card using FATFS. Distorted image

I wrote a program for STM32 to write a .bmp file to SD card using FATFS. I am using STM32CubeIDE and its generated code. I converted my .bmp file to a byte array online and then copied the array to my program. If i write the whole data at once,…
0
votes
1 answer

“STM32CubeIDE” is damaged and can’t be opened. You should move it to the Trash. (On Mac)

After installing STM32CubeIDE on Mac, when we double click on the application, the following error gets shown in a popup window: “STM32CubeIDE” is damaged and can’t be opened. You should move it to the Trash.
BR M
  • 61
  • 6
0
votes
1 answer

Having trouble getting timer interrupts to enable on the STM32f4xx

I am working on a project that will require timer interrupts. Using STM32cubeIDE, I generated code that should work with timer-interrupts. Here is a truncation of what my main.cpp looks like: (htim1 is a global handle) HAL_Init(); …
0
votes
0 answers

Commenting nuances in Eclipse

In STM32CubeIDE (which is essentially Eclipse), each time I add a comment using Cmd+/ it adds the comment right at the beginning of the line as shown below, instead of where the code starts from as shown below, How can I fix this? I couldn't…
electrophile
  • 234
  • 3
  • 14
0
votes
0 answers

Interfacing a Rotary Encoder with an HID device (STM32)

I’m trying to create a rotary encoder device that will output a set of keypresses depending on whether I turn it forward or backward, but as of now am confused as to whether it just using a scroll wheel descriptor, interfacing the encoder as you…
0
votes
0 answers

Changing Directory of STM32CubeIDE Projects

When I create a new STM32CubeIDE project, it default saves it to my /Documents directory. This isn't too bad except I like to have a folder for each application so that it isn't just a bunch of files. I tried creating a folder called…
Jeremy Wolfe
  • 11
  • 1
  • 1