Training SM350 Modules and Code Swapping By: Robert Abutan.

Slides:



Advertisements
Similar presentations
Chapter 9 Bootloader.
Advertisements

Computer Basics Whats that thingamagige?. Parts of a computer.
Lesson 4 0x Operating Systems.
Higher Computing Computer Systems S. McCrossan Higher Grade Computing Studies 7. Systems Software 1 System Software This software is used to provide the.
@ YOUR LIBRARY. GETTING STARTED: EBOOK/AUDIO  VALID ALS/DULUTH LIBRARY CARD  DRM – DIGITAL RIGHTS MANAGEMENT  FORMATS – HOW DO YOU WANT YOUR BOOK.
Products Training -- DGUS LCM
V | © OverDrive, Inc | Page 1 Browse, Check Out, Download! Learn how to browse, check out, and download digital titles from [YOUR LIBRARY]
Portable Multimedia Playback Device
Nero 9 Reloaded Simply Create, Rip, Burn, Copy, Share, Backup, Play, and Enjoy January 2010.
Chapter 3 Understanding the Boot Process and Command Line.
Discovering Computers 2010
DMA-200 Digital Media Center Copyright © PLANET Technology Corporation. All rights reserved.
File Management Systems
Chapter 9 Bootloader. Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2002 Chapter 9, Slide 2 Learning Objectives  Need for a bootloader.
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
Table 1. Software Hierarchy Levels.. Essential Tools An assembler is a program that converts source-code programs into a machine language (object file).
Mp3 player Alma Rico and Amy Wibowo. functionality Audio –Play mp3’s stored in memory –Volume control –Additional Possible Features: Download capability.
PDR- Digital Audio Recorder/Player Brian Cowdrey Mike Ingoldby Gaurav Raje Jeff Swetnam.
CCNA 2 v3.1 Module 2.
Software Development and Software Loading in Embedded Systems.
LECTURE 14 Operating Systems and Utility Programs
© 2004 Cisco Systems, Inc. All rights reserved. Managing Your Network Environment Managing Router Startup and Configuration INTRO v2.0—9-1.
The 6713 DSP Starter Kit (DSK) is a low-cost platform which lets customers evaluate and develop applications for the Texas Instruments C67X DSP family.
Renesas Technology America Inc. 1 M16C/Tiny SKP Tutorial 2 Creating A New Project Using HEW4.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Internal components, Backing Storage, Operating Systems Software
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Characterizing the Existing Network Designing and Supporting Computer Networks.
How Hardware and Software Work Together
DOS- Disk Operating System By: Prof.M.B.Salunke Asst. Prof., Department of Computer Engg, SITS, Pune-41.
AT91SAM9261-EK WinCE 6.0 DEMO ATMEL AT91 Application & Support Group
0 Embedded Real-Time System Leader JBOSN RTOS : 선택이 아닌 필수 Network Camera Controller S65K Series.
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
19/2003SigmaTel Confidential 1 D-Major TM Audio Decoder Product Overview.
Learning Targets Identify the external parts of the computer Identify examples of input devices Identify examples of output devices Define basic computer.
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
Understanding and Troubleshooting Your PC. Chapter 5: Understanding, Installing, and Troubleshooting Disk Drives2 Chapter Objectives  In this chapter,
DOS  In the 1980s or early 1990s, the operating system that shipped with most PCs was a version of the Disk Operating System (DOS) created by Microsoft:
AT91SAM9261-EK WinCE 5.0 DEMO ATMEL AT91 Application & Support Group Version 1.O February 2007.
CHAPTER FOUR COMPUTER SOFTWARE.
How Hardware and Software Work Together
ScreenPlay Director Training By Erik Collett
Cisco Router Hardware Software overview. In this lecture we will investigate an overview of Cisco router hardware and software. We will first turn our.
ScreenPlay TV Link Training By Erik Collett
Computer Basics 2.
Ch.2 – Introduction to Routers
CDR- Digital Audio Recorder/Player Brian Cowdrey Mike Ingoldby Gaurav Raje Jeff Swetnam.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Memory: Relocation.
Setting the BIOS BIOS – Part 3 Richard L. Goldman March 2000.
Class ID: Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Implementing Bootloaders on Renesas MCUs.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course explains how to use section setting and memory.
Sem 2v2 Chapter 5 Router Startup and Setup. A router initializes by loading the bootstrap, the operating system, and a configuration file. If the router.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 5 Managing Cisco IOS Software.
Router Startup and Setup Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course demonstrates the Project Generator function.
ECE 456 Computer Architecture Lecture #9 – Input/Output Instructor: Dr. Honggang Wang Fall 2013.
File System Department of Computer Science Southern Illinois University Edwardsville Spring, 2016 Dr. Hiroshi Fujinoki CS 314.
Creating cast members  Using tool palette window that can be selected from window menu.  The following objects can be created: Push buttons, Radio buttons,
DATE S. S.. Sandstone The sandstone carries out the following tasks: 1. Set up target platform environment, 2. Load a bootable image into memory, 3. Relinquish.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course demonstrates the use of the High-performance.
Computer Organisation
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
Tips for Optimizing your MPiec Application Program
Lesson 4 0x Operating Systems.
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
Von Neumann model - Memory
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
Booting Up 15-Nov-18 boot.ppt.
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
Chapter 9 Bootloader.
NS Training Hardware.
Presentation transcript:

Training SM350 Modules and Code Swapping By: Robert Abutan

Agenda 8051 HW restriction Modules Swapping limitation Code swapping

Cello 8051 HW Restriction Only 64 Kbytes Program Memory: –32 Kbytes ROM –32 Kbytes RAM SM350 needs to support: –Codec Initialization –Display & Drawing –User Interface –Audio –Recording –USB –Etc…

Modules Can be categorized into 4 basic main modules: –External ROM module (optional) –Initial module –User Interface module –Functional modules (Audio, Record, etc…)

External ROM System Diagnostic Firmware: –Test programs (SDRAM, Display, DSP, etc…) –Debugger For more information you can check on the SM350 System External ROM specification.

Initial Module Function: –Initialize HW (Codec, display, etc…). –Initialize SW (Global variable, etc…). –Recache Fat. –Load Resource files to SDRAM. –Load Binary files to SDRAM. –Logo (animation). Available space: up to 32 Kbytes (Currently only use 24 Kbytes).

User Interface Module Function: –Manage User Interface State Machine. –Manage Menu. –Responsible for drawing. –Manage Key. –Manage calling corresponding module Available space: 16 Kbytes. Our code > 16 Kbytes  Common + Banks.

Functional modules Function: –Manage each individual supported feature. Limited space: 16 Kbytes. Our code > 16 Kbytes  Common + Banks. Available functional modules: –Audio Module (Audio, JPEG, Slide Show, Ebook, and Movie); –Record Module (FM Radio and Recording); –USB Module; –USBDRM Module; –Recache Module; –Manager Module.

Audio Module Function: –Play Audio (MP3 / WMA). –Show JPEG (or Slide Show). –Manage EBook. –Manage MJPEG (Movie). –Manage Audio Playlist. –Manage browsing

Record Module Function: –Setup FM Radio. –Setup Recording (MIC or Line in). –File Write for Record.

USB Module Function: –Manage SCSI Command from PC

USBDRM Module Function: –Manage MTP. –Manage DRM download.

Manager Module Function: –Format media. –Detect media. –Manage File related functions, such as copy file, delete file, create directory, etc…

Recache Module Function: –Recache FAT –Reload any necessary files (WMA Table, Bitmap, Font, etc…)

Swapping Limitation Our swapping code is located at the RAM. Disadvantage: –Cannot swap a portion of software in the same RAM location without using swapping function from different RAM.

Code Swapping 2 Important functions: –Code loading from SDRAM to 8051 Program SRAM (8051Swap.c). –Interbank swapping (L51_MODBANK.A51 and L51_UIBANK.A51).

DMA Restriction (Code loading) 4 bytes alignment both on the SRAM and/or SDRAM due to hardware restriction. Only the first 10 Kbytes (0x0000 ~ 0x27FF) of the Data SRAM can be used. For some media (excluding HDD), DMA transfer xdata is restricted to starting address that its last 10 bits are zero.

Code Swapping Diagram

Swapping code UI extrncode(MainEntry) extrncode(ModBankSwapEntry) CSEGAT08000H LJMPMainEntry LJMPModBankSwapEntry END Module extrncode(MainEntry) extrncode(_UIBankSwapEntry) CSEGAT0C000H LJMPMainEntry LJMP_UIBankSwapEntry END

Data RAM For more information: SysBoot. inc

Summary SM350 Software Modules Code Swapping External Data RAM

Questions ???