This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NRF52840 dongle firmware question

The dongle is an excellent piece of hardware. However the features of DFU is rather limited.

I am wondering if I can put two hex files onto the dongle? For example,

1. My own bootloader right after MBR at flash address 0x1000, takes 64KB

2. My own application firmware hex file, starting from address 0x11000.

In this case my code can manage the entire flash memory up to the nRF bootloader while I can still use nRF connect with nRF DFU bootloader.

So far I have not tried two hex files. I would like to ask first if it is even possible?

Parents Reply Children
  • Thanks again!

    Just did a quick search on the Q&A and learnt that interrupt forwarding is for CM0 which doesn't allow NVIC relocation.

    I didn't know there is such a thing in the world before!!!

    I believe in my own bootloader I can still relocate NVIC because I never meant to build anything for CM0 and I don't plan to use soft device. Is that right?

  • No problem Slight smile  Unlike the M0, the M4 has the VTOR register which, after startup, lets you cange the interrupt forwarding address in HW (default address after reset is always 0x0). And yes, you can set the VTOR to point to your application's vector table when you don't use the Softdevice.

Related