EasyManua.ls Logo

Cypress FM4 Series - Example of Controlling Alternative Boot Mode (Using ADMA)

Cypress FM4 Series
1102 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CHAPTER 15: SD Card Interface
910 FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E
3.1 Example of Controlling Alternative Boot Mode (Using ADMA)
Figure 3-2 Alternative Boot Mode Operation
Start
Create Descriptor table
(1)
Set ADMA System Address Register
(2)
Set Argument 1 Register
(5)
Set Transfer Mode Register
(6)
Set MMC/eSD Control Register
(3)
Set Command Register
(8)
Wait for
Transfer Complete Interrupt,
ADMA Error Interrupt, Data * Error
Interrupt and Boot Acknowledge
Error Interrupt
(11)
(12)
Check
Interrupt Status
Transfer Complete Int.
occurs
Clear Transfer Complete Interrupt
Status
(13)
End
Clear ADMA Error, Data * Error Status
or Boot Acknowledge Error Interrupt
Status
(14)
ADMA Error Interrupt, Data * Error
Interrupt, or Boot Acknowledge Error
Interrupt occurs
Abort ADMA
Operation
Set Host Control 1 Register
(4)
(15)
Wait for
Command Complete Interrupt
(9)
Clear Command Complete
Interrupt Status
(10)
(7)
Set Timeout Control Register

Table of Contents

Related product manuals