﻿EXAMPLE NAME: USBH_MS_BOOTLOADER_IAP_XMC45

*** ATTENTION ***
This example is in beta state and carries no version.
This example contains a XMCLib which is not versioned.
This example is not officially released. Use on your own risk.
Please get an official release via the known distribution channels.

EXAMPLE REVISION HISTORY:
UNVERSIONED - NO OFFICIAL RELEASE 

OVERVIEW: 
XMC4500 USB host mass storage demo for firmware update
This example demonstrates the implementation of a USB host stack supporting a mass
storage device. The USB stack is based on a open source stack LUFA and the low level
driver is based on the CMSIS USBH API.  

This example demonstrates the implementation of a bootloader for firmware update 
via USB Mass Storage Host. It is based on the open source stack LUFA implementation 
which is ported to XMC4000 family and provided within this example.
Within this documentation you will learn to configure XMC4500 having two independent
flash images installed. The bootloader image implements the USB mass storage host.
The bootloader image can be used, to update the firmware „application image“. 
For this, you just need to connect an USB flash drive which contains the firmware 
binary file to the USB port. By default, after every reset XMC4500 is executing 
„application“ image. Pushing BUTTON1 during startup forces XMC4500 to remain executing 
the „bootloader“ image and waiting for a USB flash drive to connect.

DESCRIPTION:
Please see "Getting Started - XMC4500_Relax_USBH_MS_Bootloader_IAP_Example.pdf"
chapter "Implementing the application"

REQUIREMENTS:
1) XMC4500 General Purpose board CPU_45A-V3
2) USB Cable - Micro A plug to Standard A receptacle
3) USB cable - Micro B plug to Standard A plug
3) Windows PC/Laptop installed with DAVE v4 (Version 4.1.4 or higher)
4) USB flash drive

EXAMPLE PROJECT SETUP:
Please see "Getting Started - XMC4500_Relax_USBH_MS_Bootloader_IAP_Example.pdf"
chapter "Implementing the application"

HOW TO CREATE THE PROJECT: 
Please see "Getting Started - XMC4500_Relax_USBH_MS_Bootloader_IAP_Example.pdf"
chapter "Implementing the application"

HOW TO TEST:
Please see "Getting Started - XMC4500_Relax_USBH_MS_Bootloader_IAP_Example.pdf"
chapter "How to test"

OBSERVATIONS:
Please see "Getting Started - XMC4500_Relax_USBH_MS_Bootloader_IAP_Example.pdf"
chapter "How to test"

HINTS HOW TO MIGRATE EXAMPLE TO OTHER DEVICES:
Create project for the selected XMC device that supports USB.

EXAMPLE PROJECT LIMITATIONS/KNOWN ISSUES:
Please see "Getting Started - XMC4500_Relax_USBH_MS_Bootloader_IAP_Example.pdf"

REFERENCES:
Please see "Getting Started - XMC4500_Relax_USBH_MS_Bootloader_IAP_Example.pdf"
inside root folder of the example project










