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

nrf6310 device firmware update is not working

Hi,

We are using nRF51822 evaluation kit. Actually we are trying to know how the device firmware upgrade is working. As mentioned in the nrf51 sdk manual, we did flashing the device firmware update application for nrf6310 to the pca10001, since we don't have sample code for pca10001.

Then following the readme file in the C:\Keil\ARM\Device\Nordic\nrf51822_v4.4.0.30888_Backup_1\Board\nrf6310\device_firmware_updates\experimental\ble_dfu_send_hex\readme.txt we installed,

a. IronPython v2.7.4 (2.7.3 in document) b. .Net Framework 4.5
c. Master Control Panel and Master Emulator API

Then connected the dongle and in the command window we entered the command as mentioned,

C:\Users\Public>ipy main.py -f ble_app_hrs.hex -n Embdes_HRM -a C52B0F4DF8E9 File main.py does not exist.

Then we gave the path of the main.py as follows,

[b]C:\Users\Public>ipy "C:\Program Files\IronPython 2.7\Lib\lib2to3\main.py" -f b e_app_hrs.hex -n Embdes_HRM -a C52B0F4DF8E9 Traceback (most recent call last): File "C:\Program Files\IronPython 2.7\Lib\lib2to3\main.py", line 14, in ValueError: Attempted relative import in non-package[/b]

so please tell how to overcome this, we need to know how the device firmware upgrade application is working on ble.

Regards, Balaji

Related