This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Avoid entering over the air bootloader but start with preprogrammed app

Hi,

We are trying to use the over-the-air bootloader in our application. Our problem is the bootloader seems to require one first over-the-air download before it allows to start the application. Our application is actually preprogrammed using a DATAMAN serial wire debug programmer and we would like the app to run before the bootloader is entered.

What is the best way to start with a factory programmed application instead of waiting for the (over-the-air) bootloader to download it once.

Many thanks, Fred

Parents
  • You need to set the boot loader settings so that the application is marked as valid when you pre-program your application like so:

    uint8_t  m_boot_settings[CODE_PAGE_SIZE] __attribute__((at(BOOTLOADER_SETTINGS_ADDRESS))) __attribute__((used)) = {BANK_VALID_APP};
    

    You can read more in this question/answer:

    Bootload question

Reply
  • You need to set the boot loader settings so that the application is marked as valid when you pre-program your application like so:

    uint8_t  m_boot_settings[CODE_PAGE_SIZE] __attribute__((at(BOOTLOADER_SETTINGS_ADDRESS))) __attribute__((used)) = {BANK_VALID_APP};
    

    You can read more in this question/answer:

    Bootload question

Children
No Data
Related