cancel
Showing results for 
Search instead for 
Did you mean: 

A custom bootloader is working on stm32h745i-Discovery but not in a custom board

Vineet_872
Associate II

Hi,

I am Working on STM32H745XIH6 MCU which embed in our custom board. I have bootloader code which is working fine on STM32H745I-Discovery board. But when I use bootloader in out custom board problem is unable to jump on application code, but same thing is working fine with STM32H745I-Discovery with same bootloader code and application code.

I have debug more and got same interesting things happen which mention in below

  • When I flash the application code from STMcubeProgrammer into my custom board and then give power cycle that time jump from bootloader to application code is working fine.
  • When I flash the application code from bootloader into my custom board, that time I will face the issue in jump from bootloader to application code.
  • Then I have check the Flash memory section of application code and compare in both scenario when flash through bootloader or flash through STM32CudeProgrammer. Application code is match properly. So writing into flash memory through bootloader code is working fine.

    Can any please suggest me what exactly happen in my case and what I need to do for fix the issue.

    Thanks 
    Vineet

 

1 REPLY 1
mƎALLEm
ST Employee

Hello,

First, you need to confirm you have the exact replication of Stm32h745i-Discovery hardware on your custom board. Do you confirm that?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.