11.5
SAM-BA Monitor
If no valid code is found in the NVM during the NVM bootloader sequence, the SAM-BA Monitor program is
launched.
The SAM-BA Monitor principle is to:
Initialize DBGU and USB
Check if USB Device enumeration occurred
Check if characters are received on the DBGU
Once the communication interface is identified, the application runs in an infinite loop waiting for different
commands as listed in Table 11-4.
Figure 11-10. SAM-BA Monitor Diagram
No valid code in NVM
Init DBGU and USB
USB Enumeration
Successful ?
Yes
Run monitor
Wait for command
on the USB link
No
No
Character(s) received
on DBGU ?
Yes
Run monitor
Wait for command
on the DBGU link
SAMA5D3 Series [DATASHEET]
75
Atmel-11121F-ATARM-SAMA5D3-Series-Datasheet_02-Feb-16