AMC 68VZ328 software manual NETdimm Developers Kit Quick Start Guide

Page 3

NETdimm Developers Kit Quick Start Guide

This document is provided to help users bring up the NETdimm Developers Kit hardware and software as quickly as possible. If difficulties are encountered using this guide please refer to the complete instruction manual.

1.Find a static-free work area to use and remove the dimmPCI Developers Backplane, NETdimm, IOdimm and POWERdimm from their static protective bags.

2.Insert the NETdimm module into the System Slot (see figure below) on the backplane, the one closest to the screw terminal connectors. Insert the POWERdimm into the slot opposite the NETdimm. Ensure the modules are fully seated and the side tabs are snapped closed and that the modules are in the proper slots.

3.Warning: Placing the modules in the incorrect slot may result in damage to the modules. Please verify that the modules are in the correct slot before continuing. The POWERdimm must be placed in the power slot (expansion slot 3) and the IOdimm (if used) must be placed in expansion slot 2. The NETdimm can be placed in either the system slot or expansion slot 2.

4.Connect the Serial Adapter Cable (DB9 on one end, 10 pin header on the other) to the backplane connector JP5; the red strip on the cable should match up to the dot on the backplane next to the connector. These both denote pin number 1.

5.Use the supplied serial cable to connect the Serial Adapter Cable to the development computer. Please note which serial port the cable is connected to (ie. COM1 or COM2) Note: the development computer must be running Linux to be able to use the development tools supplied.

6.CAUTION: Failure to follow the following instructions may result in damage to the NETdimm module or backplane. Jumper pins 7 and 8 together on JP7, the power jumper to supply the POWERdimm with power. Ensure that the wall adapter is NOT plugged in and connect the negative wire of the adapter to GND on the power connector and the positive wire of the adapter to VIN on the power connector. Do not plug in the wall adapter at this time.

7.At this point the hardware is properly configured and it is time to install the development tools. Insert the dimmPCI SDK CDROM into the computer and mount it on the filesystem.

8.From the root of the CDROM type make install to install the development tools to the

www.amctechcorp.com

3

Image 3
Contents DimmPCITM 68VZ328 Hardware / Software Manual Copyright notice Contact InformationDimmPCITM Software Development Kit NETdimm Developers Kit Quick Start Guide Etc/issue Page This page left intentionally blank Launching Linux at the embedded IntroductionPage System Requirements What’s on the CD?This page left intentionally blank Backplane FeaturesUC68VZ328 Embedded Microcontroller CPU ModuleCPU Module Description General DescriptionBackplane Description CPU Architecture ArchitectureMCU Core System MemoryMemory Map Memory Map MemoryLayout of the Flash and Flash Schematic Layout of the Flash Sdram Viewing the Ethernet MAC ID Ethernet ControllerNETdimm Ethernet Schematic IOdimm Digital I/ODigital Output Schematic Analog Output Schematic Analog Input Schematic Digital to Analog Converter Schematic RS-232 WatchdogHighlights Usage LCD Interface LCD SchematicDimmPCITM signals for System Slot DimmPCITM Signal DescriptionsPCI Maximum Ratings Electrical CharacteristicsThis page left intentionally blank Before beginning Installing the dimmPCI TM SystemInstallation Builder KitConfiguring and compiling the µClinux kernel Customizing the filesystem Creating a ROM imageAccessing your dimmPCI development board via the serial port Accessing the Network Static IPDynamic IP Compiling your own source code Accessing your dimmPCI development board via telnetUsing NFS to streamline the development cycle Home directory/dimmpci/source Method Updating Applications on your dimmPCI moduleThis page left intentionally blank Loader Programming the uC68VZ328Oops Cd /opt/boottools/oops Oops -p /dev/ttyS0 -k kernel.bin Page Page This page left intentionally blank Sample Code AppendixClose 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 Introduction D1 Application NoteKernel and Filesystem Configuration YES Kernel and Filesystem Configuration Flow ChartAvailable Digital I/O Pins List of all available digital I/O pins Dimmio structure description Programming StructureDigital I/O Functions Page In0 In1 In2 In3 In4 In5 In6 In7 Out0 Even Parity Sample ProgramsMknod io1 c 123 Page This page left intentionally blank Abstract D2 Application NoteRequirements Kernel ConfigurationAgain, from the main menu under Network device support Kernel Configuration Flow Chart AtCommandPrompt Filesystem Configuration Cd /opt/filesystem name make clean Make Modifications to ‘rc’ file Filesystem Configuration Flow ChartTesting Host machine ConfigurationPage This page left intentionally blank Application Note Using Multiple NETdimm ModulesInetd based Server & Client Simple Server & ClientPage This page left intentionally blank IOdimm Using Analog and Digital I/O withCd /opt Cp -Rpdx newfs iodimmmfs ADC MAX1203 Category Channel Backplane System Backplane Header Slot Pin Available I/O PinsDigital Inputs and Outputs Functions+ Κ Iodimm/dio Samples/cardspecific/iodimm/dio Page This page left intentionally blank Purpose & basic format of files for oops Using OopsUpload & Flash Download Upload & RunCommon oops program arguments Appendix This page left intentionally blank 104 Licensing, Copyrights & Liability DimmPCITM Software Development Kit DistributionPreamble 106 107 108 109 Appendix How to Apply These Terms to Your New Programs No Warranty111 112 113 This page left intentionally blank 114 References/ Suggested Reading