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

Faulty DK-52?

Hi, Few days ago I received my DK-52, I set up the development environment based on Keil and started to compile some of the examples included into the SDK. I have not a Windows machine so I am working with Windows hosted in VirtualBox on OSX and iPhone 6 (iOS 9.3.2).

The first example I tested was ble_app_beacon that worked fine.

Then I tested ble_app_hrs and it works fine too. Using nRF Connect I see a peripheral named Nordic_HRM with 3 characteristics Heart Rate, Battery Service and Device Information. Looking at Heart Rate characteristic, I can see changing values. Using nRF Toolbox and HRM, I can see the graph as expected.

Then I tested ble_app_cscs. At the beginning nRF Connect still shows a Nordic_HRM peripheral. Turning on and off the board, eventually Nordic_CSC peripheral appears, but it still has the same characteristichs of ble_app_hrs (Heart Rate, Battery Service and Device Information). I tryed to erase the device using nRFgo but nothing changed.

Eventually I tested ble_app_bps, same behaviour of ble_app_cscs.

I have also tested with LightBlue just in case.

If I run the ble_app_beacon or ble_app_hrs they work as expected.

Is my DK-52 faulty? If not, what am I doing wrong?

Each time I upload from Keil, I see a message asking me to upgrade the Jlink. I tried to do that but I get an error. See below:

New firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 15 2016 18:03:17 Current firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Feb 12 2016 12:15:53 Starting bootloader... Waiting for emulator to detach... OK after 633ms. Waiting for emulator to attach... Timeout. ERROR: Communication timeout. Emulator did not re-enumerate. ERROR: Firmware update failed.

Could be this the reason of my problems uploading examples?

Thank you for any suggestion.

Parents
  • You will have problems updating J-link firmware where updater runs on virtual machine. During update process J-Link reboots and has to be manually attached to VM that's why upgrade fails at Waiting for emulator to attach... It's easiest to use real host with windows or linux to do this.

    As for your other problems please describe in detail how you are uploading programs to your board and what expected result in your opinion should be.

Reply
  • You will have problems updating J-link firmware where updater runs on virtual machine. During update process J-Link reboots and has to be manually attached to VM that's why upgrade fails at Waiting for emulator to attach... It's easiest to use real host with windows or linux to do this.

    As for your other problems please describe in detail how you are uploading programs to your board and what expected result in your opinion should be.

Children
No Data
Related