NRF52832 Bootloader Software

Hello,

I am using NRF5SDK V5.0.0. For a sample study, I need to use the bootloader. Can I boot over uart when we install mesh_bootloader_serial_armcc_nrf52832_xxAA.hex software in nrf5sdkformeshv500src\bin\bootloader\armcc extension? Through which program can I load this hex file to nrf52832?

After uploading this hex file, can I send the software of the sample lampswitch project directly to nrf52832?

My other question is what is the difference between armcc and gccarmemb?

Thank you...

  • Both parts are fine. I believe it is easier to add the DFU support to your light switch project.

    ilker06 said:
    So can you help with which parts of the dfu I should add?

    You can start by verifying that the DFU example itself works by using the guide in the link from my initial reply.

    Looking in the examples\dfu folder, you can see that there are two types of projects. One called dfu_no_serial_... and one called dfu_... 

    To get the image from the computer out on the network, you need one of the devices running the dfu_ ... (with serial support). The rest of the nodes can run the dfu_no_serial_...

    It has been a while since I looked into this in detail. The main part to take away from the serial dfu device is the serial handler, and for all of them (serial and not serial) you need the DFU related events in mesh_evt_handler(), and make sure that nrf_mesh_dfu_init() is called from nrf_mesh_init() in nrf_mesh.c.

    Best regards,

    Edvin

Related