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

nRF24LU1+ programming through USB interface

I have inserted the USB dongle nRF24LU1p in to PC. In nRFgo studio, it is detected as nRF24LU1+ Bootloader. If I click on the bootloader, It shows a window from where, it is able to program the flash memory with bootloader. I have tried to program example hex files that come along with nRFgo sdk.

If this is possible becuase of existing bootloader, as said in the datasheet, dongle programming through USB is the simple way, right?

Can anybody correct me whether this method will work fine? I don't have any idea of how to verify the programming really successful without verifying the dongle functionality?

Parents
  • Hi,

    In nrfgo studio when programming the nRF24LU1P bootloader, it will automatically do a verification of the written image. The USB commands / API for interfacing with the USB bootloader is documented in the nRF24LU1+ datasheet, at chapter 17.6.

    You can also program it through the supplied libusb-example for linux that is located in the nRFgo SDK: \nRFgo SDK 2.3.0.10040\source_code\projects\nrfgo_sdk\bootloader_32k\host_applications\bootlu1p_linux

    Note that this bootloader is meant for one-time programming of the device (in production for instance) and once programmed, you have to include a hook-function to jump back to the bootloader. If this hook is not implemented, you need to re-program the device using a ISP programmer.

    Cheers, Håkon

  • Both nRFgo Studio and bootlu1p_linux programs the device with a .hex file. How the device behaves afterwards depends on the firmware that you provide to it.

Reply Children
No Data
Related