Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SDK that supports SoftDevice s110 and nrf51288 and its DK

This should not be so hard - have to go here and wait until this gets answered.

1. I can't find an SDK consistent with SoftDevice s110.

2. I have an nRF51822 production device and a corresponding DK. I need the SDK that supports SoftDevice 110 and works on the nrf51822.

nrf5SDK does not indicate support for nrf51* chips, only nrf52*.

That's all folks.

This should be easier and it should be easily found on the web site so I dont have to wait 24-48 hours before I can get to work.

  • I have stumbled through lots of problems and made lot of different attempts. I abandoned the 10.0.0 SDK because it had NO s110 SoftDevice hex file. It had all the other versions so I figured this SDK is simply incompatible with s110 SoftDevice.

    I dug up an 8.1.0 SDK and it DID have an s110 SoftDevice. However, I had a full day of headaches not realizing my Keil version was incompatible with this projects in this SDK. After many hours I finally went with Keil Chat help and he discovered that issue.

    So I finally built the project for the correct device and was able to flash the SoftDevice. However, flashing the hts gave me the same Cortex M0 error with an erase failure that i had before.

    So I used the nRF Connect program to erase everything and then install the SoftDevice. Same result when I tried to flash the hts from Keil.

    So that is where I am at now.

    • Given up on 10.0.0 (may come back to that)
    • Have 8.1.0 that has an s110 hex file
    • Get it to build for the nrf51822
    • Have softdevice s110  HEX and hts HEX.
    • Cant flash hts HEX from Keil. Get Cortex M0 error.

    Its 5 Am and I have another full day of trial and error to look forward to. The thing I am going to look at next are the addresses for the flashing shown in Keil. They are the same for both the SoftDevice and the hts. Makes no sense. But when I flash SoftDevice, nrfConnect shows something completely different. It appear those memory address locations are ignored. I am totally confused as to what is going on.

    I wish the nrf51* DK and SDK were as nice as the nrf2*.The latter simply worked. This one is a mess.

  • Hi, 

    brianreinhold said:
    Cant flash hts HEX from Keil. Get Cortex M0 error.

    Could you provide the error log?

    For S110 v0.8, you should set the minimum RAM Start at 0x20002000, FLASH start 0x18000. See this adjustment-of-ram-and-flash-memory

    -Amanda H.

  • I tried all kinds of RAM starts and flash starts. Seemed to be ignored. IN any case, made no difference. I would have expected the project to be setup with the correct values so in the end I went with those provided.

    However, my options are not as you provide. I have 'RAM for Algorithm start' and 'Programming Algorithm start'. If there are other places to do what you say I don't know where it is, but I would again assume the project would be correctly set giving I am using the s110 version of the project for Keil.

    I cannot find a log for the flashing error. The build log in Keil is:

    Load "E:\\projects\\utech\\nrf51_SDK_8.1.0\\examples\\ble_peripheral\\ble_app_hts\\pca10028\\s110\\arm4\\_build\\nrf51822_xxaa_s110.axf"
    Set JLink Project File to "E:\projects\utech\nrf51_SDK_8.1.0\examples\ble_peripheral\ble_app_hts\pca10028\s110\arm4\JLinkSettings.ini"
    * JLink Info: Device "NRF51822_XXAA" selected.

    JLink info:
    ------------
    DLL: V6.88a, compiled Nov 18 2020 15:09:23
    Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 17 2020 14:43:00
    Hardware: V1.00
    S/N : 681004495
    Feature(s) : RDI, FlashBP, FlashDL, JFlash, GDB

    * JLink Info: Found SW-DP with ID 0x0BB11477
    * JLink Info: DPIDR: 0x0BB11477
    * JLink Info: Scanning AP map to find all available APs
    * JLink Info: AP[1]: Stopped AP scan as end of AP map has been reached
    * JLink Info: AP[0]: AHB-AP (IDR: 0x04770021)
    * JLink Info: Iterating through AP map to find AHB-AP to use
    * JLink Info: AP[0]: Core found
    * JLink Info: AP[0]: AHB-AP ROM base: 0xF0000000
    * JLink Info: CPUID register: 0x410CC200. Implementer code: 0x41 (ARM)
    * 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]: E00FF000, CID: B105100D, PID: 000BB471 ROM Table
    * JLink Info: ROMTbl[1] @ E00FF000
    * JLink Info: ROMTbl[1][0]: E000E000, CID: B105E00D, PID: 000BB008 SCS
    * JLink Info: ROMTbl[1][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT
    * JLink Info: ROMTbl[1][2]: E0002000, CID: B105E00D, PID: 000BB00B FPB
    * JLink Info: ROMTbl[0][1]: F0002000, CID: B105900D, PID: 000BB9A3 ???
    ROMTableAddr = 0xF0000000
    * JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.
    * JLink Info: Reset: Reset device via AIRCR.SYSRESETREQ.

    Target info:
    ------------
    Device: nRF51822_xxAA
    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 07:07:20

  • Hi, 

    Could you make sure that your IROM/IRAM settings are set properly for S110 example projects as this post?

    Maybe this question is also helpful.

    -Amanda H.

Related