1 / 9

PowerPC and VXI

PowerPC and VXI. Kinetic Systems V152 Embedded PowerPC Slot-0 Controller. Port the EPICS low-level RF Application vxWorks 5.3.1 to 5.4.2 EPICS R3.13.2 to R3.13.6 BSP architecture 68K to ppc Why choose the PowerPC Current cpu, niCpu030 has been discontinued

fritz
Download Presentation

PowerPC and VXI

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PowerPC and VXI Kinetic Systems V152 Embedded PowerPC Slot-0 Controller

  2. Port the EPICS low-level RF Application vxWorks 5.3.1 to 5.4.2 EPICS R3.13.2 to R3.13.6 BSP architecture 68K to ppc Why choose the PowerPC Current cpu, niCpu030 has been discontinued Consistency; currently use ppc for other SLAC projects byte orientation (big endian) - same as the 68K Objective EPICS Collaboration Mtg. May 22-24, 2002 Bessy

  3. Hardware Issues • Automatic Slot-0 Master configuration • SYSRST not asserted on reboot • D8/D16 IACK Cycle - (V152-S002) • SLAC VXI modules and the VXI spec • Interrupt controller uses a mechanism for autovectoring VME interrupts EPICS Collaboration Mtg. May 22-24, 2002 Bessy

  4. Software Issues • Interrupts • Missing functions intVecGet • Slow boot – change to boot flash fixes this! • Must use VXI Interrupt functions – sysUnivVmeIntr() change • Lack of atomic Read-Modify-Write • A32 Space – device window configuration • EPICS_VXI_A32_BASE 0x20000000 0x9000000 • EPICS_VXI_A32_SIZE 0x00100000 0x1000000 • Resman • CPU is a message base instead of register based module • Force sysReset to be asserted on reboot (sysUniverseHardReset) EPICS Collaboration Mtg. May 22-24, 2002 Bessy

  5. Slow Boot Description The problem was due to the latest hw issue of the Motorola MVME2400 board which relocated (remapped) the address of the ethernet chip, so during boot, every pci address had to be probed until the device was found. WindRiver will issue a SPR and will fix this, but it will be several months before a fix is released. Instructions 1) Install the latest driver update from WindSurf (e.g. June 2001) 2) The driver update causes one problem, so you will also have to install patch SPR 69093. The release note will explain the nature of the patch. 3) Put dec21x40End.obj into your mv2400 directory. Add this file to makefile under MACH_EXTRA. This is the file that hardcodes the address. 4) Remake bootrom and flash. EPICS Collaboration Mtg. May 22-24, 2002 Bessy

  6. SysReset * sysUniverseHardReset - Hard Reset of the Universe VME chip * * This routine performs a hard reset of the Universe chip by * asserting (low) the SYSRST line on the VMEbus. * * RETURNS: N/A */ void sysUniverseHardReset (void) { printf("\n\n\r Hard Reset, via Universe VME reset\n\r"); taskDelay(10); UNIV_OUT_LONG( UNIVERSE_MISC_CTL,(UINT32)MISC_CTL_SW_SRST ); } EPICS Collaboration Mtg. May 22-24, 2002 Bessy

  7. Vector Table 0 … … ... 11 … … … 254 255 PPC External Interrupt Vector 0x500 Universe VME Interrupt kscIntHandler sysUniverseIntHandler vxiBaseIsr EPICS Collaboration Mtg. May 22-24, 2002 Bessy

  8. VXI Vector Table EPICS Collaboration Mtg. May 22-24, 2002 Bessy

  9. Conclusions • Installation was relatively painless • Kinetic Systems Support was great • V152-S002 testing underway. EPICS Collaboration Mtg. May 22-24, 2002 Bessy

More Related