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

fail flash bootloader by ST-link

Here My device (chip nrf51822_xxAA) exist softdevice 8.0.3 and BLE uart application work fine which flash by the ST-link in Keil MDK(5.20). Now I try to add bootloader to my device from the example project of "bootloader\pca10028\dual_bank_ble_s110", built without problem but flash has below message

No Algorithm found for: 10001014H - 10001017H Partial Erase Done (areas with no algorithms skipped!) No Algorithm found for: 10001014H - 10001017H Partial Programming Done (areas with no algorithms skipped!) Partial Verify OK (areas with no algorithms skipped!) Application running ... Flash Load finished at 00:08:43

The device run into application (Advertiseing LED blink) even I press button during power on (DFU mode) , It seems bootloader code did not execute. (I checked that address at 0x3C000 exsit code) Even I modified bootloader code force only in DFU mode but still jump to application.

Any suggestions to know what's happen in my process ?

  1. Softdevice must exist in device before flash th bootloader. ( my device exist softdevice and application (BLE uart) ) .
  2. bootloader flash process , nRF docs are all for jlink( use nrfjprog.exe) not for ST-link. ( same problem -jlink can not write directly to the User Information Configuration Registers(UICR) ?)

Could give the right method to flash bootloader image into nrF51822 device by ST-link.

Thanks in advance.

Related