[riot-notifications] [RIOT-OS/RIOT] boards: add support for nrf52840-dongle (#13146)

chrysn notifications at github.com
Fri May 8 11:45:44 CEST 2020


>     * if you open the `ttyACM` device with a special baudrate, RIOT will reset the board, but before it does that it writes a magic value to a certain location in memory, specific to the bootloader

As I understand, that's not a consequence of bootloader_nrfutil, but of usb_board_reset.

>     * the bootloader checks that memory for the magic value and if it matches, it will not start the payload but instead enter DFU mode (or whatever the bootloader uses for flashing).

The magic value in the bootloader is set in `adafruit-clue/reset.c` -- sure we could start generalizing this, but a) I opine that the baud-rate-to-bootloader should be limited to boards that do this with the vendor SDK, and b) I suggest we keep a clear distinction between "is flashed using nrfutil and uses its flash layout" and "can be reset using the convention of a)" (which are independent).



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/13146#issuecomment-625734994
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200508/c5736573/attachment.htm>


More information about the notifications mailing list