Hello Everybody,
I need to write a boot loader for nRF51422. Any suggestion for it, reference site ,sample code for quick reference ?
thanks and regards Robin Singh
Hello Everybody,
I need to write a boot loader for nRF51422. Any suggestion for it, reference site ,sample code for quick reference ?
thanks and regards Robin Singh
Hi Robin,
have you looked at the bootloader example from the nRF51822 SDK? It cannot be used directly on the nRF51422 yet, but it might serve as a reference for you. It includes two ways of transferring the updated image, serial transfer (UART) and over-the-air (BLE).
The nRF51422 SoftDevice is being updated to offer the same bootloader functionality as the nRF51822 one. Once that happens, the nRF51822 bootloader example will be directly applicable. When this update is released you might have to get a updated silicon revision of the nRF51422 though..
Audun
You are free to write any bootloader you'd like. But without softdevice support there is a weak point when upgrading the first flash page of the application space (where the interrupt vectors are). If this flash page write fails (power loss for example) you risk getting in an unrecoverable error. When supported, the softdevice can be configured to forward interrupts to a bootloader residing anywhere in flash.
You are free to write any bootloader you'd like. But without softdevice support there is a weak point when upgrading the first flash page of the application space (where the interrupt vectors are). If this flash page write fails (power loss for example) you risk getting in an unrecoverable error. When supported, the softdevice can be configured to forward interrupts to a bootloader residing anywhere in flash.