SlideShare a Scribd company logo
1 of 12
AES SUBJECT SEMINAR
ON
SCB,DEBUG,RESET
Guided By Presented By
Prof : Siddesha K Mrs.Renuka N
Asst. Prof., Dept of E&C 1TU19LVS11
SYSTEM CONTROL BLOCK(SCB)
 SCB provides the implementation information, and system
control. This includes configuration, control & reporting of the
system exceptions.
 SCB is part of the processor that is merged into NVIC(Nested
Vectored Interrupt Controller). SCB is memory mapped, and
can be accessed by using System Control Space.
 Inside SCB there is a register called CPU ID base register,
which is a read only and shows the processor type and revision
number
 Parts of SCB includes
 Control Registers: Control Registers are data registers that
the master processor can modify to configure the I/O
controller(Ex. Low power modes)
 Fault Status Register: Provides fault status information
 VTOR(Vector Table Offset Relocation): The VTOR indicates
the vector table base address from memory address
0x00000000
DEBUG
 Process of identifying the error and correcting
the error is called Debug
 As system complexity increases more featured
debug becomes vital
 Debug includes
halting,stepping,breakpoints,data watch
points,registers &memory accesses, profiling,
& Traces
 Two types of interfaces of Cortex-M Processor
are
1. Debug Interface
1. DEBUG INTERFACE
Debug Interface allows a debug adopter to
connect cortex-M µc to control debug
features & access the memory space on the
chip
 JTAG protocol uses 4 or 5 pins ,where
SWD(Serial Wire Debug) uses 2 pins for
the same opertion
1. DEBUG INTERFACE
The JTAG(Joint Test Action Group) connector pins are:
TDI (Test Data In)
TDO (Test Data Out)
TCK (Test Clock)
TMS (Test Mode Select)
TRST (Test Reset) optional.
2. TRACE INTERFACE
Trace interface is used to collect the
information from processor during the
run time such as data, event, profiling
information or even complete details
of program execution
2 types are
Serial Wire Viewer(SWV)
Trace Protocol(Multipin protocol)
2. TRACE INTERFACE
2. TRACE INTERFACE
 SWV is a low cost solution & the output of SWV is
called as SWO
 Trace Port mode uses many data ports(ususally
4)but one clock port
 The real-time program trace requires a companion
component called Embedded Trace
Macrocell(ETM),provides instruction and data
tracing of a processor. An ETM is an integral part of
an ARM RealView® debug solution.
 Ex for trace interface are Keil-ULINK-2 or segger J-
Link, which capture the data through using SWV
 The data can be displayed on debug window
RESET & RESET
SEQUENCE
A typical Cortex-M Microcontroller supports
3 types of Reset :
 Power on reset: Resets everything
(Processor, debug & Peripherals)
 System reset: Resets only processor &
peripherals, not debug support component
 Processor reset: Reset the processor only
RESET SEQUENCE
 After reset and before processor starts executing the program,
the cortex-M processors read the first two words from memory,first is
initial values of MSP(Main Stack Pointer) & second is reset vector,
which is the starting address of the reset handler,after this processor
sets up the MSP & PC with these values
 This is done as there are chances of NMI or halt fault handler may
occur immediately after reset
RESET SEQUENCE
 Vector table should have LSB 1 to
indicate Thumb Code
 Reset vector 0x101,whereas boot code
starts at 0x100
 After the reset vector is fetched, the
cortex-M processor can then start to
execute the program from the reset
vector address & begin normal
operations
 Various Software development tools
might have different ways to specify the
starting stack pointer value and reset
vector
presentation on SCB,DEBUG,RESET of Arm Cortex processor

More Related Content

What's hot

Uvm presentation dac2011_final
Uvm presentation dac2011_finalUvm presentation dac2011_final
Uvm presentation dac2011_final
sean chen
 
Accessing I/O Devices
Accessing I/O DevicesAccessing I/O Devices
Accessing I/O Devices
Slideshare
 
Addressing mode Computer Architecture
Addressing mode  Computer ArchitectureAddressing mode  Computer Architecture
Addressing mode Computer Architecture
Haris456
 

What's hot (20)

Pentium processor
Pentium processorPentium processor
Pentium processor
 
Embedded system.ppt
Embedded system.pptEmbedded system.ppt
Embedded system.ppt
 
Uvm presentation dac2011_final
Uvm presentation dac2011_finalUvm presentation dac2011_final
Uvm presentation dac2011_final
 
Arm modes
Arm modesArm modes
Arm modes
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
UVM TUTORIAL;
UVM TUTORIAL;UVM TUTORIAL;
UVM TUTORIAL;
 
Motherboard and its components
Motherboard and its componentsMotherboard and its components
Motherboard and its components
 
Direct Memory Access
Direct Memory AccessDirect Memory Access
Direct Memory Access
 
Programming the basic computer
Programming the basic computerProgramming the basic computer
Programming the basic computer
 
Accessing I/O Devices
Accessing I/O DevicesAccessing I/O Devices
Accessing I/O Devices
 
UVM Methodology Tutorial
UVM Methodology TutorialUVM Methodology Tutorial
UVM Methodology Tutorial
 
Unit 1 Introduction to Embedded computing and ARM processor
Unit 1 Introduction to Embedded computing and ARM processorUnit 1 Introduction to Embedded computing and ARM processor
Unit 1 Introduction to Embedded computing and ARM processor
 
E.s unit 6
E.s unit 6E.s unit 6
E.s unit 6
 
Embedded C - Day 1
Embedded C - Day 1Embedded C - Day 1
Embedded C - Day 1
 
SOC - system on a chip
SOC - system on a chipSOC - system on a chip
SOC - system on a chip
 
Architecture of 80286 microprocessor
Architecture of 80286 microprocessorArchitecture of 80286 microprocessor
Architecture of 80286 microprocessor
 
Addressing mode Computer Architecture
Addressing mode  Computer ArchitectureAddressing mode  Computer Architecture
Addressing mode Computer Architecture
 
Embedded _c_
Embedded  _c_Embedded  _c_
Embedded _c_
 
Processor Organization
Processor OrganizationProcessor Organization
Processor Organization
 
ARM - Advance RISC Machine
ARM - Advance RISC MachineARM - Advance RISC Machine
ARM - Advance RISC Machine
 

Similar to presentation on SCB,DEBUG,RESET of Arm Cortex processor

Arm cortex-m3 by-joe_bungo_arm
Arm cortex-m3 by-joe_bungo_armArm cortex-m3 by-joe_bungo_arm
Arm cortex-m3 by-joe_bungo_arm
Prashant Ahire
 

Similar to presentation on SCB,DEBUG,RESET of Arm Cortex processor (20)

Advanced Embedded System Subject seminar on SCB,DEBUG,RESET
Advanced Embedded System Subject seminar on SCB,DEBUG,RESETAdvanced Embedded System Subject seminar on SCB,DEBUG,RESET
Advanced Embedded System Subject seminar on SCB,DEBUG,RESET
 
Io pro
Io proIo pro
Io pro
 
2. block diagram and components of embedded system
2. block diagram and components of embedded system2. block diagram and components of embedded system
2. block diagram and components of embedded system
 
Unit 1 intro-embedded
Unit 1 intro-embeddedUnit 1 intro-embedded
Unit 1 intro-embedded
 
Bc0040
Bc0040Bc0040
Bc0040
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessor
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessor
 
20IT204-COA- Lecture 17.pptx
20IT204-COA- Lecture 17.pptx20IT204-COA- Lecture 17.pptx
20IT204-COA- Lecture 17.pptx
 
Interrupts
InterruptsInterrupts
Interrupts
 
ESD III UNIT.pptx
ESD III UNIT.pptxESD III UNIT.pptx
ESD III UNIT.pptx
 
CSA PPT UNIT 1.pptx
CSA PPT UNIT 1.pptxCSA PPT UNIT 1.pptx
CSA PPT UNIT 1.pptx
 
PLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
PLC, DCS and PLC vs DCS Presentation by Jitender Singh ShekhawatPLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
PLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
 
Thesis1 3-23
Thesis1 3-23Thesis1 3-23
Thesis1 3-23
 
Arm cortex-m3 by-joe_bungo_arm
Arm cortex-m3 by-joe_bungo_armArm cortex-m3 by-joe_bungo_arm
Arm cortex-m3 by-joe_bungo_arm
 
.........
..................
.........
 
ARM Cortex-M3 Training
ARM Cortex-M3 TrainingARM Cortex-M3 Training
ARM Cortex-M3 Training
 
UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptx
 
IMPLEMENTATION OF USER INTERFACE FOR MICROPROCESSOR TRAINER
IMPLEMENTATION OF USER INTERFACE FOR MICROPROCESSOR TRAINER IMPLEMENTATION OF USER INTERFACE FOR MICROPROCESSOR TRAINER
IMPLEMENTATION OF USER INTERFACE FOR MICROPROCESSOR TRAINER
 
Computer organization
Computer organizationComputer organization
Computer organization
 
Computer organization
Computer organization Computer organization
Computer organization
 

Recently uploaded

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
pritamlangde
 

Recently uploaded (20)

Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
 
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 

presentation on SCB,DEBUG,RESET of Arm Cortex processor

  • 1. AES SUBJECT SEMINAR ON SCB,DEBUG,RESET Guided By Presented By Prof : Siddesha K Mrs.Renuka N Asst. Prof., Dept of E&C 1TU19LVS11
  • 2. SYSTEM CONTROL BLOCK(SCB)  SCB provides the implementation information, and system control. This includes configuration, control & reporting of the system exceptions.  SCB is part of the processor that is merged into NVIC(Nested Vectored Interrupt Controller). SCB is memory mapped, and can be accessed by using System Control Space.  Inside SCB there is a register called CPU ID base register, which is a read only and shows the processor type and revision number  Parts of SCB includes  Control Registers: Control Registers are data registers that the master processor can modify to configure the I/O controller(Ex. Low power modes)  Fault Status Register: Provides fault status information  VTOR(Vector Table Offset Relocation): The VTOR indicates the vector table base address from memory address 0x00000000
  • 3. DEBUG  Process of identifying the error and correcting the error is called Debug  As system complexity increases more featured debug becomes vital  Debug includes halting,stepping,breakpoints,data watch points,registers &memory accesses, profiling, & Traces  Two types of interfaces of Cortex-M Processor are 1. Debug Interface
  • 4. 1. DEBUG INTERFACE Debug Interface allows a debug adopter to connect cortex-M µc to control debug features & access the memory space on the chip  JTAG protocol uses 4 or 5 pins ,where SWD(Serial Wire Debug) uses 2 pins for the same opertion
  • 5. 1. DEBUG INTERFACE The JTAG(Joint Test Action Group) connector pins are: TDI (Test Data In) TDO (Test Data Out) TCK (Test Clock) TMS (Test Mode Select) TRST (Test Reset) optional.
  • 6. 2. TRACE INTERFACE Trace interface is used to collect the information from processor during the run time such as data, event, profiling information or even complete details of program execution 2 types are Serial Wire Viewer(SWV) Trace Protocol(Multipin protocol)
  • 8. 2. TRACE INTERFACE  SWV is a low cost solution & the output of SWV is called as SWO  Trace Port mode uses many data ports(ususally 4)but one clock port  The real-time program trace requires a companion component called Embedded Trace Macrocell(ETM),provides instruction and data tracing of a processor. An ETM is an integral part of an ARM RealView® debug solution.  Ex for trace interface are Keil-ULINK-2 or segger J- Link, which capture the data through using SWV  The data can be displayed on debug window
  • 9. RESET & RESET SEQUENCE A typical Cortex-M Microcontroller supports 3 types of Reset :  Power on reset: Resets everything (Processor, debug & Peripherals)  System reset: Resets only processor & peripherals, not debug support component  Processor reset: Reset the processor only
  • 10. RESET SEQUENCE  After reset and before processor starts executing the program, the cortex-M processors read the first two words from memory,first is initial values of MSP(Main Stack Pointer) & second is reset vector, which is the starting address of the reset handler,after this processor sets up the MSP & PC with these values  This is done as there are chances of NMI or halt fault handler may occur immediately after reset
  • 11. RESET SEQUENCE  Vector table should have LSB 1 to indicate Thumb Code  Reset vector 0x101,whereas boot code starts at 0x100  After the reset vector is fetched, the cortex-M processor can then start to execute the program from the reset vector address & begin normal operations  Various Software development tools might have different ways to specify the starting stack pointer value and reset vector