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

dfu bootloader eclipse managed project issue

I tryed to port the dfu secure bootloader sample of sdk 13 to eclipse managed project. after a few hours, i finished it. compiling and linking went fine but the filesize is a little bit bigger then the ordinary gnu make in the sample folder. if i flash the .hex, bootloader is starting. but after a ble flash with the app from an iphone, there is no response from the chip. no application is starting. no dfu bootloader anymore. if i use the .hex from the sample folder, all works fine. i attached the eclipse project for u guys to try it by yourself. maybe there is someone who can fix the issue and figure out what the problem is?

The sdk should be in folder "sdk" in folder before project.

Bootloader.zip

You can download folder with sdk here: www66.zippyshare.com/.../file.html

MBR Page of eclipse compiled bootloader. read after dfu update: eigen_mbrset.txt

Parents
  • Okay i got news. it seems to be code:

    NRF_LOG_DEBUG("Setting MBR vector table base: 0x%08x\r\n", start_addr);
    
    err_code = nrf_dfu_mbr_vector_table_set(start_addr, true);
    if(err_code != NRF_SUCCESS)
    {
        NRF_LOG_ERROR("Failed running nrf_dfu_mbr_vector_table_set\r\n");
        return;
    }
    

    in void nrf_bootloader_app_start(uint32_t start_addr)

    with a while befor that code, i can restart the bootloader by holding the button. if the bootloader reach that code, i am unable to get into bootloader once again with button press.

Reply
  • Okay i got news. it seems to be code:

    NRF_LOG_DEBUG("Setting MBR vector table base: 0x%08x\r\n", start_addr);
    
    err_code = nrf_dfu_mbr_vector_table_set(start_addr, true);
    if(err_code != NRF_SUCCESS)
    {
        NRF_LOG_ERROR("Failed running nrf_dfu_mbr_vector_table_set\r\n");
        return;
    }
    

    in void nrf_bootloader_app_start(uint32_t start_addr)

    with a while befor that code, i can restart the bootloader by holding the button. if the bootloader reach that code, i am unable to get into bootloader once again with button press.

Children
No Data
Related