I am starting afresh, and have only just downloaded & installed Keil v5.25, nRF SDK v15.0.0, and nRFgo Studio v1.21.2.10
So everything should be "latest" and "up-to-date"
I have successfully built the PCA10040 'blinky' example (0 errors; 0 warnings), but the download fails:
I have not modified the project - it's straight from the SDK download.
As advised in "Compiling and running a first example", I erased the board first.
This seems to be a recurring problem:
https://devzone.nordicsemi.com/f/nordic-q-a/25063/the-firmware-does-not-support-the-memory-access
https://devzone.nordicsemi.com/f/nordic-q-a/33412/error-when-loading-program
The "solutions" stated there all seem to be to "update to the latest" - but I should already be at "latest".
Nobody seems to have got to the root of why the J-Link is trying to do that, and/or why it is failing.
The PCA10040 board sticker says v0.9.0
I am running on Win7-Pro 64-bit
This is what appears in the uVision 'Output' windows when trying to do the download:
Load "C:\\Users\\ ... \examples\peripheral\blinky\pca10040\blank\arm5_no_packs\JLinkSettings.ini"
* JLink Info: Device "NRF52832_XXAA" selected.
JLink info:
------------
DLL: V5.12f, compiled May 17 2016 16:03:35
Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 2 2017 12:22:13
Hardware: V1.00
S/N : 682645609
* JLink Info: Found SWD-DP with ID 0x2BA01477
* JLink Info: Found Cortex-M4 r0p1, Little endian.
* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
* JLink Info: CoreSight components:
* JLink Info: ROMTbl 0 @ E00FF000
* JLink Info: ROMTbl 0 [0]: FFF0F000, CID: B105E00D, PID: 000BB00C SCS
* JLink Info: ROMTbl 0 [1]: FFF02000, CID: B105E00D, PID: 003BB002 DWT
* JLink Info: ROMTbl 0 [2]: FFF03000, CID: B105E00D, PID: 002BB003 FPB
* JLink Info: ROMTbl 0 [3]: FFF01000, CID: B105E00D, PID: 003BB001 ITM
* JLink Info: ROMTbl 0 [4]: FFF41000, CID: B105900D, PID: 000BB9A1 TPIU
* JLink Info: ROMTbl 0 [5]: FFF42000, CID: B105900D, PID: 000BB925 ETM
ROMTableAddr = 0xE00FF000
Error: Flash Download failed - Target DLL has been cancelled
Flash Load finished at 20:37:07