+ Post New Thread
Results 1 to 2 of 2
  1. #1
    Newbie level 3
    Points: 505, Level: 4

    Join Date
    Oct 2016
    Posts
    4
    Helped
    0 / 0
    Points
    505
    Level
    4

    Build a .hex file which including the Bootloader [STM32F]

    I am working on an application based on STM32F103 chips.

    After building the application, I do full chip erase using ST-LINK Utility and then flash the chip using new .hex file.

    I know that STM32 starts executing the code at the address of 0x8000000. However, my main program starts from address of 0x8003000. I thought the stm32 used a space of 0x8000000 ~ 0x8002FFF for Bootloader. Therefore, my application cannot work.

    I cannot find any solutions to build a .hex file which including the Bootloader for my application.

    Do you guys know any way to build that one?

    Thanks and BRs

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 4
    Points: 7,557, Level: 20

    Join Date
    Jan 2015
    Posts
    1,065
    Helped
    333 / 333
    Points
    7,557
    Level
    20

    Re: Build a .hex file which including the Bootloader [STM32F]

    Have you searched the Internet for "STM32 Bootloader"? Even "STM32F103 Bootloader" provides a lot of information.
    ST Micro put out a number of application notes on bootloaders and they and others have example code out there.
    Even if you can't find something that exactly fits your needs, the general principles that are used can still apply for you.
    Susan



--[[ ]]--