Hi,
When I reset my nrf51822 beacon firmware using nrfgo, it works just fine. When I try to reset the firmware using jlink, I end up having problems. There are no errors, but the board is not in the correct state (blue blinking light). It does not matter if I wipe the board first with the jlink sequence, or within nrfgo. I seem to be missing some parameter or setting when using jlink. Can someone point me to the light?
J-Link>device nrf51822_xxac
Info: Device "NRF51822_XXAC" selected.
Reconnecting to target...
Info: Found SWD-DP with ID 0x0BB11477
Info: Found Cortex-M0 r0p0, Little endian.
Info: FPUnit: 4 code (BP) slots and 0 literal slots
Info: CoreSight components:
Info: ROMTbl 0 @ F0000000
Info: ROMTbl 0 [0]: F00FF000, CID: B105100D, PID: 000BB471 ROM Table
Info: ROMTbl 1 @ E00FF000
Info: ROMTbl 1 [0]: FFF0F000, CID: B105E00D, PID: 000BB008 SCS
Info: ROMTbl 1 [1]: FFF02000, CID: B105E00D, PID: 000BB00A DWT
Info: ROMTbl 1 [2]: FFF03000, CID: B105E00D, PID: 000BB00B FPB
Info: ROMTbl 0 [1]: 00002000, CID: B105900D, PID: 000BB9A3 ???
J-Link>speed 4000
Target interface speed: 1000 kHz
J-Link>loadbin firm\softdevice.hex 0x0
Downloading file [firm\softdevice.hex]...Info: J-Link: Flash download: Flash programming performed for 2 ranges (84992 bytes)
Info: J-Link: Flash download: Total time needed: 1.481s (Prepare: 0.091s, Compare: 0.032s, Erase: 0.000s, Program: 1.341s, Verify: 0.008s, Restore: 0.007s)
O.K.
J-Link>loadbin firm\bootloader.hex 0x3c000
Downloading file [firm\bootloader.hex]...Info: J-Link: Flash download: Flash programming performed for 2 ranges (16384 bytes)
Info: J-Link: Flash download: Total time needed: 0.493s (Prepare: 0.124s, Compare: 0.006s, Erase: 0.000s, Program: 0.314s, Verify: 0.003s, Restore: 0.044s)
O.K.
J-Link>loadbin firm\app.hex 0x16000
Downloading file [firm\app.hex]...Info: J-Link: Flash download: Flash programming performed for 1 range (13312 bytes)
Info: J-Link: Flash download: Total time needed: 0.432s (Prepare: 0.123s, Compare: 0.003s, Erase: 0.000s, Program: 0.261s, Verify: 0.000s, Restore: 0.043s)
O.K.
J-Link>r
Reset delay: 0 ms
Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.
J-Link>g
J-Link>