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

Using PCA10059's bootloader on PCA10056

Hi,

I have PCA10059, its bootload is very handy, the customer can use the bootloader to upgrade the firmware for PCA10059 by serial port. 

At this moment, I also want to make PCA10056 with the bootloader of PCA10059, I have a few questions:

1. do I need to flash the bootloader on PCA10056 over SWD? What's the bootloader's baud rate? 

2. how can I make PCA10056 into bootloader mode? PCA10059 has a specific button to do this...

Thanks,

Parents
  • Hi,

    You can connect the nRF52840 DK to your computer with a USB cable just as when you program other applications to it. 

    You cannot program the precompiled bootloader hex file for the dongle directly the DK, as hex files compiled for one board is not compatible with another board. You will have to create a bootloader application, build it, and then program it to the DK. We have multiple examples you can take a look at and use as starting points, such as the Open Bootloader and the Serial Secure DFU Bootloader. The open bootloader has more relaxed security compared to the serial secure bootloader. Both can use USB CDC ACM DFU transport for DFU, and the serial secure bootloader can use UART as well. You can read more about the bootloader and DFU modules here. To flash the bootloader to your DK, you must follow the guide Programming the bootloader.

    Best regards,

    Marte

Reply
  • Hi,

    You can connect the nRF52840 DK to your computer with a USB cable just as when you program other applications to it. 

    You cannot program the precompiled bootloader hex file for the dongle directly the DK, as hex files compiled for one board is not compatible with another board. You will have to create a bootloader application, build it, and then program it to the DK. We have multiple examples you can take a look at and use as starting points, such as the Open Bootloader and the Serial Secure DFU Bootloader. The open bootloader has more relaxed security compared to the serial secure bootloader. Both can use USB CDC ACM DFU transport for DFU, and the serial secure bootloader can use UART as well. You can read more about the bootloader and DFU modules here. To flash the bootloader to your DK, you must follow the guide Programming the bootloader.

    Best regards,

    Marte

Children
No Data
Related