This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Bluetooth stack not working when compile source code

Hello All

I am using following SDK version 12.2.0.i am facing some problem in some example project could you please help me

  1. If i flash the pre compiled hex file like (ble_app_hrs_rscs_relay_pca10028_s130.hex)to the nRF51 DK board ,Bluetooth example working fine

nRFgo studio using for flashing the .hex file (already exist hex file)

Path

SDK12.0\examples\ble_central_and_peripheral\experimental\ble_app_hrs_rscs_relay \hex\ble_app_hrs_rscs_relay_pca10028_s130.hex

  1. But if i compile the project using Keil IDE then if i doing flashing BLE not working could please help me

Keil IDE using For flashing

I have to change any setting in Keil IDE

Log File

JLink info:

DLL: V6.16c, compiled Jun 16 2017 18:14:49 Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jun 9 2017 14:57:23 Hardware: V1.00 S/N : 681828982

  • JLink Info: Found SW-DP with ID 0x0BB11477
  • JLink Info: Scanning APs, stopping at first AHB-AP found.
  • JLink Info: AP[0] IDR: 0x04770021 (AHB-AP)
  • JLink Info: AHB-AP ROM: 0xF0000000 (Base addr. of first ROM table)
  • JLink Info: CPUID reg: 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: Setting AIRCR.SYSRESETREQ

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

Full Chip Erase Done. Programming Done. Verify OK.

  • JLink Info: Setting AIRCR.SYSRESETREQ Application running ... Flash Load finished at 10:43:32

Thanks and Regards

Ameer

Parents
  • Hi,

    You need to flash the SoftDevice also. To program the SoftDevice using nRFgo Studio, perform the following steps:

    1. Open nRFgo Studio.
    2. In the Device Manager, select the nRF5 Development board that you are working with (identified by the SEGGER serial number).
    3. Select the Program SoftDevice tab.
    4. Click Browse and navigate to the SoftDevice file that you want to use. (located in SDK_folder\components\softdevice\s130\hex\)
    5. Click Program.

    nRFgo Studio will erase any existing SoftDevice and program the selected SoftDevice. Flash your application from Keil afterwards.

Reply
  • Hi,

    You need to flash the SoftDevice also. To program the SoftDevice using nRFgo Studio, perform the following steps:

    1. Open nRFgo Studio.
    2. In the Device Manager, select the nRF5 Development board that you are working with (identified by the SEGGER serial number).
    3. Select the Program SoftDevice tab.
    4. Click Browse and navigate to the SoftDevice file that you want to use. (located in SDK_folder\components\softdevice\s130\hex\)
    5. Click Program.

    nRFgo Studio will erase any existing SoftDevice and program the selected SoftDevice. Flash your application from Keil afterwards.

Children
No Data
Related