a u.s. department of energy
TRANSCRIPT
![Page 1: A U.S. Department of Energy](https://reader036.vdocuments.net/reader036/viewer/2022062320/55d549dabb61ebba128b45b2/html5/thumbnails/1.jpg)
A U.S. Department of EnergyOffice of Science LaboratoryOperated by The University of Chicago
Argonne National Laboratory
Office of ScienceU.S. Department of Energy
Embedded EPICSThe uCDIMM ColdFire 5282
2005-03-02
W. Eric NorumThe submitted manuscript has been created by the University of Chicago as Operator of Argonne National Laboratory (“Argonne”) under Contract No. W-31-109-ENG-38 with the U.S. Department of Energy. The U.S. Government retains for itself, and others acting on its behalf, a paid-up, nonexclusive, irrevocable worldwide license in said article to reproduce, prepare derivative works, distribute copies to the public, and perform publicly and display publicly, by or on behalf of the Government.
![Page 2: A U.S. Department of Energy](https://reader036.vdocuments.net/reader036/viewer/2022062320/55d549dabb61ebba128b45b2/html5/thumbnails/2.jpg)
Embedded EPICS – Arcturus uCDIMM ColdFire 5282
2
Pioneering Science andTechnology
Office of Science U.S. Department
of Energy
Arcturus uCDIMM ColdFire 5282 module
•Motorola/FreeScale ColdFire 5282 processor (64 MHz)
•16 Megabyte SDRAM (32-bit data path)
•4 Megabyte flash memory (RTEMS/EPICS/IOC)
•1/2 Megabyte on-chip flash (bootstrap)
•SO-DIMM form factor
•~$200 (U.S.) in small quantities, $120 each for 500.
![Page 3: A U.S. Department of Energy](https://reader036.vdocuments.net/reader036/viewer/2022062320/55d549dabb61ebba128b45b2/html5/thumbnails/3.jpg)
Embedded EPICS – Arcturus uCDIMM ColdFire 5282
3
Pioneering Science andTechnology
Office of Science U.S. Department
of Energy
Arcturus uCDIMM ColdFire 5282 module
•10/100 Mb/s Ethernet (10/100 BaseT)
•3 serial ports (2 RS-232, 1 LVTTL)
•I2C and SPI
•CAN support
•8-channel, 10-bit ADC
•A24/D16 external bus
•5 interrupt request lines
•16 general-purpose I/O lines
![Page 4: A U.S. Department of Energy](https://reader036.vdocuments.net/reader036/viewer/2022062320/55d549dabb61ebba128b45b2/html5/thumbnails/4.jpg)
Embedded EPICS – Arcturus uCDIMM ColdFire 5282
4
Pioneering Science andTechnology
Office of Science U.S. Department
of Energy
Arcturus uCDIMM ColdFire 5282 module
•~10% faster than 25 MHz MVME-167 for integer operations
•Much slower for floating-point operations
–No floating-point instructions
•Fast Ethernet Controller scatter/gather Direct-Memory Access
•Queued ADC and SPI hardware
–Can perform repetitive I/O with no processor overhead
![Page 5: A U.S. Department of Energy](https://reader036.vdocuments.net/reader036/viewer/2022062320/55d549dabb61ebba128b45b2/html5/thumbnails/5.jpg)
Embedded EPICS – Arcturus uCDIMM ColdFire 5282
5
Pioneering Science andTechnology
Office of Science U.S. Department
of Energy
EPICS device support
• Ethernet and serial ASYN drivers
• I2C ASYN driver- Tested with MAX1619 temperature monitor- Easy to add support for additional devices (GPIB-style)
• QADC device support for analog-in record- Scanning (“voltmeter”) operation
• Watchdog timer device support for binary-out record- Hardware reset on failure to process record in 5 second interval
• Flash memory programming device support- Remote updates of application using standard EPICS tools
• devLib support- ‘VME’ devices implemented in Altera FPGA (Avalon)
![Page 6: A U.S. Department of Energy](https://reader036.vdocuments.net/reader036/viewer/2022062320/55d549dabb61ebba128b45b2/html5/thumbnails/6.jpg)
Embedded EPICS – Arcturus uCDIMM ColdFire 5282
6
Pioneering Science andTechnology
Office of Science U.S. Department
of Energy
Altera Avalon Bus
• Altera “System on a programmable chip” technology
• Appears to designer as multiple master/slave bus
• Masters can be active simultaneously (to different slaves)
• Example Master devices- NIOS processor (on-chip)- PCI bridge
• Example Slave devices- On-chip memory- Off-chip SDRAM- UART- Ethernet- LCD
![Page 7: A U.S. Department of Energy](https://reader036.vdocuments.net/reader036/viewer/2022062320/55d549dabb61ebba128b45b2/html5/thumbnails/7.jpg)
Embedded EPICS – Arcturus uCDIMM ColdFire 5282
7
Pioneering Science andTechnology
Office of Science U.S. Department
of Energy
uCDIMM ColdFire 5282 Bridge
• Separate ColdFire/Avalon clock domains
• 25-bit Avalon address space (16-bit data bus to ColdFire)- 000000 to 0FFFFF appear as VME A24/D16 space
devRegisterAddress(name, atVMEA24, …
- 100000 to 1FFFFD appear as VME A32/D32 space devRegisterAddress(name, atVMEA32, …
- 1F0000 to 1FFFFD also appear as VME A16/D16 space devRegisterAddress(name, atVMEA16, …
• Full Avalon interrupt support- Avalon interrupts 0 to 63 map to VME interrupts 192 to 255
devConnectInterruptVME(192, …
• Very low resource usage (49 ALUTs, 31 registers)
• Serial port monitor- Force system reboot on console ^X-^Y-^Z reception
![Page 8: A U.S. Department of Energy](https://reader036.vdocuments.net/reader036/viewer/2022062320/55d549dabb61ebba128b45b2/html5/thumbnails/8.jpg)
Embedded EPICS – Arcturus uCDIMM ColdFire 5282
8
Pioneering Science andTechnology
Office of Science U.S. Department
of Energy
Ongoing development
• APS event receiver- EPICS driver identical to vxWorks/VME version- Complete event receiver is single Avalon module
- Click/drop ColdFire Bridge and Event Receiver- Assign pins – Compile – Download – Done!
- Use external receiver or FPGA TAXI implementation- Preliminary testing complete
• BPM data acquisition and signal processing
![Page 9: A U.S. Department of Energy](https://reader036.vdocuments.net/reader036/viewer/2022062320/55d549dabb61ebba128b45b2/html5/thumbnails/9.jpg)
Embedded EPICS – Arcturus uCDIMM ColdFire 5282
9
Pioneering Science andTechnology
Office of Science U.S. Department
of Energy
Example ColdFire/FPGA system
![Page 10: A U.S. Department of Energy](https://reader036.vdocuments.net/reader036/viewer/2022062320/55d549dabb61ebba128b45b2/html5/thumbnails/10.jpg)
Embedded EPICS – Arcturus uCDIMM ColdFire 5282
10
Pioneering Science andTechnology
Office of Science U.S. Department
of Energy
uCDIMM application – SR BPM Prototype
![Page 11: A U.S. Department of Energy](https://reader036.vdocuments.net/reader036/viewer/2022062320/55d549dabb61ebba128b45b2/html5/thumbnails/11.jpg)
Embedded EPICS – Arcturus uCDIMM ColdFire 5282
11
Pioneering Science andTechnology
Office of Science U.S. Department
of Energy
uCDIMM application – SR BPM Prototype
![Page 12: A U.S. Department of Energy](https://reader036.vdocuments.net/reader036/viewer/2022062320/55d549dabb61ebba128b45b2/html5/thumbnails/12.jpg)
Embedded EPICS – Arcturus uCDIMM ColdFire 5282
12
Pioneering Science andTechnology
Office of Science U.S. Department
of Energy
uCDIMM application – SR BPM Prototype