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

USB bootloader for NRF24LU1+ issue

Dear all,

I have an issue using USB bootloader for NRF24LU1+ device.

I've used a USB dongle and programmed USB bootloader to chip via SPI using external programmer.

The bootloader HEX file is taken from here: nRFgo SDK 2.3.0.10040\precompiled_hex\keil\boot24lu1p-f32.hex

After this the bootloader works OK and the chip can be flashed via USB using nRFGo Studio.

But when I try to use the bootloader from my own firmware, it's not working (not enumerates as USB device, etc.)

I use the following test code (compiled under Keil 5.11.2.0) to call the bootloader, but with no success:

void main()
{
#pragma asm
     LJMP 0x7800
#pragma endasm
}

What am I doing wrong?

Thanks in advance!

Related