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

Blinky project builds/loads fine but doesn't actually run on nRF51822/nRFgo

Blinky project is opened with Keil-uVision5 Projects builds with 0 errors, 0 warnings. Project seems to load properly without issue, see output window below

JLink info:

DLL: V4.92 , compiled Sep 30 2014 09:33:42 Firmware: J-Link Lite-Cortex-M V8 compiled Jul 17 2014 11:40:12 Hardware: V8.00 S/N : 518109943 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: nRF51822_xxAA VTarget = 3.306V State of Pins: TCK: 0, TDI: 0, TDO: 0, TMS: 1, TRES: 1, TRST: 1 Hardware-Breakpoints: 4 Software-Breakpoints: 8192 Watchpoints: 2 JTAG speed: 2000 kHz

Erase Done. Programming Done. Verify OK. Application running ...

But non of the leds actually light up except for led0, which i think just comes on when the board is plugged in.

novice with nordic, help please T.T

  • Did you erase the SoftDevice with nRFgo Studio yet? You got to do that first in order to run the Blinky demo. Let me know if it still doesn't work.

    image description

  • Are you using the dev. kit with nRF6310 motherboard? Did you connect port 1 (P1.0-P1.7) to the LEDS header? If you are using the ev. kit you need to map the LED pins accordingly. Did you erase the chip as Tsan-Ming mentioned? You can try to flash the application with nRFgo Studio, and then verify, to see if it actually got flashed.

  • nRFgo 6310 motherboard all set up and ready to go according to pdf documentation. Port one(P1.0-P1.7) is connected to p2(led header). The chip was erased prior to build and loading. I will attempt to flash the application using nRFgo Studio and report back if it works. Thank you Stian

  • I clicked "Erase all" before I tried to load/flash the successfully built example application(Blinky v5) with uVision5. nRFgo confirmed the board was connected and lists it as "Board 1", corresponding to the "1" appearing on the nRF6310 motherboard display. The application is stated as "running.." in the Keil uVision output window after "load" is clicked. I tried adjusting the nRF51822 P1 connector/jumper between 32kHz and I/O options; neither worked. And I have read all of the corresponding pdfs for nRF51822, nRFgo and nRF6310. I'm going to try Stian's suggestion to flash the program from nRFgo Studio rather than Keil uVision and report back. Any other suggestions/screen shots are welcome and appreciated!

  • Update: Flashed the program via nRFgo Studio. No reaction from the motherboard though the application was listed as "running.." Attempted to switch out motherboard, then 51822 board, then I tried both(new motherboard and nRF51822 board). No success so far.

Related