Hello,
In my project i am using nrf52840 with my custom board and to upload the code through NRF_CONNECT application with soft device its uploading properly but with segger emmbedded its giving some error like this .please have look and let me know what is the problem.
after this i have add DEBUG in preprocessor definition and i got this

thank you.