AMC 68VZ328 software manual Memory Map

Page 16

The RTL8019 ethernet chip supports either 8/16-bit interfaces, but because most NE2000 compat- ible drivers have been written for an 8-bit interface, the device has been interfaced as an 8-bit device attached to CSA1, the last available chip select. Since the chip select pair must be configured as 16-bit to support the 16-bit flash, the registers of the ethernet chip will appear at every other byte address rather than a block of contiguous bytes. Said a little differently, each 8 bit register maps to a corresponding word address where only half of each word is used.

A dd res s Range

Function

Chip Select

0x00000000 to 0x000003FF

in terrupt vecto r table

 

0x00000400 to 0x01FFFFFF

SDRA M (32 M B)

CSD0 (CSD1)

0x01FFFFFF to 0x0FFFFFFF

unimplemented s pace

 

0x10000000 to 0x103FFFFF

FLA SH ROM

CSA 0

0x11000000 to 0x107FFFFF

Realtek Ethern et/CA N/USB

CSA 1

 

Controller

 

0x10800000 to 0x1FFFFFFF

unimplemented s pace

 

0x20000000 to 0x2001FFFF

PCI

CSB0

0x30000000 to 0x400000000

PCI I/O mapped peripherals

 

0x400000000 to amo unt needed

PCI memory map ped p erip herals

 

en d of PCI periph erals to 0xFFFFEFFF

unimplemented s pace

 

Figure 3. Memory Map

I/O Memory

The mapping of the I/O Memory into the CPU’s main memory takes place at 2 different locations.

At 0xFFFFF000 the DragonBall VZ registers and boot microcode fill the available memory to the end of the CPU memory. For more detailed information on the DragonBall VZ Registers and the DragonBall VZ Boot Microcode consult the DragonBall VZ Users’ Manual (located on the CD).

The Ethernet controller on the NETdimm is mapped off the DragonBall VZ’s CSA1 chip select, and is located at 0x10400000. Programming information for the Realtek RTL8019AS Ethernet Controller is not included in this document and may be found in the RTL8019AS Datasheet (located on the CD).

FLASH ROM

The Flash ROM used on the dimmPCITM is the AMD29DL322D or compatible 3.0V FLASH ROM. The exact Flash part or size is dependant on the current FLASH in stock or available on the market. The Flash is located at 0x10000000 in memory.

16

www.amctechcorp.com

Image 16
Contents DimmPCITM 68VZ328 Hardware / Software Manual Contact Information Copyright noticeDimmPCITM Software Development Kit NETdimm Developers Kit Quick Start Guide Etc/issue Page This page left intentionally blank Introduction Launching Linux at the embeddedPage What’s on the CD? System RequirementsThis page left intentionally blank Features UC68VZ328 Embedded MicrocontrollerCPU Module BackplaneGeneral Description CPU Module DescriptionBackplane Description Architecture CPU ArchitectureSystem Memory MCU CoreMemory Map Memory Memory MapLayout of the Flash and Flash Schematic Layout of the Flash Sdram Ethernet Controller Viewing the Ethernet MAC IDNETdimm Ethernet Schematic Digital I/O IOdimmDigital Output Schematic Analog Output Schematic Analog Input Schematic Digital to Analog Converter Schematic Watchdog RS-232Highlights Usage LCD Schematic LCD InterfaceDimmPCITM Signal Descriptions DimmPCITM signals for System SlotPCI Electrical Characteristics Maximum RatingsThis page left intentionally blank Installing the dimmPCI TM System InstallationBuilder Kit Before beginningConfiguring and compiling the µClinux kernel Creating a ROM image Customizing the filesystemAccessing your dimmPCI development board via the serial port Static IP Accessing the NetworkDynamic IP Accessing your dimmPCI development board via telnet Compiling your own source codeUsing NFS to streamline the development cycle Home directory/dimmpci/source Updating Applications on your dimmPCI module MethodThis page left intentionally blank Programming the uC68VZ328 LoaderOops Cd /opt/boottools/oops Oops -p /dev/ttyS0 -k kernel.bin Page Page This page left intentionally blank Appendix Sample CodeClose the file afterwards fclose filehandle Page Longwatchdogid #include unistd.h #include stdio.h int main void This page left intentionally blank Journalling Flash File System Umount /usr Sbin/mkjffs /dev/flash0 Page This page left intentionally blank Development Tool Chains Normal Usage of the PIC-COFFTool Chain Page This page left intentionally blank D1 Application Note IntroductionKernel and Filesystem Configuration Kernel and Filesystem Configuration Flow Chart YESAvailable Digital I/O Pins List of all available digital I/O pins Programming Structure Dimmio structure descriptionDigital I/O Functions Page Sample Programs In0 In1 In2 In3 In4 In5 In6 In7 Out0 Even ParityMknod io1 c 123 Page This page left intentionally blank D2 Application Note AbstractKernel Configuration RequirementsAgain, from the main menu under Network device support Kernel Configuration Flow Chart AtCommandPrompt Filesystem Configuration Cd /opt/filesystem name make clean Make Filesystem Configuration Flow Chart Modifications to ‘rc’ fileHost machine Configuration TestingPage This page left intentionally blank Using Multiple NETdimm Modules Application NoteSimple Server & Client Inetd based Server & ClientPage This page left intentionally blank Using Analog and Digital I/O with IOdimmCd /opt Cp -Rpdx newfs iodimmmfs ADC MAX1203 Available I/O Pins Category Channel Backplane System Backplane Header Slot PinFunctions Digital Inputs and Outputs+ Κ Iodimm/dio Samples/cardspecific/iodimm/dio Page This page left intentionally blank Using Oops Purpose & basic format of files for oopsUpload & Flash Upload & Run DownloadCommon oops program arguments Appendix This page left intentionally blank 104 DimmPCITM Software Development Kit Distribution Licensing, Copyrights & LiabilityPreamble 106 107 108 109 No Warranty Appendix How to Apply These Terms to Your New Programs111 112 113 This page left intentionally blank 114 References/ Suggested Reading