We should use service-aliases and not the primary host name, as
that makes migration between machines hard.
Change-Id: I1ba0a5e6185af1fba5e7cccb7966fda2fa50bf24
using the address specified in the linker script leads to a large
output binary (as large as the address specified.
instead the address is now specified in the source file.
Change-Id: I69ad101593e903b74084f179cfc97fccccdfa5a3
if the string "DFU!" is found at the beginning of the RAM (e.g. as
written by the main application during USB detach), the DFU
bootloader will be started.
Change-Id: I298e3697c06d352a6e0f47266097844c490e1722
the board specific definitions should be coded when particular
environment variable/marco is defined.
this macro name is provided by the makefile in the BOARD variable.
this allows to compile the bootloader for specific devices.
see README for more information.
the board definition for the sysmoOCTSIM is also added.
Change-Id: Ie51a3af7c77ba76ac40570b871f31fd527fb255b
this ASFv4 USB library change fixes USB transfer.
two transfer-size issues existed:
- on multi-packet transfer if the last packet was less than the
USB transfer packet size, the packet would be received but not
acknowledged
- during normal transfer the packet size of a previous packet set
the size of the current packet, ignoring the actual transfer size
transfer with a combination of partial or full USB single packet,
USB multi-packet, max transfer, and control endpoint sizes was
successfully tested (in bytes): 4, 32, 64, 128, 129, 512, 516,
544, 576, 640, 641, 1024, 1028
Change-Id: Ic4e64168e865362e12e0b76386f964895b8b6c20
this bootloader is initiated and meant for the sysmo-OCTSIM, but
it can be applied for other SAM E5x/D5x boards.
Thus we remove the OCTSIM name an just use the more generic
bootloader name.
Change-Id: Icc46f0d8b4b649fd00b5c6cea5bad91a93891f14
the reserved bootloader size is set in the NVM user configuration
and allows to know the application start address (e.g. after the
bootloader)
Change-Id: I9dda27d6401caabb4a6470aa3fe9691f63097136
this include the LGPL v2.1 for the DFU stack, ASF for the ASFv4
library, and Apache 2.0 for the CMSIS.
Change-Id: If7b127ddd23bd8c5d158a731d58d425cdf6330f4
the USB-side state machine currently sets the length to 0,
preventing the actual flashing to be tested
Change-Id: I5ed9cc2a22ed5e41bb59a3ce3f21ab098cec48e7
the USB control request are now handled in separate function
depending on the direction (IN or OUT).
download and manifestation are handled.
numerous additional state machine fixes are included.
Change-Id: I5237393c2789fdeddca2182da25ef417a2e71216
uses the USB CDC ACM example code as template to create a USB DFU
description according to USB DFU specification version 1.1
USB DFU stack is under LGPLv2.1 or later license
Change-Id: I7bd6cb46b734ffe8a51f2de7083b4f9e76d385e6
this is the USB CDC Echo example project source code,
for the Microchip SAM E54 Xplained Pro development board,
based on the ATSAME54P20A micro-controller,
exported from the Atmel START website,
using the ASFv4 library.
Change-Id: Ic0e58e42d1a4076bc84a0a8d3509ec4b09a37f46