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

nrf51422 - 'J-Link Cortex-M Error' when atempting to load application to device

I'm attempting to load the ant-fs reference design to two different nrf51422 evaluation boards. The application builds successfully but I am having difficulties loading it onto both boards.

On board1, the application is able to load successfully from Keil and the application runs correctly.

On board2, when I attempt to load the application it fails with the error: "JLink - Cortex-M Error" "No Cortex-M SW Device Found"

I've attempted recovering board2 ( using "nrfjprog --recover -s " ) but it fails with the following sequence: [i]C:\Users\beckettc\AppData\Local\Temp\nrf51Studio>nrfjprog.exe --recover -s 480202588 Loaded JLinkARM.dll ERROR: An error occurred while connecting to the device[/i]

I've also attempted recovering the device through nrfGo Studio but that fails as well.

See below version information:

[i]IDE-Version: µVision V4.60.0.0

Tool Version Numbers: Toolchain: MDK-Lite Version: 4.60.0.0 Toolchain Path: C:\Keil\ARM\ARMCC\bin
C Compiler: Armcc.Exe Assembler: Armasm.Exe V5.02.0.28 Linker/Locator: ArmLink.Exe V5.02.0.28 Librarian: ArmAr.Exe V5.02.0.28 Hex Converter: FromElf.Exe V5.02.0.28 CPU DLL: SARMCM3.DLL V4.60.0.0 Dialog DLL: DARMCM1.DLL V1.11.00.0 Target DLL: Segger\JL2CM3.dll Dialog DLL: TARMCM1.DLL V1.08.00.0[/i]

Related