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

Programming Raytac MDBT40 (nRF51822 based BLE module)

Dear Nordic family,

I tried programming MDBT40 (purchased from Raytac) with the same code which worked with nRF51822 Bluetooth Low Energy BLE 4 and 2.4GHz Wireless Communication Module. The project has an LED blinking taken from the example project

..\nRF51_SDK_8.0.0_5fc2c3a\examples\peripheral\timer

and the BLE and UART fuctions taken from the project

..\nRF51_SDK_8.0.0_5fc2c3a\examples\ble_peripheral\ble_app_uart

I erased the chip, programmed the softdevice (S110) and then programmed using the .hex file of the above project.

It is getting programmed successfully, but is not getting detected in the UART app (I tried NRF toolbox, master control panel and nrf UART apps)

I have already tried the following considering the suggestions from devzone

  1. Changed the line SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, NULL); in main() to SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_8000MS_CALIBRATION, NULL);
  2. Connected 12k pull down from SWCLK

Any thoughts?

(PS: I am using Keil (sometimes J-Lite) and Segger J-Link for programming. Haven't tried nRFGo yet. Is it a must to use nRFGo for programming nRF chips?)

Parents
  • i'm using the MDBT40 and all is working. I have gotten into to work w/ the LFCLKSRC you used. I have programmed using nRFGo...but mostly program and debug from my mac using jlinkexe as well as the Jlink debugger within Eclipse. I have also gotten a BLE app i wrote on iOS to get characteristics from the MDBT40 - so all seems to be worked (well i have A LOT more testing to do :-) )...

    Note: You do not need the pull down resistor. The nRF51822 has these resistors "built in"...

    my thoughts are to try a far simpler app. Just blink an LED off a gpio to make sure the SWD lines are working through debug out, etc.

Reply
  • i'm using the MDBT40 and all is working. I have gotten into to work w/ the LFCLKSRC you used. I have programmed using nRFGo...but mostly program and debug from my mac using jlinkexe as well as the Jlink debugger within Eclipse. I have also gotten a BLE app i wrote on iOS to get characteristics from the MDBT40 - so all seems to be worked (well i have A LOT more testing to do :-) )...

    Note: You do not need the pull down resistor. The nRF51822 has these resistors "built in"...

    my thoughts are to try a far simpler app. Just blink an LED off a gpio to make sure the SWD lines are working through debug out, etc.

Children
No Data
Related