Datasheet

62
SAM9M10 [DATASHEET]
6355FATARM12-Mar-13
11.5 SAM-BA Monitor
If no valid code has been found in 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 has occurred.
Check if characters have been 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 .
SD Card
MCI0 MCI0_CK PIOA0
MCI0 MCI0_CD PIOA1
MCI0 MCI0_D0 PIOA2
MCI0 MCI0_D1 PIOA3
MCI0 MCI0_D2 PIOA4
MCI0 MCI0_D3 PIOA5
SPI Flash
SPI0 MOSI PIOB1
SPI0 MISO PIOB0
SPI0 SPCK PIOB2
SPI0 NPCS0 PIOB3
TWI0 EEPROM
TWI0 TWD0 PIOA20
TWI0 TWCK0 PIOA21
SAM-BA Monitor
DBGU DRXD PIOB12
DBGU DTXD PIOB13
Table 11-3. PIO Driven during Boot Program Execution (Continued)
NVM Bootloader Peripheral Pin PIO Line