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

Confused by versions

OK, there are multiple versions of:

  • nRF51 chi
  • PCA10028 dev board
  • example projects
  • SDK
  • soft device
  • Keil dev environment

I getting all sorts of errors about the example projects referencing files that are not installed. If I hit OK through all those errors then the project builds. But when I try to download the hex file I get errors about the download failing.

My dev board is the PCA10028 version V1.1.0 The Nordic chip has the following printed on it:

NS1422

QFACA1

1503A0

My SDK is version 9.0.0

My version of Keil is MDK-Lite Version: 5.16a

My dev board is loaded with the S110 softdevice that came with the SDK. I'm not sure how to report the version of that.

What have I got wrong?

Parents
  • Attempting to download the hex file to the target yields this message, which looks like it's trying to download to the wrong device:

    Load "C:\\Nordic\\nRF51_SDK_9.0.0_2e23562\\examples\\ble_peripheral\\ble_app_bps\\pca10028\\s110\\arm4\\_build\\nrf51422_xxac_s110.axf" 
    Set JLink Project File to "C:\Nordic\nRF51_SDK_9.0.0_2e23562\examples\ble_peripheral\ble_app_bps\pca10028\s110\arm4\JLinkSettings.ini"
    * JLink Info: Device "NRF51422_XXAC" selected.
     
    JLink info:
    ------------
    DLL: V4.98e, compiled May  5 2015 11:00:52
    Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled May  4 2015 13:48:48
    Hardware: V1.00
    S/N : 681448548 
     
    * 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
    * 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 = 0xF0000003
     
    Target info:
    ------------
    Device: nRF51422_xxAC
    VTarget = 3.300V
    State of Pins: 
    TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1
    Hardware-Breakpoints: 4
    Software-Breakpoints: 8192
    Watchpoints:          2
    JTAG speed: 1000 kHz
     
    Erase Failed!
    Error: Flash Download failed  -  "Cortex-M0"
    Flash Load finished at 09:42:22
    
Reply
  • Attempting to download the hex file to the target yields this message, which looks like it's trying to download to the wrong device:

    Load "C:\\Nordic\\nRF51_SDK_9.0.0_2e23562\\examples\\ble_peripheral\\ble_app_bps\\pca10028\\s110\\arm4\\_build\\nrf51422_xxac_s110.axf" 
    Set JLink Project File to "C:\Nordic\nRF51_SDK_9.0.0_2e23562\examples\ble_peripheral\ble_app_bps\pca10028\s110\arm4\JLinkSettings.ini"
    * JLink Info: Device "NRF51422_XXAC" selected.
     
    JLink info:
    ------------
    DLL: V4.98e, compiled May  5 2015 11:00:52
    Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled May  4 2015 13:48:48
    Hardware: V1.00
    S/N : 681448548 
     
    * 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
    * 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 = 0xF0000003
     
    Target info:
    ------------
    Device: nRF51422_xxAC
    VTarget = 3.300V
    State of Pins: 
    TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1
    Hardware-Breakpoints: 4
    Software-Breakpoints: 8192
    Watchpoints:          2
    JTAG speed: 1000 kHz
     
    Erase Failed!
    Error: Flash Download failed  -  "Cortex-M0"
    Flash Load finished at 09:42:22
    
Children
No Data
Related