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

how to develop uart boot not use ble use 51822 sdk12.3

hi .eveyone.  i  use 51822 sdk12.3.0  , i want to dfu app code with uart, but not use bootloader_secure and experimental_ble_app_buttonless_dfu. i do not know how to develop.

 have some sample code to provide ,please?

Parents
  • Hello,

    Unfortunately, we don't have any serial bootloaders in SDK12.3.0.

    We do have an experimental serial bootloader in SDK13.0.0, but as you may know, the nRF51 is not supported in this SDK. What you can do is to try to port back the serial transfer layer from SDK13.0.0 to SDK12.3.0.

    If you look in SDK13.0.0 ->nrf_dfu_transport.c, you will see the nrf_dfu_transports_init(). It will run the init function declared in DFU_TRANSPORT_REGISTER() in nrf_serial_dfu.c

    You need to do the same in SDK12.3.0. 

    nrf_dfu_transports_init() will run the init function declared in DFU_TRANSPORT_REGISTER() in nrf_ble_dfu.c. Change this to the serial implementation from SDK13.0.0.

    Best regards,

    Edvin

Reply
  • Hello,

    Unfortunately, we don't have any serial bootloaders in SDK12.3.0.

    We do have an experimental serial bootloader in SDK13.0.0, but as you may know, the nRF51 is not supported in this SDK. What you can do is to try to port back the serial transfer layer from SDK13.0.0 to SDK12.3.0.

    If you look in SDK13.0.0 ->nrf_dfu_transport.c, you will see the nrf_dfu_transports_init(). It will run the init function declared in DFU_TRANSPORT_REGISTER() in nrf_serial_dfu.c

    You need to do the same in SDK12.3.0. 

    nrf_dfu_transports_init() will run the init function declared in DFU_TRANSPORT_REGISTER() in nrf_ble_dfu.c. Change this to the serial implementation from SDK13.0.0.

    Best regards,

    Edvin

Children
Related