Chapter 9 Bootloader.

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

Chapter 11 Interfacing C and Assembly Code
Chapter 1 Introduction.
Chapter 6 I/O Systems.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 4A Transforming Data Into Information.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Multiplying binomials You will have 20 seconds to answer each of the following multiplication problems. If you get hung up, go to the next problem when.
You will need some paper!
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
MULTIPLYING MONOMIALS TIMES POLYNOMIALS (DISTRIBUTIVE PROPERTY)
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
Chapter 5 Input/Output 5.1 Principles of I/O hardware
TMS320C6xx Architecture C6xx
Chapter 20 This chapter provides a series of applications. There is no daughter cards with the DSK6713 and DSK6416 Part 1: Applications using the PCM3003.
SE-292 High Performance Computing
Homework Reading Machine Projects Labs
CS 105 Tour of the Black Holes of Computing
Processor Data Path and Control Diana Palsetia UPenn
SE 292 (3:0) High Performance Computing L2: Basic Computer Organization R. Govindarajan
CMP 101 Fundamentals of Computer and programming in C Rohit Khokher.
§4.4 Input and Output Devices
KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.
Chapter 21b Reference Frameworks. Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 2 Learning Objectives Introduce.
DE2-115 Control Panel - Part I
Chapter 4 The Von Neumann Model
Chapter 4 The Von Neumann Model
Designing Embedded Hardware 01. Introduction of Computer Architecture Yonam Institute of Digital Technology.
Addition 1’s to 20.
25 seconds left…...
Test B, 100 Subtraction Facts
Chapter 18 Discrete Cosine Transform. Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 18, Slide 2 Learning Objectives  Introduction.
Week 1.
Digital-to-Analog Converters and Analog Comparators Professor Yasser Kadah –
Chapter 20 This chapter provides a series of applications. There is no daughter cards with the DSK6713 and DSK6416 Part 1: Applications using the PCM3003.
We will resume in: 25 Minutes.
©2004 Brooks/Cole FIGURES FOR CHAPTER 12 REGISTERS AND COUNTERS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter.
SE-292 High Performance Computing Memory Hierarchy R. Govindarajan
1 Unit 1 Kinematics Chapter 1 Day
1  1998 Morgan Kaufmann Publishers Interfacing Processors and Peripherals.
1 COMP 206: Computer Architecture and Implementation Montek Singh Wed., Oct. 23, 2002 Topic: Memory Hierarchy Design (HP3 Ch. 5) (Caches, Main Memory and.
8086 [2] Ahad. Internal! External? 8086 vs _bit Data Bus 20_bit Address 8_bit Data Bus 20_bit Address Only external bus of 8088 is.
8086.  The 8086 is Intel’s first 16-bit microprocessor  The 8086 can run at different clock speeds  Standard 8086 – 5 MHz  –10 MHz 
9/20/6Lecture 3 - Instruction Set - Al1 The Hardware Interface.
© Copyright 2004 Dr. Phillip A. Laplante 1 Memory  Memory access  Memory technologies  Memory organization.
Chapter 9 Bootloader. Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2002 Chapter 9, Slide 2 Learning Objectives  Need for a bootloader.
Computer Organization
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
Chapter 10: Input / Output Devices Dr Mohamed Menacer Taibah University
A Simple Tour of the MSP430. Light LEDs in C LEDs can be connected in two standard ways. Active high circuit, the LED illuminates if the pin is driven.
1-1 Embedded Network Interface (ENI) API Concepts Shared RAM vs. FIFO modes ENI API’s.
Virtual Memory Review Goal: give illusion of a large memory Allow many processes to share single memory Strategy Break physical memory up into blocks (pages)
Embedded Network Interface (ENI). What is ENI? Embedded Network Interface Originally called DPO (Digital Product Option) card Printer without network.
Host Port Interface Expansion Bus Chapter 16 C6000 Integration Workshop Copyright © 2005 Texas Instruments. All rights reserved. T TO Technical Training.
Basic Memory Management Chapter 3 C6000 Integration Workshop Copyright © 2005 Texas Instruments. All rights reserved. Technical Training Organization T.
DSP C5000 Chapter 10 Understanding and Programming the Host Port Interface (EHPI) Copyright © 2003 Texas Instruments. All rights reserved.
CHAPTER 7.
Hardware Source: ttp:// under
The TMS320C6x Family of DSPs
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
Hardware Source: ttp:// under
Chapter 4 Introduction to Computer Organization
Chapter 9 Bootloader.
Presentation transcript:

Chapter 9 Bootloader

Learning Objectives Need for a bootloader. What happens during a reset. Boot modes and processes. Memory map.

What is the bootloader? VCC VCC Boot Config Addr 0000 EMIF L2 Cache L1P Cache 0001 0002 0003 ... CPU EPROM DMA L1D Cache C6211/C6711 When the DSP is NOT powered or under reset the internal program memory is in a random state.

What is the bootloader? VCC VCC Boot Config Addr 0000 0000 EMIF L2 Cache L1P Cache 0001 0001 0002 0002 0003 0003 ... CPU EPROM DMA PC=0003 PC=0000 PC=0001 PC=0002 L1D Cache C6211/C6711 When the DSP is powered and the CPU is taken out of reset the internal memory is still in a random state and the program will start running for address zero.

What is the bootloader? VCC VCC Boot Config EMIF L2 Cache L1P Cache CPU EPROM DMA L1D Cache C6211/C6711 With the boot, a portion of code can be automatically copied from external to internal memory.

What happens at reset: System timeline /RS pin CPU Reset Device Reset When the device is held in reset: The device is initialised to the default state. Most 3-state outputs are in the high impedance state.

What happens at reset: System timeline /RS pin CPU Reset Device Reset CPU Reset Boot load in operation On the rising edge of the /RS pin: The processor checks the boot mode configuration (HD[4:3]) and starts the boot loader. The EDMA automatically copies 1K bytes from the beginning of CE1 location to the internal program memory starting at address zero.

What happens at reset: System timeline /RS pin CPU Reset Device Reset CPU Reset Boot load in operation Once the boot loader has finished initialising the internal memory the CPU is taken out of reset. The CPU starts running from address zero.

‘C6211 and ‘C6711 Memory map The ‘C6211 and ‘C6711 has only one memory map, MAP0. Internal memory is always located at address zero. Internal memory can be used as either program or data.

‘C6211 and ‘C6711 Memory map

Boot modes and processes Two questions need to be answered about the bootloader, these are: What methods of boot are available and how are they selected? How does the DSP know what type of memory it is going to boot from?

Bootloader operational modes The TMS320C6211 and ‘C6711 support the following boot configurations: (1) Host Port Interface (HPI) boot. (2) 8-bit ROM boot. (3) 16-bit ROM boot. (4) 32-bit ROM boot. Note: with the ‘C6211 and ‘C6711 there is no “no-boot” mode as for the other ‘C6000 processors.

Bootloader configuration The boot mode is selected by pulling the HD[4:3] pins (HPI data bus pins) high or low at reset. Depending on the voltages on this pins one of the four modes is selected. Boot mode HPI boot 8-bit ROM boot 16-bit ROM boot 32-bit ROM boot HD[4:3] 00 01 10 11

Endianess configuration The endian mode is determined at the same time as boot mode. Pulling pin HD[8] high or low selects the following endian modes. Device operation Big endian Little endian HD[8] 1 Note: ensure that the software development tools are also configured with the same endian type as the hardware.

Clock mode configuration The input clock mode is also determined at the same time as boot mode. Pulling CLKMODE0 pin high or low selects the following modes. PLL frequency multiplier No multiplication Input frequency is multiplied by 4 CLKMODE0 1

Boot process: HPI boot mode In this mode the following sequence is used: The CPU is held in reset while the remaining of the device is released. The host processor initialises the CPU’s memory space through the HPI. When all the necessary memory is initialised the host processor takes the CPU out of reset by writing a ‘1’ to the DSPINT bit filed of the Host Port Interface Control (HPIC) register. DSPINT HPIC 17

Boot process: HPI boot mode /RS Boot Config L2 Cache L1P Cache HPI HOST CPU DMA EMIF DRAM L1D Cache C6211/C6711

Boot process: HPI boot mode Question: How does the host processor check that the memory has been initialised correctly? Answer: The host can read and write to any address so it can check by reading the ‘initialised’ memory.

Boot process: HPI boot mode Question: If an external memory needs to be initialised via the HPI how do you ensure that the EMIF is set correctly? Answer: The first thing the Host should do is to write the EMIF register then write to the external memory locations.

Boot process: ROM boot mode In this mode the following sequence is used: The CPU is held in reset while the bootloader operates. The bootloader copies 1Kbytes from CE1 with the default settings to internal memory at address zero. CPU is taken out of reset. CPU starts running code from address zero.

Boot process: ROM boot mode VCC /RS Boot Config L2 Cache L1P Cache EMIF ROM CPU DMA DRAM L1D Cache C6211/C6711

Chapter 9 Bootloader - End -