Operation

Operation overview

On this page

This part of the manual follows the firmware through one task at a time, in the order the hardware requires. Several steps keep the vendor’s order even where the final register values would not show a difference; the pages mark those steps.

Start-up

  1. Download the image. The bootloader unpacks the runtime into the chip’s memories and initializes the PHY.
  2. Prepare the platform. Configuration word, remap windows and memory probe, timers, interrupt controller, then DMA and clocks.
  3. Wait for the host. The host interface reports that the host is ready.
  4. Enable timer and AES interrupts, and test the AES engine.
  5. Publish the host interface rings.
  6. Start packet DMA. Receive DMA, the TSF, the TX rings and the MAC’s automatic responses.
  7. Start the MAC. Receive register image, MAC start-up state, packet controller.
  8. Announce the firmware. The startup indication tells the driver the firmware is ready.

Main loop

After the startup indication the firmware runs a single loop with no tasks or threads:

Programming checklists condenses the register-level steps of the common operations.