Skip to content

Instantly share code, notes, and snippets.

@siddacious
Created February 16, 2020 03:45
Show Gist options
  • Save siddacious/5643359b55d571965b04a06cad3af489 to your computer and use it in GitHub Desktop.
Save siddacious/5643359b55d571965b04a06cad3af489 to your computer and use it in GitHub Desktop.
building/flashing OHS2020 badge
(base) Bryans-MBP:Adafruit_nRF52_Bootloader bs$ make BOARD=ohs2020_badge flash
CC main.c
CC boards.c
CC flash_nrf5x.c
CC dfu_ble_svc.c
CC dfu_init.c
CC nrfx_power.c
CC nrfx_nvmc.c
CC system_nrf52840.c
CC bootloader.c
CC bootloader_settings.c
CC bootloader_util.c
CC dfu_transport_serial.c
CC dfu_transport_ble.c
CC dfu_single_bank.c
CC pstorage_raw.c
CC ble_dfu.c
CC ble_dis.c
CC app_timer.c
CC app_scheduler.c
CC app_error.c
CC app_util_platform.c
CC crc16.c
CC hci_mem_pool.c
CC hci_slip.c
CC hci_transport.c
CC nrf_assert.c
CC usb_desc.c
CC usb.c
CC msc_uf2.c
CC ghostfat.c
CC dcd_nrf5x.c
CC tusb_fifo.c
CC usbd.c
CC usbd_control.c
CC cdc_device.c
CC msc_device.c
CC tusb.c
AS gcc_startup_nrf52840.S
LD ohs2020_badge_bootloader-0.3.0-7-g27cd385-nosd.out
CR ohs2020_badge_bootloader-0.3.0-7-g27cd385-nosd.hex
Flashing: _build-ohs2020_badge/ohs2020_badge_bootloader-0.3.0-7-g27cd385-nosd.hex
nrfjprog --program _build-ohs2020_badge/ohs2020_badge_bootloader-0.3.0-7-g27cd385-nosd.hex --sectoranduicrerase -f nrf52 --reset
Parsing hex file.
Erasing page at address 0xF4000.
Erasing page at address 0xF5000.
Erasing page at address 0xF6000.
Erasing page at address 0xF7000.
Erasing page at address 0xF8000.
Erasing page at address 0xF9000.
Erasing page at address 0xFA000.
Erasing page at address 0xFB000.
Erasing UICR flash area.
Applying system reset.
Checking that the area to write is not protected.
Programming device.
Applying system reset.
Run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment