This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF52832 Firmware Upgrade using Esp8266

Hi Team

I am trying to implement the firmware upgrade for master controller nrf52832 on chip using esp8266 over uart and I am very new with this boot-loader part.

I had gone through many examples and trying to understand the flow from where to start. Code had already implementation of DFU using nrf connect application and working, but now I need to do this using esp8266.

My flow is I will download the hex file from the server and then upgrade the hex file form esp8266 over uart.

I had seen the examples - secure_bootloader_dfu and iot example but still not able to understand the example.

Any help or suggestion in this.

Parents Reply
  •     if (    ((page_addr & (p_fs->p_flash_info->erase_unit - 1)) != 0)
            ||  !addr_within_bounds(p_fs, page_addr, (len * p_fs->p_flash_info->erase_unit)))
        {
    	
            return NRF_ERROR_INVALID_ADDR;
        }
        print(LL_INFO,"333333\n");
        return (p_fs->p_api)->erase(p_fs, page_addr, len, p_context);

    This code is not returning during execution of OP command in serial DFU mode but working in BLE DFU .

    I am not able to understand the reason, any suggestions please!

Children
No Data
Related