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

ble RAYTAC module unable to broadcasting

image description(/attachment/0d25096700c25ba2997c4e5d2bf6fc04)(/attachment/f1e5e26eab581ef6f9faf8ff042f083f)(/attachment/3b9572cb2963b658426ea8d53a490b7e)nrfgo_studio_screenshot.PNG(/attachment/6477c26e4f1d390dd59b24a7f73d1609)(/attachment/d4666a763cd86670f6dae420f14c10ee)nrf_screenshot.PNGHello all,

I am working on Raytac MDBT40 module and programming it with external J-link segger . when i program it with normal blinky code(blank) its working fine i can see LED toggle. but when program it with the BLE examples

(E:\Nordic\NRF51_SDK_JLINK\nRF5_SDK_12.3.0_d7731ad(1)\nRF5_SDK_12.3.0_d7731ad\examples\ble_peripheral\ble_app_uart\pca10028\s130\arm5_no_packs) 

nothing is broadcasting in my smartphone , i am using "nRF5_SDK_12.3.0_d7731" i tried programming softdevice

(E:\Nordic\Nrf51DK\nRF5_SDK_12.3.0_d7731ad(\nRF5_SDK_12.3.0_d7731ad\components\softdevice\s130\hex)

also but nothing is advertising. btwn i have connected external 32,768kHz . i gone through other related posts and tried the things but nothing working,

Any suggestions

Parents
  • Hello pavan

    I will write this as an answer due to the length of the post

    You use Keil to generate the hex files. The hex files are written in intel hex format. In addition to your application code, the hex file contains information for the flasher, at what physical location the code is to be located in flash.

    The start location in IROM1 I mentioned above decides the start address for the first instruction in the hex file. It is important that start location is not within the region of flash occupied by the SoftDevice. The size parameter does not affect the hex file itself, but allows keil to generate an error if your code is too large. The screenshot you uploaded indicates that you are attempting to write application code to a location in flash where the SoftDevice is located.

    You have previously stated that you are using SoftDevice S130, but in your screenshot I see now it states you have flashed S110? SoftDevice S110 is an old version of the SoftDevice, and is not compatible with SDK 12.3. Please ensure you are using S130 from SDK 12.3

    EDIT additional answers

    The nRF51422_xxac you see besides the load button does not affect your target, but rather what you flash. This is meant to allow quicker flashing of softdevice and application code directly from Keil.

    I usually flash the SoftDevice using nRFgo as you have done previously, and then the application code directly from Keil, I don't touch the drop down menu next to the load button. Keil will usually autodetect your segger J-link OB chip or Segger J-link hardware. If you have more than one kit connected you can press

    target options (the wand) -> utilities ->settings -> Debug
    

    Here it should automatically detect all connected devices. You can choose which device you want to flash to by using the drop down menu. If it does NOT automatically detect the devices you probably have wrong settings set in the Debug tab in the target options, so that's

    Target options (the wand) -> Debug
    

    To the top right of this window there is a drop down menu. It should be set to J-LINK / JTRACE Cortex.

    From here you simply need to compile your code and press the load button to flash the chip.

    Best regards

    Jørn Frøysa

  • What are you using to look for advertisements? You mention a smartphone in your original post, what app are you using? Is it an unmodified version of the ble_app_uart example you are using?

Reply Children
No Data
Related