Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

ATSAMA5D41A-CU View Datasheet(PDF) - Atmel Corporation

Part Name
Description
MFG CO.
ATSAMA5D41A-CU
Atmel
Atmel Corporation Atmel
'ATSAMA5D41A-CU' PDF : 1808 Pages View PDF
12.4.2 NVM Bootloader Program Description
Figure 12-3. NVM Bootloader Program Diagram
Start
Initialize NVM
Initialization OK?
No
Yes
Valid code detection in NVM
Restore the reset values
for the peripherals and
Jump to next boot solution
No
NVM contains valid code
Yes
Copy the valid code
from external NVM to internal SRAM.
Restore the reset values for the peripherals.
Perform the REMAP and set the PC to 0
to jump to the downloaded application
End
The NVM bootloader program first initializes the PIOs related to the NVM device. Then it configures the right
peripheral depending on the NVM and tries to access this memory. If the initialization fails, it restores the reset
values for the PIO and the peripheral, and then tries to fulfill the same operations on the next NVM of the
sequence.
If the initialization is successful, the NVM bootloader program reads the beginning of the NVM and determines if
the NVM contains a valid code.
If the NVM does not contain a valid code, the NVM bootloader program restores the reset value for the peripherals
and then tries to fulfill the same operations on the next NVM of the sequence.
If a valid code is found, this code is loaded from the NVM into the internal SRAM and executed by branching at
address 0x0000_0000 after remap. This code may be the application code or a second-level bootloader. All the
calls to functions are PC relative and do not use absolute addresses.
SAMA5D4 Series [DATASHEET]
73
Atmel-11238C-ATARM-SAMA5D4-Datasheet_12-Jul-16
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]