Hi, i am using nRF51822 EK with soft device s130_nRF51_2.0.0(id:0x0080) and nRF5 SDK v12.2.0 and keil u vision5.
when trying to flash TWI sensor example programme (nRF5 SDK v12.2.0\examples\peripheral\twi_sensor\pca10028\blank\arm5_no_packs) on to nRF51822 EK.it was showing Error: Flash Download failed - "Cortex-M0".
While try to flash fallowing scenario was going
JLink info:
DLL: V6.12g, compiled Jan 27 2017 18:18:51 Firmware: J-Link ARM-OB STM32 compiled Aug 22 2012 19:52:04 Hardware: V7.00 S/N : 20090928 Feature(s) : RDI,FlashDL,FlashBP,JFlash,GDBFull
- JLink Info: Found SWD-DP with ID 0x0BB11477
- JLink Info: AP-IDR: 0x04770021, Type: AHB-AP
- JLink Info: AHB-AP ROM: 0xF0000000 (Base addr. of first ROM table)
- JLink Info: Found Cortex-M0 r0p0, Little endian.
- JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
- JLink Info: CoreSight components:
- JLink Info: ROMTbl 0 @ F0000000
- JLink Info: ROMTbl 0 [0]: F00FF000, CID: B105100D, PID: 000BB471 ROM Table
- JLink Info: ROMTbl 1 @ E00FF000
- JLink Info: ROMTbl 1 [0]: FFF0F000, CID: B105E00D, PID: 000BB008 SCS
- JLink Info: ROMTbl 1 [1]: FFF02000, CID: B105E00D, PID: 000BB00A DWT
- JLink Info: ROMTbl 1 [2]: FFF03000, CID: B105E00D, PID: 000BB00B FPB
- JLink Info: ROMTbl 0 [1]: 00002000, CID: B105900D, PID: 000BB9A3 ??? ROMTableAddr = 0xF0000000
Target info:
Device: nRF51422_xxAC VTarget = 3.300V State of Pins: TCK: 0, TDI: 0, TDO: 1, TMS: 0, TRES: 1, TRST: 1 Hardware-Breakpoints: 4 Software-Breakpoints: 8192 Watchpoints: 2 JTAG speed: 4000 kHz
Erase Failed! Error: Flash Download failed - "Cortex-M0" Flash Load finished at 12:47:00