📄 target.nr
字号:
'\" t.so wrs.an.\" ads85xx/target.nr - Motorola MPC85XXADS target specific documentation.\".\" Copyright 1984-2004 Wind River Systems, Inc..\".\" modification history.\" --------------------.\" 01c,21nov04,dtr Support now only for revA board. DDR now 256MB default..\" 01b,21jul04,dtr Include info for revA board..\" 01a,16oct03,dtr Created.\".\".TH "ads85xx" T "Motorola MPC85XXADS" "Rev: 20 Oct 2003" "VXWORKS REFERENCE MANUAL".SH "NAME".aX "Motorola MPC85XXADS".SH "INTRODUCTION"This reference entry provides board-specific information necessary to runVxWorks for the ads8540/8560 BSP. .SH "BOOT ROMS".CSNo VxWorks Boot ROM is provided with this BSP release. Nevertheless VxWorksboot code is working if downloaded into the on board Flash.This is can be done using the UBOOT. See Motorola documentation on the UBOOTto see how to flash bootrom into the top 1MB of flash..CE.SS "Programming bootrom using WIND POWER IDE".CSAssumption here you can connect to the target using WIND POWER(WP) ICE/IDE.The ads85xx.vsh file in this bsp contains the register settings for the ICE.This file can be played in the command window by right click and selecting play. Doing an 'in' at the BKM> prompt then performs the required board initialisation to enable the flash programmer to work.Also make sure Flash program enable jumper J1 is set to 2-3 closed.The flash programmer is in the tool menu of the WP IDE.Select the file tab and convert your bootrom.hex supplied in the BSP to a binary. Start Address = 0 End Address = 0xffffffff. Tick box to add to flash list and click on convert. After complete modify start address of this converted file to be FFF00000 and tick enabled. Now click on Configuration Tab, confirm INTEL 2 * 16bit 28F640J3x devices selected. Confirm flash address is at 0xff000000. Now select only addresses fff00000 and click on erase/program. You should be able to verify that a bootrom exists at FFF00100. A reference to Wind river copyright should be there. If this fails check list is:1) Confirm switches and jumpers on board 2) Close window go back to command window verify you can read/write to address 0x100. 3) Also verify the register file has executed by doing 'dr BR0' in command window and verifying BR0 = ff001801 or verify all the registers enabled with values below.Some other possible issues: 1) ICE Firmware revision vn1.2a or later.2) WIND POWER IDE 1.2.CE.SH "FEATURES".SH "Supported Features (PILOT board revisions)".SH "ADS8540".CSSystem ClockAux clockWatchdogL2CacheL2SRAMEPICDUARTTSECPCITFFS128MB DDR SDRAM64MB LBC SDRAM.CE.SH "ADS8560".CSSystem clockAux clockWatchdogL2 CacheL2 SRAMEPICCPM interrupt controllerSCC1/2TSEC PCI TFFS128MB DDR SDRAM64MB LBC SDRAM.CE.SS "Feature Interactions"None known.SH "HARDWARE DETAILS"This section documents the details of the device drivers and boardhardware elements..SS "Devices"The chip drivers included are:.SS "Generic:" cfiscs.c - flash memory driver m85xxTimer.c - timer driver miiLib.c - Media Independent Interface library mot85xxPci.c - On-chip PCI Bridge library/interrupt handler. sysEpic.c - On chip interrupt controller motTsecEnd.c - TSEC ethernet controller.SS "ADS8540:" ns16553Sio.c - serial driver.SS "ADS8560:" m8260Sio.c - serial driver m85xxCpmIntrCtl.c - CPM interrupt controller driverThe 8560 BSP configures both SCC1 and SCC2 as UART devices. SCC1 is used as a console device..SS "Memory Maps".LPThe following table describes the ads85xx default memory map:.TS Eallbox expand;lf3 lf3 lf3 lf3l l l l ..ne 6.sp .5Start Size End Access to_0x0000_0000 256MB 0x0FFF_FFFF DDR SDRAM0x1000_0000 64MB 0x13FF_FFFF LBC SDRAM0xFE00_0000 1MB 0xFE0F_FFFF Configuaration Control Registers0xFF00_0000 16MB 0xFFFF_FFFF Flash SIMM.TE.LPThe following table describes the default VxWorks macros whichare used to address memory.TS Eexpand;lf3 lf3 lf3l l l ..ne 6.sp .5Macro Name Macro Definition Description_LOCAL_MEM_LOCAL_ADRS 0x0000_0000 Base of RAMRAM_LOW_ADRST LOCAL_MEM_LOCAL_ADRS + 0x0001_0000 T{VxWorks image loaded here. Stack grows down from this address.T}RAM_HIGH_ADRS T{LOCAL_MEM_LOCAL_ADRS + 0x00d0_0000T} T{VxWorks bootrom loaded here.T}LOCAL_MEM_SIZE 0100_0000 Default 16 MBytes of RAMROM_BASE_ADRS 0xFFF0_0000 Base address of ROM on PILOT revROM_TEXT_ADRS T{ROM_BASE_ADRS + 0x100T} T{Text must start after vector table T}ROM_WARM_ADRS T{ROM_TEXT_ADRS + 8T} Warm Reboot Entry AddressROM_SIZE 0x0010_0000 Default 1 MByte of ROM on PILOT rev (see ROM considerations).TE.sp.SS "Shared Memory"NA.SS "PCI Support".LPThe standard mapping for PCI is described in config.h of this BSP and uses outbound translation to access. This means PCI space usage is configurable bythe user in config.h. .SS "Serial Configuration"SCC1 and SCC2 are configured as UART devices with 8 data bits, 1 stopbit, hardware handshaking, and parity disabled. .SS "SCSI Configuration"There is no SCSI interface on this board..SS "Network Configuration"TSEC is configured as an Ethernet port.SS "VME Access"NA.SS "PCI Access"PCI interface is available..SS "Boot Devices"mottsec.SS "Boot Methods".CSEthernetLoad vxWorks image via WINDPOWER ICE..CE.SS "ROM Considerations for PILOT board revision"The actual size of Flash memory on this board is 16MBThe BSP was tested with both compressed and uncompressed boot romsprogrammed at ROM_BASE_ADRS. If there is not enough space for thebootrom image or a vxWorks standalone image is required to be inROM, this can be achieved by placing a stub that jumps to start offlash memory. This requires either a compiler which canprovide 2 text segments or manually programming the stub and themain image at different locations without overwriting each other..SH "SPECIAL CONSIDERATIONS"This section describes miscellaneous information that the user needsto know about the BSP..SS "Delivered Objects".SS "Make Targets".CSbootrom.binvxWorksvxWorks.stbootrom_uncmp.binbootrom.hexbootrom_uncmp.hex.CE.SS "Special Routines"NoneSee also "Known Problems" below..SS "Documentation Errata".SS "Known Problems".CSSee Rev2.0 Silicon.See RevA Board..CE.SS "Tested Configuration".SS "Switch Settings - Rev Pilot - no longer supported".TS Eallbox expand;lf3 lf3 lf3 lf3 lf3 lf3 lf3 lf3 lf3 lf3 lf3 lf3l l l l l l l l l l l l ..ne 12.sp .5SW Pin-> 1 2 3 4 5 6 7 8 9 10-1 OFF OFF OFF OFF OFF OFF2 OFF OFF OFF OFF OFF OFF3 OFF OFF OFF OFF OFF OFF4 ON ON ON ON ON ON OFF OFF5 ON ON OFF OFF OFF OFF OFF OFF OFF OFF6 ON OFF ON ON OFF ON OFF OFF 7 OFF OFF OFF OFF OFF OFF OFF OFF8 OFF9 ON ON10 ON OFF OFF OFF OFF OFF ON ON11 ADS8540 OFF ON OFF OFF OFF OFF OFF ON 11 ADS8560 OFF OFF OFF OFF OFF OFF OFF ON 12 OFF ON ON OFF OFF ON ON ON ON ON 13 OFF ON ON ON 14 ON ON ON ON15 ON OFF OFF OFF ON OFF16 ON ON ON ON 17 OFF ON ON ON ON OFF ON ON 18 OFF19 OFF20 ON OFF OFF ON OFF OFF21 OFF22 OFF OFF ON OFF23 ON OFF ON OFF OFF ON 24 OFF25 ON OFF OFF OFF OFF ON26 OFF27 OFF28 ON29 ON ON OFF ON.TE.SS "Switch Settings - Rev A".TS Eallbox expand;lf3 lf3 lf3 lf3 lf3 lf3 lf3 lf3 lf3 lf3 lf3 lf3l l l l l l l l l l l l ..ne 12.sp .5SW Pin-> 1 2 3 4 5 6 7 8 9 10-1 OFF OFF OFF OFF OFF OFF2 OFF OFF OFF OFF OFF OFF3 OFF OFF OFF OFF OFF OFF4 ON ON ON ON ON ON OFF OFF5 OFF OFF ON ON6 ON ON OFF OFF OFF OFF OFF OFF OFF OFF7 OFF ON OFF ON ON OFF OFF OFF 8 OFF OFF OFF OFF OFF OFF OFF OFF9 OFF10 OFF OFF OFF OFF OFF OFF ON ON11 OFF ON12 ADS8540 OFF ON OFF ON ON OFF ON ON 12 ADS8560 OFF OFF OFF ON ON OFF ON ON 13 ON OFF ON OFF OFF ON14 OFF ON ON OFF OFF ON ON ON ON ON 15 ON ON ON ON16 OFF OFF OFF OFF ON OFF17 ON ON ON ON 18 OFF ON ON ON ON OFF ON OFF19 OFF20 OFF 21 ON OFF OFF ON OFF OFF22 OFF ON ON OFF23 OFF24 OFF25 OFF ON ON ON ON OFF 26 OFF27 OFF28 ON29 ON ON OFF ON30 ON OFF ON ON.TE.SS "Jumper Settings - Rev A"J6 - 2-3 to enable programming flashJ22 - 2-3J24 - 1-2 MIIJ25 - 1-2 MIIJ33 - 1-2 MIIJ37 - 1-2 MIIJ38 - 1-2 Enable GVDDJ49 - 1-2 Enable ATM (unsupported)J50 - connectJ51 - connectJ52 - 1-2 Enable ATM (unsupported).SS Rev 2.0 siliconOn Pilot board Switch 11 pin 7 should be ON for rev2 silicon and off for rev 1. Rev 2 silicon comes with CPU errata #29 which requires an OS patch.You should ensure patch for SPR 99776 is installed if you enable the instruction MMU..SS Pilot BoardThe pilot board is no longer supported..SS Rev A BoardRev A is now the default build.The default switch settings in MPC8560ADS_RevA_QuickRefGuide Rev1.15 which are specified above. The CCB is set to 333MHz and the Core Freq is 833MHz. The LBC SDRAM is using 83MHz. All other frequencies within chip/board spec shoud work also. .SH "SEE ALSO".tG "Getting Started,".pG "Configuration," .pG "Architecture Appendix".SH "BIBLIOGRAPHY".CSMPC8560_Users_Manual.pdfMPC8540_Users_Manual.pdfMPC8560ADS_Users_Manual.pdfMPC8560ADSPilot1_QuickRefGuide.pdfMPC8560ADS_RevA_QuickRefGuide.pdfe500_core_users_manual.pdfSee Freescale's web site for all the documentation related to the hardware..CEhttp://www.freescale.com/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -