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