Questions tagged [stm32cubeide]

STM32CubeIDE is an all-in-one multi-OS development tool, which is part of the STM32Cube software ecosystem.

Filter by
Sorted by
Tagged with
0
votes
2answers
72 views

STM32F407VTG6 HardFault_Handler

(note: Using STM32F407VTG, STM32CubeMX for config, FreeRTOS, and tried both IAR and STM32IDE for compilers/debuggers). This seems to be a common problem, but the solutions I find either aren't clear ...
0
votes
0answers
34 views

Cannot launch GDB client

I am new to embedded coding outside of Arduino, so I need a lot of hand holding. I made a custom board with just a STM32 chip (STM32L082) and a LED. I am trying to debug it using GDB (I hear that's ...
0
votes
0answers
54 views

How to configure STM32CubeIDE with Blackmagic Probe as a debugger?

I am trying to use my Blackmagic probe (an STM32 BluePill converted to a Blackmagic Probe) as a debugging device for the STM32CubeIDE and can't get to work! I tried this solution: https://github.com/...
0
votes
0answers
111 views

Could a china ST-Link have bricked my STM32F4?

I have built several boards with STM32F405 on them and I have been flashing them with a cheap china ST-Link knock-off from eBay which worked perfectly for many months now. However, I now noticed, that ...
1
vote
1answer
129 views

How to load Touchgfx files to external flash

I have W95Q64 flash memory and STM32F429 custom board. I want to load Touhgfx files to external flash memory. For this purpose, firstly I added below declarations into FLASH.id file as; ...
0
votes
0answers
47 views

stm32l431 Read multiple channels ADC

I am trying to read from 2 channels of ADC 1, I have followed other tutorials and tried but I am not getting any success. I can read from one channel but not the other. ADC configuration: This is my ...
2
votes
1answer
87 views

STM32 usart interface sends data but “128” is added to each sent byte

I'm using the newest version of stm32cubemx to config my hardware. I'm using a Waveshare STM32H743 dev board and it's completely healthy and uClinux works(I can easily communicate with it using that ...
2
votes
0answers
72 views

STM32 DAC Setup Issues

I am using the STM32F3 Discovery development board which has an STM32F303VCT6 mcu. I am also using the STM32CubeIDE. I am trying to set up the DAC to perform one-off digital to analog conversions when ...
0
votes
3answers
103 views

Optimization kills the switch statement that I need to use in a function

Optimization kills the switch statement that I need to use in a function Hi all, how are you?. I'm doing a project with a STM32F103C6 (it has 32KB flash) and I had to activate optimization options to ...
0
votes
1answer
606 views

Problems with programming STM32L mcu with stm32cubeIDE (failed to erase memory)

I am trying to program a STM32L152R8 MCU with stm32cubeIDE v1.4. The MCU is not brand-new and is soldered on a board. I want to change its firmware. While debugging with ST-Link Debugger I encounter ...
0
votes
0answers
19 views

How to obtain the dwarf2 file with STM32Cube IDE

I'm trying to simulate a project for an STM32F103C6 in proteus ISIS but for debug purposes labcenter's people says that I need the .elf file and the dwarf2 file (both of them in the same folder), then ...
0
votes
1answer
130 views

si7060 I2C temperature sensor with STM32 CubeIDE?

I am trying to read an SI7060. It's my first time using i2c and it doesn't seem to work. Do I make something wrong here? SI7060 datasheet ...
-1
votes
2answers
59 views

STM32F030P6 MCU returning high even when no voltage is measured on the pin

I am trying to make a custom PCB based on stm32f030p6 MCU. one of the requirements is to read a pin's value (digitally i.e. high or low). for this purpose I am using stm32CubeIDE, and to read the pin'...
0
votes
1answer
78 views

1V on ADC pin with DMA continuous requests

I have a STM32G071 Nucleo Board and also the IC itself. In CubeIDE, I set a pin as ADC and activate DMA and enable the DMA continuous request in the ADC settings. After executing the code and ...
2
votes
2answers
102 views

Last address of program in STM32 HAL?

Is there a way to find the last address or last page of the program which is stored in an STM32(F1) using a HAL (or LL?) function? Background: I'm using EEPROM emulation in Flash and this works great....