STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How to run code in RAM?

I have a project with a STM32H7 part generated with CubeMX, but I want to copy the code to RAM after reset and then run it from RAM, because I want to change the flash where the code is running. How can I do this?I noticed there is a linker file STM3...

fb by Associate III
  • 3506 Views
  • 9 replies
  • 2 kudos

DMA fails with IRAM1/IRAM2 settings

Hi, I am trying to use SDIO with DMA and TIM1 PWM with DMA on STM32F407VETx.After generating code with STM32CubeMX v6.6.1 I get these settings:with these settings SDIO with DMA works, but TIM1 PWM with DMA fails.After an update generating code with S...

0693W00000Y8qzDQAR.png 0693W00000Y8qzDQAR.png
JBond.1 by Senior
  • 549 Views
  • 5 replies
  • 0 kudos

Resolved! STM32CubeMX V6.6.1 HAL driver crashes, LL interface works

This is my first STM32 project and I am using an STM32F030C6T as a MODBUS slave device. I used the STM32CubeMX V6.6.1 to create a project template and STM32CubeIDE Version: 1.10.1 Build: 12716_20220707_0928 (UTC), along with an STlink interface.When ...

0693W00000VOIHgQAP.png 0693W00000VOIIjQAP.png
RMurt.3 by Associate III
  • 1209 Views
  • 9 replies
  • 0 kudos

Resolved! stm32h7 dtcm ram overflowed

Hello, I am relatively new in this field, and need assistance for my project at work.Recently, in order to have more RAM, I switched from STM32F4 to STM32H7. I saw that STM32H7 has 1MB of RAM, and decided to base our system on this MCU. However, afte...

VYoun by Associate III
  • 1696 Views
  • 13 replies
  • 0 kudos