CYGPKG_HAL_NIOS2_STRATIX2_2S60_ROHS_STANDARD -- eCos Support for the Standard Hardware Design on a Stratix II/2s60-RoHS Board
Description
This package provides the hardware design HAL for the standard
hardware design running on a Stratix II/2s60-RoHS board. This
design is provided with the Altera Nios II Embedded Design Suite
in the directory nios2eds/examples/vhdl/niosII_stratixII_2s60_RoHS/standard/.
It includes the following functionality:
CPU
A Nios II/s processor running at 100MHz. This has 4K of
instruction cache and no data cache. It has level 1 jtag support only
with no hardware breakpoints. The reset vector is at address
0x00000000 in external flash and the exception vector is at address
0x02100020 in on-chip IRAM.
Flash
16MB of external AMD flash at 0x00000000 attached via an 8-bit data bus.
SDRAM
32MB of external SDRAM at 0x04000000.
SRAM
2MB of external SRAM at 0x01000000.
IRAM
4K of on-chip RAM at 0x02100000.
system clock
An Avalon timer labelled sys_clk used to implement
the main eCos system clock. This is hardwired to run at 100Hz.
uart
An Avalon uart connected to the external transceiver on the board.
This is hardwired at 115200 baud, 8 bits, no parity, 1 stop bit, and
no RTS/CTS support. This uart is used by eCos for the HAL diagnostics
and debug channel.
lan91c111
An interface to the external lan91c111 ethernet chip on the board.
This provides network communications for RedBoot and for eCos
applications using one of the available TCP/IP stacks.
GPIO
GPIO units connected to the row of LEDs, the dual seven-segment
display, and the buttons. The devkit platform HAL provides some
utility functions for the first two of these.
sysid
A system id register. This is used by RedBoot to check that the
current hardware design matches the RedBoot build.
Other
A number of other hardware units including a second Avalon timer, a
jtag uart, a character LCD controller, and an EPCS serial flash
controller. These are not currently used by eCos so can be accessed
directly by application code.
Configuration Options
This hardware design HAL package will be loaded automatically when
creating an eCos configuration for the
nios2_stratix2_2s60_rohs_standard target, together
with the Nios II architectural HAL and the devkit platform HAL.
It should never be necessary to load this package explicitly.
Unloading the package should only happen as a side effect of switching
target hardware. The package does not contain any user configuration
options.
Memory Map
For typical eCos usage the memory map is as follows: