Download presentation
Presentation is loading. Please wait.
Published byHugo Banks Modified over 8 years ago
1
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007. Introduction Fall, 2011 MPC8360 Micro Controllers 371-1-2403
2
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007. Course Duties ► Attending all lab sessions is mandatory. (Approvals for not attending a lab will be given by the instructors only in special cases like reserve duty etc. ► Haganot – Every 3/4 lab sessions ► Final report submission. ► Final exam – must pass with grade greater than 56.
3
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007. Grading Passing the final exam (exam grade > 55) is mandatory. In case of failure, the final course grade will be determined solely based on the exam. Section% Final report15% Lab execution grade40% Final quiz45%
4
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007. Syllabus Lab NumberTopic Introduction MPC8360 Architecture ADS introduction CW introduction Programming model Registers and Instruction Set Assembly language 1Breaking the 32bit Barrier 2The Load Store Unit 3Branching and Subroutines 4Timers 5Polling & Interrupts 6DMA 7Cache memories 8Final Project
5
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007. Freescale Semiconductor ► We supply the "brains" for all kinds of automotive, consumer, industrial, networking and wireless applications. ► More than 20,000 employees in more than 20 countries worldwide, about 500 employees in Herzelia ISRAEL. Toshiba Portable Media Player Logitech Harmony remote control Pioneer Receivers
6
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007. Course Objectives ► Introduction to the MPC8360 architecture. ► Assembly language of the PowerPC microprocessor family. ► Real time embedded coding for the MPC8360.
7
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007. The MPC8360 MDS Processor Board ► The MPC8360EA MDS Processor Board is an application development system that provides a complete debugging environment for engineers developing applications for the MPC8360 series of Freescale processors
8
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007. PC Connection To PC USB
9
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007. QUICC Engine …. Communication Ports MPC8360 A Simplified Block Diagram E300 Core ► The E300 Core is the system's "brain" it executes instructions (computer programs) and manages the interaction between all the sub units. ► The core implements a 32-bit the architecture. ► The QUICC Engine™ block handles communication tasks with the outer world. ► It supports a wide range of communication protocols including ATM, Ethernet, HDLC, TDM, and POS. ► This block offloads the communication tasks from the core thereby allowing it to do other system tasks. DDR/DDR2 Controller Interrupt Controller
10
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007. The Core Registers ► General-Purpose Registers (GPRs) 32 user-level GPRs that are 32 bits wide r0-r31 ► Condition Register (CR) The CR is a 32-bit user-level register that provides a mechanism for testing and branching. The dot (.) suffix enables the update of the CR register
11
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007. The Core Registers ► XER register 32-bit register contains the summary overflow bit, integer carry bit, overflow bit.
12
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007. The Core Registers ► XER register 32-bit register contains the summary overflow bit, integer carry bit, overflow bit.
13
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007. The Core Registers ► XER register 32-bit register contains the summary overflow bit, integer carry bit, overflow bit. The following suffixes can be added to a command: C - records a carry out in CA E - uses CA as an operand O - records an overflow in OV and SO
14
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007. The Core Registers ► Link register (LR) The LR can be used to provide the branch target address and to hold the return address after branch and link instructions. The LR is 32 bits wide. ► Count register (CTR) The CTR is decremented and tested automatically as a result of branch-and-count instructions. The CTR is 32 bits wide.
15
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007. MPCxxx Instruction Set Command Variations Instruction Register (IR) Functional Description Affected Registers
16
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007. MPCxxx Instruction Set 3 4500 add r3,r4,r5
17
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007. MPCxxx Instruction Set r0 = 0x00000001 r4 = 0x00001000 addi r4,r0,0x1 r4 = ? 0x00000001
18
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007. MPCxxx Instruction Set r0 = 0x00000001 r4 = 0x00001000 addi r4,r0,0xF000 r4 = ? 0xFFFFF000 EXTS (SIMM) = Extends Signed Immediate
19
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007. MPCxxx Instruction Set r0 = 0x00000001 r4 = 0x00001000 addi r4,r0,0x1000 addis r4,r4,0x1000 r4 = ? 0x10001000
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.