3.2.3 Accessing Flash from the APB slave port

Software must follow a particular flow to access the embedded Flash from the APB slave interface.

The following figure shows how to access the embedded Flash from the APB slave interface.

Figure 3-3 APB slave access to Flash flowchart
To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.

The APB slave interface can use either of two modes to trigger a new command.

Method 1 allows software to poll the STATUS register for any active bits, where an active bit indicates that GFC-100 is processing a command.

Method 2 enables CMD_SUCCESS_IRQ and CMD_FAIL_IRQ, and waits for either interrupt to be triggered. This event occurs when a command enters the SUCCESS or FAIL state. To initiate a new transfer, software must write to the ADDR, DATA0, and CTRL registers. The CTRL register must be written last because it triggers access to the embedded Flash. The command then enters the queue until it is executed.

Non-ConfidentialPDF file icon PDF version101059_0000_02_en
Copyright © 2017, 2018 Arm Limited or its affiliates. All rights reserved.