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

How to write USB dongle firmware?

I have built a board using a reference design for the USB dongle board for the NRF24LU1+. Now when I connect to the USB the system identifies the device as "nRF24LU1+ -F32 BOOT LDR". I wish to write a firmware for my device and some code on the PC side that let me communicate through the device. Is there a reference document I can use or some available firmware that can let me communicate through the device?

  • If you download the nRFgo SDK, there's a libusb (v0.1) example written for linux:

    nRFgo SDK 2.3.0.10040\source_code\projects\nrfgo_sdk\bootloader_32k\host_applications\bootlu1p_linux

    Other than that, we do not have any example code on how to communicate with the bootloader. The commands and other configurations are however explained in the datasheet, so you can develop your own program that communicates with it.

    If you only need to program it, you can use nRFgo Studio.

    Remember if your application does not have a function to jump back to the bootloader, you will have to program the nRF24LU1P using the ISP interface!

Related