Is it possible to flash the application onto the nRF52840 USB dongle using this method?
Is it possible to flash the application onto the nRF52840 USB dongle using this method?
Yes and no.
You need either the DK or a J-Link debug probe in addition to the dongle for the above flashing method - as described.
Software and Flashing Tools Required for NRF Firmware Flashing
But even if I have the nrf82540 USB dongle device, do I still need the J-Link debug probe ? and i want to flash the .hex file, will the dongle alone be sufficient?
https://www.nordicsemi.com/Products/Development-hardware/nRF52840-Dongle
As Turbo pointed out, you need an external debug probe if you want to reprogram the dongle through the debug interface. Alternatively, you can upload the hex file via DFU over the USB interface, but this requires the application to be linked to start at address 0x1000. Both methods are covered in the tutorial here: nRF52840 Dongle Programming Tutorial
As Turbo pointed out, you need an external debug probe if you want to reprogram the dongle through the debug interface. Alternatively, you can upload the hex file via DFU over the USB interface, but this requires the application to be linked to start at address 0x1000. Both methods are covered in the tutorial here: nRF52840 Dongle Programming Tutorial
i just have a small question. If I generate the .hex file for the nRF52840 and flash it using DFU via nRF Connect, Then i don't require for J-Link or SWD?
That is correct.
Error after flashing .hex
Continues here: (Missing Forum Thread)