"no connect "device in nRF Connect for VSCode

I have a nRF52840-DK that I know  that it has a JLink on board, but the RAK4631 don´t have JLink, then I am following the RAKWireless bootloader update(Bootloader update ):

  1. Press quickly two times the Reset Button, the RAK4631 will go to bootloader mode, and LED green will be on 
  2. Execute the bootloader conversion using the command nrfutil.exe dfu serial -pkg rak4631_factory_bootloader.zip -p COM5. Make sure that you have the right .zip file name and COM port number to avoid errors.
  3. When I need to become Arduino BSP compatible, I do the follow steps
    1. The previous step updated the bootloader of RAK4631. Another requirement is to ensure that the softdevice is compatible with the expected version by the Arduino BSP. To do this, execute the command adafruit-nrfutil --verbose dfu serial --package rak4631_factory_softdevice.zip -p COM15. You also have to make sure that you have the right .zip file name and COM port number to avoid errors. The COM port will likely be different compared to step 5.

I would like to know how to prepare the RAK4631 to receive MCUBoot and Zephyr.

Could you help me?

Claudio

Parents
  • Hello,

    I am not entirely sure as I haven't worked with the specific board you mentioned. I reviewed the guide you referred to, but it doesn't specify which bootloader is being used. It mentions the RAK4631 bootloader, which I'm not familiar with. I believe it should be possible to use MCUboot and USB DFU for this. To do so, you can use a JLink to flash MCUboot onto the board. Once MCUboot is installed, you won't need the JLink for future firmware updates; you can use USB DFU or Bluetooth DFU to update the firmware via MCUboot. You may want to follow this guide for configuring the application with MCUboot.

    Kind regards,
    Abhijith

  • If you take a look, I use to create RAKWireless RAK4631(nRF52840 - list of Zephyr supported board) using nrfutil: "nrfutil.exe dfu serial -pkg rak4631_factory_bootloader.zip -p COM5" where rak4631_factory_bootloader.zip is the RAKWireless bootloader.

     

    What I want to do it is like this example: "nrfutil dfu serial -pkg merged_dfu_package.zip -p COM10 -p COM10 -B 115200" , where merged_dfu_package.zip it is (MCUBoot and Zephyr application).  Is this possible?

    Other important point is:  Should I need to create a new MBR(Master Boot Record)?

    Regards,

    Claudio

Reply
  • If you take a look, I use to create RAKWireless RAK4631(nRF52840 - list of Zephyr supported board) using nrfutil: "nrfutil.exe dfu serial -pkg rak4631_factory_bootloader.zip -p COM5" where rak4631_factory_bootloader.zip is the RAKWireless bootloader.

     

    What I want to do it is like this example: "nrfutil dfu serial -pkg merged_dfu_package.zip -p COM10 -p COM10 -B 115200" , where merged_dfu_package.zip it is (MCUBoot and Zephyr application).  Is this possible?

    Other important point is:  Should I need to create a new MBR(Master Boot Record)?

    Regards,

    Claudio

Children
No Data
Related