cancel
Showing results for 
Search instead for 
Did you mean: 

Bootloader on STM32H730 with FreeRTOS

HispaEmo
Associate III

Hi everyone,

I’m currently facing an issue related to bootloaders and FreeRTOS on STM32 microcontrollers, specifically the STM32H735 and STM32H730.

Here’s the background:

  • STM32H735 Development Board: I have successfully implemented a bootloader that jumps to an application stored in external flash memory. This setup works perfectly with FreeRTOS. In order to ensure that the jump worked correctly, I had to explicitly disable FreeRTOS-related interrupts before performing the jump:

    // Disable FreeRTOS interrupts

         taskENTER_CRITICAL();

         portDISABLE_INTERRUPTS();

After adding these lines, the jump to the external application works without any issues on the STM32H735.

  • STM32H730 Custom Board: Here's where the problem arises. I'm working on a separate project using an STM32H730 microcontroller. The bootloader can successfully jump to the external flash application when FreeRTOS is not involved. However, when I introduce FreeRTOS, the system fails to jump correctly, even if I use the same approach as I did on the STM32H735.

 

My question is: Has anyone experienced this kind of discrepancy between different STM32H7 microcontrollers when using FreeRTOS and attempting to perform a jump to external flash? Is there something specific to the STM32H730 that might be causing this issue?

I’d appreciate any advice, suggestions, or insights you might have. Thanks in advance!

Emo

 

 

0 REPLIES 0