Issue with nRF5340 Net core serial recovery

Hello,

I've an issue that I can't find clear instructions for the nRF5340 serial recovery for the network core.

Being able to update both cores from the bootloader level is crucial for my application, however, I feel like there's a lack of support regarding this area.

I've explored several threads here mentioning the same problem over several nRF Connect SDK versions, but most of them are out-of-date, and none of them reached a conclusion on whether it's possible or not.

Also, as mentioned in one of those tickets, it's mentioned that this Bluetooth: Peripheral UART sample project supports the Net-Core serial recovery by adding some extra configurations without mentioning how this can be tested or verified.

Also, the course for DFU from DevAcademy explicitly mentions that serial recovery for the net-core isn't covered.

Can you help with that?

FYI, updating the 2 cores over the serial port or using FOTA from the application works fine, but this requires the application to continue supporting this feature between subsequent versions and doesn't guard against application failures.

Thanks,

Ahmed

Parents Reply
  • Hello Vidar,

    I'm using SDK 2.9.0.

    Regarding the samples you mentioned, I've already checked them, and they don't seem to support the serial recovery for the network core.

    Following this sample mcuboot_netcore_serial_recovery , it's mentioned to use the signed binary for the network core.
    I've already tested it, and it results in the application not booting.

    The sample assumes that you just need to use a different binary, which I think is not enough.
    I'd expect it to work if the MCUmgr accepts HEX files as they contains information about the loading address.
    But, as the MCUmgr deals only with binary files, How would it differentiate between a binary targeted for the application from the one targeted for the net core.

    I'm expecting that another way should be used to tell the bootloader about this.
    In order to do the update from the application, I need to upload different images to different slots.
    This way, the bootloader can decide which goes where.

    Thanks,

    Ahmed

Children
Related