nRF connect SDK fundamentals - lesson 7 multithreading

Hi,

I was followed the dev academy nordic course and error was appear only when I flash the project uses "tread" or multithreading.

It seems it can not connect the J-link, Although was successful in other projects.

When I use the debugger it is jump to this function:

static ALWAYS_INLINE void arch_nop(void)
{
	__asm__ volatile("nop");
}

When i flash the project:

 *  Executing task: nRF Connect: Flash: fund_less7_exer1/build (active) 

Flashing build to 1050207889
west flash -d /Users/Documents/nRFworkspace/DevAcademy/ncs-fund/v2.x.x/lesson7/fund_less7_exer1/build --skip-rebuild --dev-id 1050207889

-- west flash: using runner nrfjprog
-- runners.nrfjprog: Flashing file: /Users/Documents/nRFworkspace/DevAcademy/ncs-fund/v2.x.x/lesson7/fund_less7_exer1/build/zephyr/zephyr.hex
[error] [ Client] - Encountered error -105: Command connect_to_emu_with_snr executed for 14730 milliseconds with result -105
ERROR: Unable to connect to a debugger.
[error] [ Worker] - JLinkARM.dll Open returned error 'Cannot connect to J-Link.'
ERROR: The JLinkARM DLL timed out while communicating to the J-Link probe.
ERROR: If the error condition persists, run the same command again with
ERROR: argument -- log, contact Nordic Semiconductor and provide the generated
ERROR: log.log file to them.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
FATAL ERROR: command exited with status 35: nrfjprog --program /Users/Documents/nRFworkspace/DevAcademy/ncs-fund/v2.x.x/lesson7/fund_less7_exer1/build/zephyr/zephyr.hex --sectoranduicrerase --verify -f NRF52 --snr 1050207889

 *  The terminal process terminated with exit code: 35. 
 *  Terminal will be reused by tasks, press any key to close it. 

Any help? Thanks

Related