Datasheet

Table Of Contents
143
SAM7S Series [DATASHEET]
6175M–ATARM–26-Oct-12
21. SAM7 Boot Program
21.1 Description
The Boot Program integrates different programs permitting download and/or upload into the different memories of
the product.
First, it initializes the Debug Unit serial port (DBGU) and the USB Device Port.
SAM-BA
®
Boot is then executed. It waits for transactions either on the USB device or on the DBGU serial port.
21.2 Flow Diagram
The Boot Program implements the algorithm shown in Figure 21-1 or Figure 21-2.
Figure 21-1. Boot Program Algorithm Flow Diagram with USB
Figure 21-2. Boot Program Algorithm Flow Diagram without USB
Device
Setup
AutoBaudrate
Sequence Successful ?
Run SAM-BA Boot
Run SAM-BA Boot
USB Enumeration
Successful ?
Yes Yes
No
No
Device
Setup
Run SAM-BA Boot
AutoBaudrate
Sequence Successful ?
Yes
No