4/27/20018644-T7C - DCM Software Interface ISUAL DPU-to-DCM Interface and Protocol 8644-T7C Rev Description Date A Initial release 20-Feb-2001 SG B MMCB.

Slides:



Advertisements
Similar presentations
A Short Review Arrays, Pointers and Structures. What is an Array? An array is a collection of variables of the same type and placed in memory contiguously.
Advertisements

System Integration and Performance
Device Management Ankur Saggar Nitin Golait Jason Foos Adam Estabrook.
Chapter 5 Internal Memory
R4 Dynamically loading processes. Overview R4 is closely related to R3, much of what you have written for R3 applies to R4 In R3, we executed procedures.
Arithmetic Logic Unit (ALU)
Module R2 Overview. Process queues As processes enter the system and transition from state to state, they are stored queues. There may be many different.
Programmable Interval Timer
Serial I/O - Programmable Communication Interface
The Binary Numbering Systems
Operating system services Program execution I/O operations File-system manipulation Communications Error detection Resource allocation Accounting Protection.
Charles Kime © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 7 – Registers and Register Transfers Part 3 – Control of.
CSE 803 Using images in C++ Computing with images Applications & Methods 2D arrays in C++ Programming project 4.
Conversion Between Video Compression Protocols Performed by: Dmitry Sezganov, Vitaly Spector Instructor: Stas Lapchev, Artyom Borzin Cooperated with:
© 2004 Xilinx, Inc. All Rights Reserved Implemented by : Alon Ben Shalom Yoni Landau Project supervised by: Mony Orbach High speed digital systems laboratory.
TK 2633 Microprocessor & Interfacing Lecture 3: Introduction to 8085 Assembly Language Programming (2) 1 Prepared By: Associate Prof. Dr Masri Ayob.
Status – Week 206 Victor Moya. Summary Fetch Cache. Fetch Cache. ColorCache. ColorCache. ColorWrite. ColorWrite. Next week. Next week.
1 Project supervised by: Dr Michael Gandelsman Project performed by: Roman Paleria, Avi Yona 12/5/2003 Multi-channel Data Acquisition System Mid-Term Presentation.
Room: E-3-31 Phone: Dr Masri Ayob TK 2633 Microprocessor & Interfacing Lecture 1: Introduction to 8085 Assembly Language.
Overview The von Neumann Machine - the programmable digital computer Introducing the LC-3 Computer - A “toy” computer for us to learn from Computer machine.
1 Project supervised by: Dr Michael Gandelsman Project performed by: Roman Paleria, Avi Yona 26/4/2004 Multi-channel Data Acquisition System Final_A Presentation.
Chapter 1 Data Storage. 2 Chapter 1: Data Storage 1.1 Bits and Their Storage 1.2 Main Memory 1.3 Mass Storage 1.4 Representing Information as Bit Patterns.
File System. NET+OS 6 File System Architecture Design Goals File System Layer Design Storage Services Layer Design RAM Services Layer Design Flash Services.
1 Input/Output. 2 Principles of I/O Hardware Some typical device, network, and data base rates.
Lab 2: Capturing and Displaying Digital Image
Memory interface Memory is a device to store data
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
1. Fundamentals of Computer Systems Define a computer system Computer Systems in the modern world Professional standards for computer systems Ethical,
An Introduction Chapter Chapter 1 Introduction2 Computer Systems  Programmable machines  Hardware + Software (program) HardwareProgram.
ISUAL Long Functional Test H. Heetderks. TRR December, 20012NCKU UCB Tohoku ISUAL Long Functional Test Heetderks Basic DPU Function Verify Power on Reset.
PACS IBDR 27/28 Feb 2002 SPU High Level Software1 H. Bischof, A.N. Belbachir (TUVIE) F. Kerschbaum, R. Ottensamer, P. Reegen, C. Reimers (UVIE)
I/O – Chapter 8 Introduction Disk Storage and Dependability – 8.2 Buses and other connectors – 8.4 I/O performance measures – 8.6.
ISUAL Spectrophotometer Electronics C. Ingraham. 2NCKU UCB Tohoku CDR 9 July, 2001 Spectrophotometer Electronics C. Ingraham SP Electronics Functions.
ISUAL Instrument Software S. Geller. CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 2 Topics Presented Software Functions SOH Telemetry.
PACS IIDR 01/02 Mar 2001 On-Board Data Compression1 On-Board Data Compression Concept A. N. Belbachir Vienna University of Technology.
LZRW3 Decompressor dual semester project Characterization Presentation Students: Peleg Rosen Tal Czeizler Advisors: Moshe Porian Netanel Yamin
Computer Programming 12 Mr. Jean April 24, The plan: Video clip of the day Upcoming Quiz Sample arrays Using arrays More about arrays.
1Corot Science Week, Berlin, December 2003 Inside the COROT machine Overview of global loop for COROT operations Description of COROT Subsystems.
ISUAL Mass Memory Robert Abiad. NCKU UCB Tohoku Mass Memory R. Abiad CDR 9-10 Jul Outline Description Requirements Interfaces Block Diagram Usage.
ISUAL Mass Memory Robert Abiad. NCKU UCB Tohoku Mass Memory R. Abiad IFR 5-7 Mar Outline Description Requirements Interfaces Block Diagram Usage.
C. Ingraham5-7 March 2001Data Processing Unit IFR1NCKU UCB Tohoku ISUAL Data Processing Unit (DPU) C. Ingraham.
Chapter 7 Low-Level Programming Languages Nell Dale John Lewis.
Marwan Al-Namari 1 Digital Representations. Bits and Bytes Devices can only be in one of two states 0 or 1, yes or no, on or off, … Bit: a unit of data.
Chapter 11 File Processing. Objectives In this chapter, you will learn: –To be able to create, read, write and update files. –To become familiar with.
ISUAL Data Formats & Science Data Processing S. Geller.
SDR 7 Jun Associated Electronics Package (AEP) Curtis Ingraham.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.
4P13 Week 12 Talking Points Device Drivers 1.Auto-configuration and initialization routines 2.Routines for servicing I/O requests (the top half)
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 8 – Memory Basics Logic and Computer Design.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 22 Memory Definitions Memory ─ A collection of storage cells together with the necessary.
Chapter 4 The Von Neumann Model
©Contrinex JDC PPT_HF_RWMTAGCommands HF RWM and TAG Commands J.-D. Chatelain HF RWM Commands HF TAG Commands.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
Aggregator Stage : Definition : Aggregator classifies data rows from a single input link into groups and calculates totals or other aggregate functions.
ISUAL System Design H. Heetderks. PDR 31 August 2000NCKU UCB Tohoku ISUAL System Design H. Heetderks 2 ISUAL Operations Overview.
NCKU_UCB_TohokuISUAL-IFR : DCM (version 2.0) July 9, 2001Tong-Long Fu 1 Data Compression Module ( DCM ) Tong-Long Fu Laboratory of RF-MW Photonics, Department.
Chapter I: Introduction to Computer Science. Computer: is a machine that accepts input data, processes the data and creates output data. This is a specific-purpose.
ISUAL System Design Summary H. Heetderks / S. Harris.
3.1.4 Hardware a. describe the function and purpose of the control unit, memory unit and ALU (arithmetic logic unit) as individual parts of a computer;
Computer Architecture and Number Systems
Assembly Language Programming of 8085
COMP 1321 Digital Infrastructure
ISUAL Associated Electronics Package
Introduction of microprocessor
Interfacing Memory Interfacing.
Chapter 1 Data Storage.
Help! Tell me about Computer Data!
1. Explain how ASCII is used to represent text in a computer system
Chapter 5 Input/Output Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved
Presentation transcript:

4/27/ T7C - DCM Software Interface ISUAL DPU-to-DCM Interface and Protocol 8644-T7C Rev Description Date A Initial release 20-Feb-2001 SG B MMCB Format changes, List in MM 12-Apr-2001 SG C Cleanup, add flowcharts 27-Apr-2001 SG

4/27/ T7C - DCM Software Interface DCM Program DCM starts with a ROM program. DPU copies the compression software into Mass Memory (MM). This is called the Program Logic Block (PLB) DPU sends CDI commands to tell DCM where the PLB is located.

4/27/ T7C - DCM Software Interface CDI Commands for setting PLB address CDI commands to set the address of the PLB area: –operation=36 hex data=high 2 bytes of address –operation=37 hex data=low 2 bytes of address

4/27/ T7C - DCM Software Interface Layout of PLB Area 4 bytes - number of bytes (N) in DSP program 1 byte - checksum of DSP program (covering N bytes) N bytes - the DSP program (up to 256K bytes) Number of bytes is stored high-byte-first (example: decimal is stored hex E2 40) This convention is used for all number storage. The PLB checksum is the exclusive-OR of all N bytes in the DSP program.

4/27/ T7C - DCM Software Interface How the DCM gets data to compress There is a list of 16 Mass Memory Control Blocks (MMCB), written in to MM by the DPU. MMCBs specify where the data is within MM. DCM does up to 16 compression “jobs” at a time, one for each MMCB

4/27/ T7C - DCM Software Interface MMCB Compression List The list of 16 MMCB copies in MM is called the “Compression List” The address of the first MMCB in the list is set by CDI commands.

4/27/ T7C - DCM Software Interface CDI Commands for Setting MMCB address CDI commands to set the address of the initial MMCB: –operation=34 hex data=high 2 bytes of address –operation=35 hex data=low 2 bytes of address

4/27/ T7C - DCM Software Interface How the DCM uses the Compression List The DCM software processes each MMCB in the list. –If the checksum fails, DCM goes to the next MMCB –Otherwise, DCM compresses the data, marks the MMCB complete and goes to the next one. –After processing the last MMCB, the DCM deactivates Busy, and waits for an ATN signal.

4/27/ T7C - DCM Software Interface

4/27/ T7C - DCM Software Interface Normal Processing

4/27/ T7C - DCM Software Interface MMCB Layout [offset 0, 1 byte] Status: – 0=no operation required – 1=readout complete, ready to compress – 2=compression complete [offset 1, 1 byte] Input Data type: – 0=Camera - Aurora – 1=Spectrophotometer – 2=Slow-Rate Spectrophotometer – 3=Array Photometer

4/27/ T7C - DCM Software Interface MMCB Layout [offset 2, 1 byte] mmcb_mode - Science Mode –1=Aurora –2=Sprite Continuous –3=Sprite Burst [offset 3, 4 bytes] mmcb_OI –Pointer to Original Input raw data in MM [offset 7, 4 bytes] mmcb_OI_n –Number of OI bytes allocated

4/27/ T7C - DCM Software Interface MMCB Layout [offset 11, 6 bytes] (not used by DCM) [offset 17, 6 bytes] (not used by DCM) [offset 23, 2 bytes] mmcb_ns – Number of images or samples [offset 25, 1 byte] mmcb_E3 –DCM ‘E3’ status byte

4/27/ T7C - DCM Software Interface MMCB Layout [offset 26, 4 bytes] mmcb_obytes –number of compressed bytes stored by the DCM [offset 30, 1 byte] mmcb_ochk –checksum of compressed output (XOR of all bytes)

4/27/ T7C - DCM Software Interface MMCB Layout [offset 31, 3 bytes] (not used by DCM) [offset 34, 1 byte] (not used by DCM) [offset 35, 1 byte] mmcb_checksum –Checksum of MMCB (XOR of previous 35 bytes)

4/27/ T7C - DCM Software Interface Notes Compressed Data will over-write the original information. DCM will compute a checksum of the compressed data, and a separate checksum of the updated MMCB First byte(s) of compressed data will tell the ground-based decompression software which algorithm to use

4/27/ T7C - DCM Software Interface Camera Data Camera data will be an array of images. –Number of columns = 512 –Number of rows = 128 Number of images: –1 or more in Aurora mode –8 in Burst mode –typically 6 in Continuous mode

4/27/ T7C - DCM Software Interface Photometer Data In Sprite modes, data is delivered as arrays of samples. –Size of array given in MMCB

4/27/ T7C - DCM Software Interface Ground Processing of Compressed Data The arrays of compressed data delivered by the DCM will be re-constituted on the ground, from the CCSDS packets. To un-compress this data, software is needed on the ground.

4/27/ T7C - DCM Software Interface Ground De-compression Software C functions which convert compressed arrays to the original uncompressed data. Suggestion for Camera function: uncmp_cam(byte *pci, int nci, byte *poi) –pci points to compressed array –nci is now many bytes in compressed array –poi is where to store the uncompressed data

4/27/ T7C - DCM Software Interface Photometer Functions Similarly: uncmp_sph(byte *pci, int nci, byte *poi)

4/27/ T7C - DCM Software Interface END