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

Programming a nRF51822 BT SMART BEACON KIT using hci_dfu_send_hex

Hi.

I am new to this forum, and can be described as a programmer with very little embedded experience.

I have bought a nRF51822 BT SMART BEACON KIT, and are trying to figure out if it is possible to reprogram this devise using a PC with BT4.0 USB dongle and the "hci_dfu_send_hex.exe" program, or do I need additional HW to do this?

I see the nRF51822 in the Blutooth Add Device dialog on my PC, either as a "Beacon Config" device or as a "DfuTarg", depending on which button on the device I press...

But in order to program the device using DFU and the hci_dfu_send_hex.exe program, I seem to need a COM port, and none of the above mentioned devices discovered seem to have a COM service...

Maybe I have misunderstood completely how programming of this device can be achieved, but any help is appreciated :-)

-- Dag Magne

Parents
  • Today I managed to build (using uVision V5.12.0.0 from Keil) and upload over the air (a hex file using the nFR Toolbox App on an IPad) the C:\nrf51_sdk_v5_2_0_39364\nRF51822\Board\nrf6310\blinky_example project to the nfr51822 Beacon Kit. I set the project/options for target nRF51822_xxAA "Read/Only Memory Areas" and "Read/Write Memory Areas" to equal the settings for the C:\Nordic Semiconductor\nRF51822 Beacon v1.0.1\Source Code\Nordic\nrf51822\Board\nrf51_beacon\pca20006\ble_app_beacon_bcs\arm project. I also changed the program to use LED 4 and 7, which make the blue and green LED start blinking.

Reply
  • Today I managed to build (using uVision V5.12.0.0 from Keil) and upload over the air (a hex file using the nFR Toolbox App on an IPad) the C:\nrf51_sdk_v5_2_0_39364\nRF51822\Board\nrf6310\blinky_example project to the nfr51822 Beacon Kit. I set the project/options for target nRF51822_xxAA "Read/Only Memory Areas" and "Read/Write Memory Areas" to equal the settings for the C:\Nordic Semiconductor\nRF51822 Beacon v1.0.1\Source Code\Nordic\nrf51822\Board\nrf51_beacon\pca20006\ble_app_beacon_bcs\arm project. I also changed the program to use LED 4 and 7, which make the blue and green LED start blinking.

Children
Related