INTERNAL or EXTERNAL                                   ROMSoC                                                             ...
INTERNAL or EXTERNAL                                   ROMSoC                                                             ...
INTERNAL or EXTERNAL                                   ROMSoC                                                             ...
INTERNAL or EXTERNAL                                   ROM                                  SSM CODESoC                   ...
INTERNAL or EXTERNAL                                   ROMSoC                                                             ...
INTERNAL or EXTERNAL                                   ROM                                SSM SCRIPTSSoC                  ...
INTERNAL or EXTERNAL                                   ROMSoC                                                             ...
INTERNAL or EXTERNAL                                     ROMSoC                                                           ...
INTERNAL or EXTERNAL                                    ROMSoC                                                            ...
INTERNAL or EXTERNAL                  OPTIONAL                                      ROM                                  H...
INTERNAL or EXTERNAL                                     ROMSoC                                                           ...
INTERNAL or EXTERNAL                                   ROMSoC                                 SSM COMMAND               RO...
INTERNAL or EXTERNAL                                   ROMSoC                                                             ...
INTERNAL or EXTERNAL                                    ROMSoC                                                            ...
INTERNAL or EXTERNAL                                   ROMSoC                                                             ...
INTERNAL or EXTERNAL                                    ROMSoC                                                            ...
INTERNAL or EXTERNAL                                   ROMSoC                                                             ...
INTERNAL or EXTERNAL                                   ROMSoC                                                             ...
INTERNAL or EXTERNAL                                   ROMSoC                                                             ...
INTERNAL or EXTERNAL                                     ROMSoC                                                           ...
INTERNAL or EXTERNAL                                   ROMSoC                                                             ...
INTERNAL or EXTERNAL                                   ROMSoC                                                             ...
INTERNAL or EXTERNAL                                    ROMSoC                                                            ...
INTERNAL or EXTERNAL                                   ROMSoC                                                             ...
Upcoming SlideShare
Loading in …5
×

SoC System Manager (SSM) Demonstration

317 views

Published on

This file gives a step-by-step run through of the SoC System Manager (SSM) from TekStart

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
317
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
6
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

SoC System Manager (SSM) Demonstration

  1. 1. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager ROM SSM COMMAND RAM SSM Controller : STATE MACHINE Configurable Embedded microcontroller to run SSM SSM CONTROLLER control scripts, system debug and optionally control system boot SSM COMMAND RESPONSE SSM OUT QUEUE QUEUE IN MCB: Module Control Block that attaches SSM to any or all modules in an SoC. May control power, clocks, reset, etc. at the hardware level and may communicate with software running on the module through mailboxes. Optionally may have MCB DSP ETHERNET MCB direct access to RAM modules for system boot and debug. May also be configured with counters to monitor and gather statistics on any part of the module. SSM Interconnect: Thin physical inteconnect between SSM controller and DRAM MCBs. May be configued as a MCB HOST MCB CONTROLLER ring, star or hierachy of both. SSM INTERCONNECT
  2. 2. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager SSM COMMAND ROM STATE MACHINE RAM RESET: RESET On System RESET SSM Controller responds first and SSM CONTROLLER sets up for structured "bring-up" of the rest of the chip as necessary. SSM COMMAND RESPONSE SSM OUT QUEUE QUEUE IN MCB DSP ETHERNET MCB DRAM MCB HOST MCB CONTROLLER SSM INTERCONNECT
  3. 3. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager ROM SSM COMMAND MINI STATE MACHINE RAM MINI BOOT : BOOT MINI BOOT SSM Controller boots from local ROM. Only sufficient SSM CONTROLLER functionality is established to access the main internal or external ROM SSM COMMAND RESPONSE SSM OUT QUEUE QUEUE IN MCB DSP ETHERNET MCB DRAM MCB HOST MCB CONTROLLER SSM INTERCONNECT
  4. 4. INTERNAL or EXTERNAL ROM SSM CODESoC SSM SoC System Manager ROM SSM COMMAND RAM MINI STATE MACHINE SSM MINI BOOT: BOOT MINI BOOT CODE SSM Code is downloaded from Internal or External ROM into SSM CONTROLLER the SSM RAM SSM COMMAND RESPONSE SSM OUT QUEUE QUEUE IN MCB DSP ETHERNET MCB DRAM MCB HOST MCB CONTROLLER SSM INTERCONNECT
  5. 5. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager SSM COMMAND RAM ROM STATE MACHINE SSM SSM BOOT : SSM BOOT BOOT SSM Controller enters main Bootstrap routine to initialize the SSM CONTROLLER SSM . SSM COMMAND RESPONSE SSM OUT QUEUE QUEUE IN MCB DSP ETHERNET MCB DRAM MCB HOST MCB CONTROLLER SSM INTERCONNECT
  6. 6. INTERNAL or EXTERNAL ROM SSM SCRIPTSSoC SSM SoC System Manager SSM COMMAND RAM ROM STATE MACHINE SSM SSM Boot : SSM BOOT SCRIPTS Download SSM Scripts SSM CONTROLLER SSM COMMAND RESPONSE SSM OUT QUEUE QUEUE IN MCB DSP ETHERNET MCB DRAM MCB HOST MCB CONTROLLER SSM INTERCONNECT
  7. 7. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager SSM COMMAND RAM INITIALIZE SCRIPT : ROM STATE MACHINE INIT INITIALIZE SCRIPT SCRIPT SSM Controller will always run the Initialize Script following SSM CONTROLLER SSM Boot. Typically this script simply initializes the HOST by : SSM COMMAND OUT QUEUE RESPONSE SSM * Power-up the HOST POWER POWER QUEUE IN * Optionally download code UP HOST UP HOST * Remove RESET from HOST MCB DSP ETHERNET MCB DRAM MCB HOST MCB CONTROLLER SSM INTERCONNECT
  8. 8. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager SSM COMMAND ROM STATE MACHINE RAM INITIALIZE SCRIPT : INITIALIZE SCRIPT Power Up command sent to MCB of the the HOST which in SSM CONTROLLER turn enables the power to the HOST to turn on SSM COMMAND RESPONSE SSM OUT QUEUE QUEUE IN MCB DSP ETHERNET MCB MCB DRAM POWER HOST MCB UP CONTROLLER SSM INTERCONNECT
  9. 9. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager SSM COMMAND ROM STATE MACHINE RAM Initialize Script : INITIALIZE SCRIPT HOST is now powered on, but held in reset and optionally SSM CONTROLLER access provided to internal RAMs for download SSM COMMAND RESPONSE SSM OUT QUEUE QUEUE IN MCB DSP ETHERNET MCB HOST DRAM MCB MCB CONTROLLER POWER ON SSM INTERCONNECT
  10. 10. INTERNAL or EXTERNAL OPTIONAL ROM HOST CODE SSMSoC SoC System Manager SSM COMMAND INITIALIZE SCRIPT : ROM STATE MACHINE RAM INITIALIZE SCRIPT SSM Controller Loads code to the HOST SSM CONTROLLER SSM COMMAND OUT QUEUE RESPONSE SSM DMA DMA QUEUE IN CODE CODE MCB DSP ETHERNET MCB MCB DRAM DMA HOST MCB CODE CONTROLLER SSM INTERCONNECT
  11. 11. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager SSM COMMAND ROM STATE MACHINE RAM INITIALIZE SCRIPT: INITIALIZE SCRIPT Release RESET on HOST and allow it to BOOT up. SSM CONTROLLER SSM COMMAND OUT QUEUE HOST HOST RESPONSE SSM QUEUE IN RESET RESET OFF OFF MCB DSP ETHERNET MCB MCB DRAM RESET HOST MCB OFF CONTROLLER SSM INTERCONNECT
  12. 12. INTERNAL or EXTERNAL ROMSoC SSM COMMAND ROM STATE MACHINE RAM COMMAND MODE SSM CONTROLLER SSM SSM COMMAND RESPONSE SSM SoC System Manager OUT QUEUE QUEUE IN SSM Controller : On exit from the Initialize Script the SSM Controller enters Command Mode, checks to see if any MCB has a command script for it to execute. MCB DSP ETHERNET MCB DRAM MCB HOST MCB CONTROLLER SSM INTERCONNECT
  13. 13. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager SSM COMMAND ROM STATE MACHINE RAM SSM Sleep : COMMAND MODE If no commands are forthcoming the SSM Controller will go to SSM CONTROLLER ASLEEP sleep after a time-out period. SSM COMMAND RESPONSE SSM OUT QUEUE QUEUE IN MCB DSP ETHERNET MCB DRAM MCB HOST MCB CONTROLLER SSM INTERCONNECT
  14. 14. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager SSM COMMAND ROM STATE MACHINE RAM Host writes a command to a COMMAND MODE mailbox register in the MCB requesting that the SSM controller execute a given script. SSM CONTROLLER The act of writing to the MCB causes the MCB to issue a SSM COMMAND RESPONSE SSM wake-up signal to the SSM OUT QUEUE QUEUE IN Controller over the SSM Interconnect MCB DSP ETHERNET MCB MCB DRAM WAKE HOST MCB UP CONTROLLER SSM INTERCONNECT
  15. 15. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager SSM COMMAND ROM STATE MACHINE RAM The HOST MCB is read to COMMAND MODE determine the Script to be executed by the SSM . SSM CONTROLLER SSM COMMAND OUT QUEUE RESPONSE SSM READ READ QUEUE IN MAILBOX MAILBOX MCB DSP ETHERNET MCB DRAM MCB HOST MCB CONTROLLER SSM INTERCONNECT
  16. 16. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager SSM COMMAND ROM STATE MACHINE RAM Mail box is read and data sent COMMAND MODE back to SSM SSM CONTROLLER SSM COMMAND RESPONSE SSM OUT QUEUE QUEUE IN MCB DSP ETHERNET MCB MCB DRAM READ HOST MCB MBOX CONTROLLER SSM INTERCONNECT
  17. 17. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager SSM COMMAND ROM STATE MACHINE RAM Command Process receives COMMAND MODE request from HOST to run script number 7. SSM CONTROLLER RESPONSE SSM SSM COMMAND QUEUE IN OUT QUEUE RUN RUN SCRIPT 7 SCRIPT 7 MCB DSP ETHERNET MCB DRAM MCB HOST MCB CONTROLLER SSM INTERCONNECT
  18. 18. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager SSM COMMAND ROM STATE MACHINE RAM SSM Controller accesses RAM COMMAND MODE SCRIPT 7 for Script #7 and begins its execution SSM CONTROLLER SSM COMMAND RESPONSE SSM OUT QUEUE QUEUE IN MCB DSP ETHERNET MCB DRAM MCB HOST MCB CONTROLLER SSM INTERCONNECT
  19. 19. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager SSM COMMAND STATE MACHINE Execute Script 7. ROM RAM COMMAND MODE First command is to power-up #7.1 Power-Up DSP the DSP SSM CONTROLLER SSM COMMAND OUT QUEUE RESPONSE SSM POWER POWER QUEUE IN UP DSP UP DSP MCB DSP ETHERNET MCB DRAM MCB HOST MCB CONTROLLER SSM INTERCONNECT
  20. 20. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager SSM COMMAND ROM STATE MACHINE RAM Power Up command sent to COMMAND MODE MCB of the the DSP which in turn enables the power to the DSP to turn on SSM CONTROLLER SSM COMMAND RESPONSE SSM OUT QUEUE QUEUE IN MCB POWER DSP ETHERNET MCB UP DRAM MCB HOST MCB CONTROLLER SSM INTERCONNECT
  21. 21. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager SSM COMMAND ROM STATE MACHINE RAM DSP is now Powered On COMMAND MODE SSM CONTROLLER SSM COMMAND RESPONSE SSM OUT QUEUE QUEUE IN MCB DSP ETHERNET MCB DRAM MCB HOST MCB CONTROLLER SSM INTERCONNECT
  22. 22. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager SSM COMMAND STATE MACHINE Execute Script 7 ROM RAM COMMAND MODE #7.1 Power-Up DRAM #7.1 Power-Up DSP Second command is to power up the DRAM Controller SSM CONTROLLER : : SSM COMMAND : OUT QUEUE RESPONSE SSM etc.. through the rest of the POWER POWER QUEUE IN script UP DRAM UP DSP UP DRAM UP DSP etc... MCB DSP ETHERNET MCB DRAM MCB HOST MCB CONTROLLER SSM INTERCONNECT
  23. 23. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager SSM COMMAND STATE MACHINE ROM RAM COMMAND MODE At the end of executing Script 7 #7 Complete the SSM Controller sends an acknowledge to the HOST SSM CONTROLLER mailbox to inform the HOST of the completion of the Script. SSM COMMAND OUT QUEUE RESPONSE SSM ACK7 to ACK7 to QUEUE IN HOST HOST MCB DSP ETHERNET MCB MCB DRAM ACK HOST MCB 7 CONTROLLER SSM INTERCONNECT
  24. 24. INTERNAL or EXTERNAL ROMSoC SSM SoC System Manager SSM COMMAND ROM STATE MACHINE RAM COMMAND MODE If no more commands are forthcoming the SSM Controller will go back to sleep after a time- SSM CONTROLLER ASLEEP out period. SSM COMMAND RESPONSE SSM OUT QUEUE QUEUE IN MCB DSP ETHERNET MCB DRAM MCB HOST MCB CONTROLLER SSM INTERCONNECT

×