Mvme162
From RTEMSWiki
| Mvme162 | |
| | |
| Board Name | MVME162 |
|---|---|
| Manufacturer | Motorola |
| Reference | http://www.aps.anl.gov/bcda/hardware/crate_controllers/mvme162.pdf |
| Architecture | M68K |
| CPU Model | MC68LC040 or MC68040 |
| Monitor | uBoot, uMon |
| Runs on Simulator? | N/A |
| Aliases | No |
| RAM | 4/8/16 MB DRAM, 512 KB SRAM |
| Non-volatile Memory | 1 MB flash, 8K x 8 NVRAM |
| Serial Ports | 2 x serial communication ports, console port as EIA-232-D DTE and second port user configurable for EIA-232-D/EIA-422 |
| Video | Video Unspecified. |
| Other | On-board debugger and diagnostic firmware |
The Mvme162lx is a lower cost similar board which is built from the same BSP.
Contents |
Overview
The MVME162 family provides OEMs and solution developers an ideal platform for embedded monitoring and control apllications it allows an OEM to minimize engineering expenses while integrating value-added hardware and software applications onto an off-the-shelf product. In order to provide the wide range of solutions, the MVME162 allows a variety of MPU, memory, and interface options such as floating-point, Ethernet, SCSI, and VME. The result is a variation of the MVME162 which most closely fits the application requirement.
There are a large number of model variations on this board. This was the first user submitted BSP and continues to be a fairly popular simply because at one point it was the highest selling VMEBus board of all time. There were optional components like SCSI but a typical base configuration was something like:
Board Setup
RTEMS Lab Board
The env settings:
MPU Clock Speed =25Mhz 162-Bug>env Bug or System environment [B/S] = B? Field Service Menu Enable [Y/N] = N? Remote Start Method Switch [G/M/B/N] = B? Probe System for Supported I/O Controllers [Y/N] = Y? Negate VMEbus SYSFAIL* Always [Y/N] = N? Local SCSI Bus Reset on Debugger Startup [Y/N] = N? Local SCSI Bus Negotiations Type [A/S/N] = A? Industry Pack Reset on Debugger Startup [Y/N] = Y? Ignore CFGA Block on a Hard Disk Boot [Y/N] = Y? Auto Boot Enable [Y/N] = N? Auto Boot at power-up only [Y/N] = Y? Auto Boot Controller LUN = 00? Auto Boot Device LUN = 00? Auto Boot Abort Delay = 15? Auto Boot Default String [NULL for a empty string] = ? ROM Boot Enable [Y/N] = N? ROM Boot at power-up only [Y/N] = Y? ROM Boot Enable search of VMEbus [Y/N] = N? ROM Boot Abort Delay = 0? ROM Boot Direct Starting Address = FF800000? ROM Boot Direct Ending Address = FFDFFFFC? Network Auto Boot Enable [Y/N] = N? Network Auto Boot at power-up only [Y/N] = Y? Network Auto Boot Controller LUN = 00? Network Auto Boot Device LUN = 00? Network Auto Boot Abort Delay = 5? Network Auto Boot Configuration Parameters Pointer (NVRAM) = FFE0FF00? Memory Search Starting Address = 00000000? Memory Search Ending Address = 01000000? Memory Search Increment Size = 00010000? Memory Search Delay Enable [Y/N] = N? Memory Search Delay Address = FFFFD20F? Memory Size Enable [Y/N] = Y? Memory Size Starting Address = 00000000? Memory Size Ending Address = 01000000? Base Address of Dynamic Memory = 00000000? Size of Parity Memory = 00000000? Size of ECC Memory Board #0 = 01000000? Size of ECC Memory Board #1 = 00000000? Base Address of Static Memory = FFE00000? Size of Static Memory = 00020000? Slave Enable #1 [Y/N] = Y? Slave Starting Address #1 = 00000000? Slave Ending Address #1 = 00FFFFFF? Slave Address Translation Address #1 = 00000000? Slave Address Translation Select #1 = 00000000? Slave Control #1 = 03FF? Slave Enable #2 [Y/N] = N? Slave Starting Address #2 = 00000000? Slave Ending Address #2 = 00000000? Slave Address Translation Address #2 = 00000000? Slave Address Translation Select #2 = 00000000? Slave Control #2 = 0000? Master Enable #1 [Y/N] = Y? Master Starting Address #1 = 01000000? Master Ending Address #1 = EFFFFFFF? Master Control #1 = 0D? Master Enable #2 [Y/N] = N? Master Starting Address #2 = 00000000? Master Ending Address #2 = 00000000? Master Control #2 = 00? Master Enable #3 [Y/N] = N? Master Starting Address #3 = 00000000? Master Ending Address #3 = 00000000? Master Control #3 = 00? Master Enable #4 [Y/N] = N? Master Starting Address #4 = 00000000? Master Ending Address #4 = 00000000? Master Address Translation Address #4 = 00000000? Master Address Translation Select #4 = 00000000? Master Control #4 = 00? Short I/O (VMEbus A16) Enable [Y/N] = Y? Short I/O (VMEbus A16) Control = 01? F-Page (VMEbus A24) Enable [Y/N] = Y? F-Page (VMEbus A24) Control = 02? ROM Access Time Code = 03? FLASH Access Time Code = 02? MCC Vector Base = 05? VMEC2 Vector Base #1 = 06? VMEC2 Vector Base #2 = 07? VMEC2 GCSR Group Base Address = D2? VMEC2 GCSR Board Base Address = 00? VMEbus Global Time Out Code = 01? Local Bus Time Out Code = 02? VMEbus Access Time Out Code = 02? IP A Base Address = 00000000? IP B Base Address = 00000000? IP C Base Address = 00000000? IP D Base Address = 00000000? IP D/C/B/A Memory Size = 00000000? IP D/C/B/A General Control = 00000000? IP D/C/B/A Interrupt 0 Control = 00000000? IP D/C/B/A Interrupt 1 Control = 00000000?
The niot settings:
162-Bug>niot
Controller LUN =00?
Device LUN =00?
Node Control Memory Address =FFE10000?
Client IP Address =192.168.1.245?
Server IP Address =192.168.1.92?
Subnet IP Address Mask =255.255.255.0?
Broadcast IP Address =192.168.1.255?
Gateway IP Address =0.0.0.0?
Boot File Name ("NULL" for None) =/mvme162.img?
Argument File Name ("NULL" for None) =?
Boot File Load Address =00020000?
Boot File Execution Address =00020000?
Boot File Execution Delay =00000000?
Boot File Length =00000000?
Boot File Byte Offset =00000000?
BOOTP/RARP Request Retry =00?
TFTP/ARP Request Retry =00?
Trace Character Buffer Address =00000000?
BOOTP/RARP Request Control: Always/When-Needed (A/W)=A?
BOOTP/RARP Reply Update Control: Yes/No (Y/N) =Y?
Downloading and Executing
Download from the tftp server using the 162-Bug's "nbo" command:
162-Bug>nbo Network Booting from: VME162, Controller 0, Device 0 Loading: /mvme162.img Client IP Address = 192.168.1.245 Server IP Address = 192.168.1.92 Gateway IP Address = 0.0.0.0 Subnet IP Address Mask = 255.255.255.0 Boot File Name = /mvme162.img Argument File Name = Network Boot File load in progress... To abort hit <BREAK> Bytes Received =&356528, Bytes Loaded =&356528 Bytes/Second =&89132, Elapsed Time =4 Second(s)
The program will automatically run when download is complete.
Debugging
How do you debug code on this board? What gdb setup? BDM, stub, etc?
Test Reports
CVS head -- March 24, 2011: User:Richard Campbell: Ticker ran successfully; File I/O printed to console but did not accept input.
References
| |||||