This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error: Flash Download failed - "Cortex-M0"

I am currently using the nRF51422 DK along with the nRFgo Starter Kit. I followed the instructions in the PDF "nRF51422_DK_UG_v2.0," and I attached the nRF51422 with PCB antenna (PCA10006) to the nRFgo motherboard (nRF6310). I then connected the J-Link to the nRF51422, and then to my PC via USB. Next I connected the motherboard to my PC via USB.

I downloaded nRFgo Studio, J-Link software from Segger, and uVision (version 4 and version 5). I then tried to test the toolchain according to page 18 of the PDF. I ran J-Link Commander, and it recognizes my J-Link Lite Cortex-M. I ran nRFgo studio and I was able to select the correct SEGGER and erase all.

Next, I try to program my nRF51422 with the Blinky project. I open uVision v4.0, open the project, and build the project. When I try to build the project, I receive the following: "Error: Flash Download failed - 'Cotex-M0'"

The build output states:

Load "C:\Keil_v5\ARM\Device\Nordic\nrf51422\Board\nrf6310\s210\ant_broadcast\broadcast_tx\arm\_build\ant_broadcast_tx.axf" Set JLink Project File to "C:\Keil_v5\ARM\Device\Nordic\nrf51422\Board\nrf6310\s210\ant_broadcast\broadcast_tx\arm\JLinkSettings.ini"

  • JLink Info: Device "NRF51422_XXAA" selected (257 KB flash, 16 KB RAM).

JLink info:

DLL: V4.90b, compiled Aug 14 2014 09:40:57 Firmware: J-Link Lite-Cortex-M V8 compiled Jul 17 2014 11:40:12 Hardware: V8.00 S/N : 518108171 Feature(s) : GDB

  • JLink Info: Found SWD-DP with ID 0x0BB11477
  • JLink Info: Found Cortex-M0 r0p0, Little endian.
  • JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots ROMTableAddr = 0xE00FF003

Target info:

Device: nRF51422_xxAA VTarget = 3.293V State of Pins: TCK: 0, TDI: 0, TDO: 1, TMS: 1, TRES: 1, TRST: 1 Hardware-Breakpoints: 4 Software-Breakpoints: 8192 Watchpoints: 2 JTAG speed: 2000 kHz

Erase Failed! Error: Flash Download failed - "Cortex-M0"

Parents Reply Children
No Data
Related