Re: UART flash


Carles Cufi
 

Hi Alan,

-----Original Message-----
From: Alan Martinovic [mailto:alan.martinovic@senic.com]
Sent: 20 December 2017 16:09
To: Cufi, Carles <Carles.Cufi@nordicsemi.no>
Cc: zephyr-users@lists.zephyrproject.org
Subject: Re: [Zephyr-users] UART flash

Cool, thanks.

Also in the future we'd like to map firmware update to HCI so that
it's all integrated.

The purpose of this is to be able to do updates on the same physical
UART on which the Bluetooth Host-Controller communication is taking
place?
Yes, and also not to have to enter the bootloader's recovery mode. Right now you'll need to force the bootloader to enter its recovery mode to upload a new image, which will be received by the bootloader code itself. The idea in the future is that you can interleave HCI packets that contains fragments of an image with normal HCI operation, so that once the whole image is uploaded the controller only needs to reboot and the bootloader will swap the images.

The HCI specs actually have this defines?
No, those will be vendor-specific commands. You can find the currently existing ones here: https://github.com/zephyrproject-rtos/zephyr/blob/master/doc/subsystems/bluetooth/hci.txt

Regards,

Carles

Join users@lists.zephyrproject.org to automatically receive all group messages.