These instructions assume nothing is plugged in or running, so we are both on the same page.
Perf board TS06.2:
  1. Connect: Power, UART and Jlink. 
  2. Prepare Putty.
  3. Setup jflash-lite: Device is nRF51822_xxAA
  4. Erase mem. 
  5. Don’t load any soft-machine
  6. Flash with “Reflector-1w_(6b)_UART_TS06_2.hex”
  7. Power-cycle.
  8. No LEDs flash, after startup sequence
  9. You should see this:


  1. Connect: USB and Jlink.  Prepare Putty
  2. NB! This device is nRF51822_xxAC
  3. Erase mem
  4. Load soft-machine “s130_nrf51_1.0.0_softdevice.hex”
  5. Load my software “Initator_1w_UART_TS06_3.hex”
  6. Push the reset button – nearest the uSD card
  7. Should see exactly this sequence: see this video


  1. Plug in the little BLE dongle.  Note the serial# on the chip!
  2. Connect MCP to the dongle.  Make sure you specify the correct serial# or you may connect to the JLink instead, and since it may ask to reflash the dongle, this could be bad.  If it does ask to feflash dongle select the “slow” option.
  3. Start discovery.  This can take several attempts at 5 seconds each.

  4. Notice above, that a foreign BLE device (0x68644B269739… my neighbor’s) has been discovered!
  5. Select “ts” from the list, and click “Select Device”.  Wait up to 5 seconds… If it connects you should see this LED pattern:

    Weasle words: BLE is a bit unpredictable at this point. It should connect, and you should see a list of characteristics.
    If not press “Connect”, or start over.
    If no services characteristics are printed then press “Discover services”

  6. Click “Enable Services”

Running a range operation

  1. Click last item in list, type in 2-digit hex#, and press “Write”.

  2. If it works you should see something like this on the putty channel, and the MCP characteristic above the one you typed in will show the range in hex-centimeters with the bytes reverse.  Great huh  EF-FF => FFEF => -17cm
N.B. I have bum antenna delays set up on mine, so the ranges are whacky.

Leave a Reply