I build the example and download to PCA10040,but there no log print in RTT, and I debug in keil mdk, I found the program does not step into main function.
How to run this example?Does there have any document to describle about usart DFU?
I build the example and download to PCA10040,but there no log print in RTT, and I debug in keil mdk, I found the program does not step into main function.
How to run this example?Does there have any document to describle about usart DFU?
I use proprietary RF, the softdevice is not needn't, right?
I have a question, I'm not find the VTOR offset config in bootloader, where does it set?
I want modify the bootloader dfu transport from usart to proprietary RF,Can you give me some brief description for to achieve it?
Thank you
I use proprietary RF, the softdevice is not needn't, right?
I have a question, I'm not find the VTOR offset config in bootloader, where does it set?
I want modify the bootloader dfu transport from usart to proprietary RF,Can you give me some brief description for to achieve it?
Thank you
Hi,
You are right, if you don't plan to use BLE in both your application and the bootloader (UART DFU) then you don't need the softdevice.
But the bootloader requires a MBR (master boot record) to be flashed at address 0x0000 to be able to work. The MBR will handle the forwarding of the vector table.
You can find the MBR at \components\softdevice\mbr\hex
We don't have an example of using proprietary RF to do DFU. But due to the way the bootloader designed, it should be rather straight forward to do. I would suggest to study the nrf_dfu_serial_uart.c code.
In the code you can find how you can call DFU_TRANSPORT_REGISTER() to register your own dfu transport. And how you can define the init function to handle event from the upper level of the DFU library. It shouldn't be too hard to change it to your own transport protocol.
But I would suggest to test with the stock UART bootloader first , before modifying it.