diff --git a/tools/pyburnboot/pyburnboot.py b/tools/pyburnboot/pyburnboot.py deleted file mode 100644 index 54102f71..00000000 --- a/tools/pyburnboot/pyburnboot.py +++ /dev/null @@ -1,37 +0,0 @@ -import sys -import platform -import os -import os.path -from pynrfjprog import API, Hex - -# Command Line option -if (len(sys.argv) < 2): - print "Burn bootloader with Softdevice hex using JLink" - print ("Usage: python %s ")%(sys.argv[0]) - sys.exit() - -hexfile = sys.argv[1] - -api = API.API('NRF52') -api.open() -api.connect_to_emu_without_snr() - -print 'Erasing Feather' -api.erase_all() - -print 'Writing bootloader' - -# Convert hex to array -hexdata = Hex.Hex(hexfile) - -# Write data to MCU -for seg in hexdata: - api.write(seg.address, seg.data, True) - -# Reset device and run -api.sys_reset() -api.go() - -api.close() - -print 'Done' \ No newline at end of file diff --git a/tools/pynrfbintool/nrfbintool.c b/tools/pynrfbintool/nrfbintool.c index fe9f950a..83c76fc5 100644 --- a/tools/pynrfbintool/nrfbintool.c +++ b/tools/pynrfbintool/nrfbintool.c @@ -1,6 +1,6 @@ /**************************************************************************/ /*! - @file at_cmd_hwpin.c + @file nrfbintool.c @author hathach @section LICENSE