Gen83xx

From RTEMSWiki

Jump to: navigation, search
Gen83xx
MPC8313ERDB PRODIMG.jpg
Board Namempc8349eamds
ManufacturerFreescale
Referencehttp://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPC8349EMDS
ArchitecturePowerPC
CPU ModelMPC8349E processor @533MHz
MonitorN/A
Runs on Simulator?No
RAMX MByte DDR-1 333MHz (supports optional ECC memory)
Non-volatile Memory8Mbyte Flash (expandable)
Serial PortsDual RS232 ports
VideoVideo Unspecified.
Otheroptional USB and PCI Expansion module interfaces


This BSP supports boards based on the Freescale MPC834x PowerQUICC II Pro microcontrollers. The BSP supports multiple board instances through the use of BSP variants.

Contents

Overview

The MPC8313E-RDB reference platform is ideal for hardware and software development for cost-optimized networking applications. The cost-effective MPC8313E communications processor family meets the requirements of several small office/home office (SOHO), printing, IP services and industrial control applications. It leverages Freescale’s highly integrated MPC8313E processor built on Power Architecture™ technology and leading-edge external components—a 5-port Gigabit Ethernet switch, USB port, one Peripheral Component Interconnect (PCI) slot, one MiniPCI slot and one SD card memory slot. The high level of integration in the MPC8313E helps to lower overall system costs, improve performance and simplify board design.


MPC8313ERDB BD.jpg
  • CPU - Freescale MPC8313E running at 333/333 MHz (CPU/DDR2)
  • Memory subsystem
    • 128 MByte unbuffered DDR2 SDRAM discrete devices
    • 8 MByte Flash single-chip memory
    • 32 MByte NAND Flash memory
    • 256 KBit M24256 serial EEPROM
    • SD connector to interface with the SD memory card in SPI mode
  • Interfaces
    • 10/100/1000 BaseT Ethernet ports:
      • eTSEC1, RGMII interface: five 10/100/1000 BaseT RJ-45 interfaces using Vitesse™ VSC7385 L2 switch
      • eTSEC2, selectable RGMII or SGMII interface: one 10/100/1000 BaseT RJ-45 interface using Mavell™ 88E1111 PHY
    • USB 2.0 port:
      • High speed host/device USB interface: selectable on-chip PHY or external ULPI PHY interface by SMSC USB3300 USB PHY
    • PCI: 32-bit PCI interface running at up to 66 MHz
      • One 32-bit 3.3 V PCI slot connected to PCI bus
      • One 32-bit 3.3 V miniPCI slot connected to PCI bus
    • Dual UART ports:
      • DUART interface: supports two UART up to 115200bps for console display
  • Board connectors
    • LCD connectors by GPIO
    • ATX power supply connector
    • JTAG/COP for debugging

Board Setup

RTEMS Lab Board

Use the "printenv" command to view the firmware settings:

=>  printenv
baudrate=115200
loads_echo=1
hostname=mpc8313erdb
bootfile=/tftpboot/uImage
loadaddr=200000
load_uboot=tftp 100000 /tftpboot/u-boot.bin
update_uboot=protect off fe000000 fe06ffff; era fe000000 fe06ffff; cp.b 100000 fe000000 $filesize
burn_uboot=run load_uboot;run update_uboot
netdev=eth1
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
ramargs=setenv bootargs root=/dev/ram rw
addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off panic=1
addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}
load_vscfw=tftp 100000 /tftpboot/vsc2bin
update_vscfw=protect off fe7fe000 fe7fffff;erase fe7fe000 fe7fffff; cp.b 100000 fe7fe000 $filesize
burn_vscfw=run load_vscfw; run update_vscfw
run_vscld=tftp 40000 /tftpboot/vsc7385_load.bin;go 40004 
run_vscld1=cp.b fe710000 40000 11000; go 40004 
ethaddr=04:00:00:00:00:0A
eth1addr=04:00:00:00:00:0B
rootpath=/tftpboot/192.168.1.100
ethact=TSEC0
bootdelay=3
serverip=192.168.1.92
bootcmd=setenv ethact TSEC1;tftp 1000000 /mpc8313erdb.img; bootm
ipaddr=192.168.1.242
stdin=serial
stdout=serial
stderr=serial

Environment size: 1131/8188 bytes

Downloading and Executing

Use the "boot" command to download the application from the tftp server and automatically execute:

=> boot
Speed: 100, full duplex
Using TSEC1 device
TFTP from server 192.168.1.92; our IP address is 192.168.1.242
Filename '/mpc8313erdb.img'.
Load address: 0x1000000
Loading: ############################################
done
Bytes transferred = 221368 (360b8 hex)
## Booting image at 01000000 ...
   Image Name:   RTEMS
   Created:      2011-03-24  15:56:32 UTC
   Image Type:   PowerPC RTEMS Kernel Image (gzip compressed)
   Data Size:    221304 Bytes = 216.1 kB
   Load Address: 00000100
   Entry Point:  00010000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
## Transferring control to RTEMS (at address 00010000) ...

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: Successfully ran ticker and File I/O.

References


Personal tools