Emulated EEPROM Function for Data storage (ref. 908LJ12)

Slides:



Advertisements
Similar presentations
1 ECE 372 – Microcontroller Design Parallel IO Ports - Outputs Parallel IO Ports E.g. Port T, Port AD Used to interface with many devices Switches LEDs.
Advertisements

MC68HC11 System Overview. System block diagram (A8 version)
SUN TRACKING SOLAR PANEL. Introduction The main objective of this project is to track the sun and rotate the solar panel accordingly, to receive sunlight.
1-1 Embedded Software Development Tools and Processes Hardware & Software Hardware – Host development system Software – Compilers, simulators etc. Target.
Microcontroller 8051.
The 8051 Microcontroller.
The 8051 Microcontroller architecture
Oppenheimer Technologies Rick King Jonathan Creekmore.
Monitor ROM Module MTT48 V MONITOR ROM MODULE (MON)
Objectives How Microcontroller works
Technology Date 10/17/00, Page 1 Technology s PROFIBUS Technology Chips - Modules - Development Kits.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 6 Switch Configuration.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 6 Switch Configuration Cisco Networking Academy.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 6 Switch Configuration.
1 CCNA 3 v3.1 Module 6 Switch Configuration Claes Larsen, CCAI.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an overview of the CPU architecture.
Ch.2 – Introduction to Routers
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 2 Introduction to Routers.
© 2004, D. J. Foreman 1 Computer Organization. © 2004, D. J. Foreman 2 Basic Architecture Review  Von Neumann ■ Distinct single-ALU & single-Control.
© 2004, D. J. Foreman 1 Computer Organization. © 2004, D. J. Foreman 2 Basic Architecture Review  Von Neumann ■ Distinct single-ALU & single-Control.
Microcontrollers Class : 4th Semister E&C and EEE Subject Code: 06ES42
HOW a Computer Works ? Anatomy of Microprocessor.
OBSTACLE AVOIDANCE ROBOT
ROBOTIC VEHICLE FOR STORES MANAGEMENT
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.1 Module 6 Switch Configuration.
ELECTRIC LINE MAN SAFETY WITH PASSWORD BASED CIRCUIT BREAKER Under the Guidance of Submitted by Project Title.
1 CCNA Semester 2 Introduction to Routers Unit 2 Review JEOPARDY.
ECE 353 Introduction to Microprocessor Systems Michael J. Schulte Week 8.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
HCS12 Technical Training Module 15 – Break Module Slide 1 MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other.
Computer Operating Properly Module MTT COMPUTER OPERATING PROPERLY MODULE (COP)
1 Pertemuan 3 Operating Cisco IOS Software. Discussion Topics The purpose of Cisco IOS software Router user interface Router user interface modes Cisco.
George W. Woodruff School of Mechanical Engineering, Georgia Tech ME4447/6405 ME 4447/6405 Microprocessor Control of Manufacturing Systems and Introduction.
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
HJD Institute of Technical Education & Research- Kera(Kutch) The 8051 Microcontroller architecture PREPARED BY: RAYMA SOHIL( )
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 2 Introduction to Routers.
10- Lock Bits, Fuse Bits and Boot Loader. Boot Loader Support – Read-While-Write Self- Programming: The Boot Loader Support provides a real Read-While-Write.
Mobile phone keypad sensed password entry for door opening.
PORTABLE PROGRAMMABLE MEDICATION REMINDER
ENERGY METER TO INDICATE BILLING IN RUPEES FOR LOAD WISE OR DAY WISE
Introduction to Microcontroller Technology
Parking Availability Indication System
The 8051 Microcontroller architecture
Project Title DYNAMICALLY CHANGING SIGNAL LIGHT TIME ALLOTMENT IN STREET JUNCTIONS BASED ON TRAFFIC DENSITY Under the Guidance of Submitted by.
USER PROGRAMMABLE PASSWORD BASED HOTEL ROOM DOOR LOCK
Fundamentals of Computer Engineering
RAILWAY LEVEL CROSSING GATE OPERATION REMOTELY BY ANDROID
Under the Guidance of Submitted by Project Title
Under the Guidance of Submitted by Project Title
PROPELLER DISPLAY OF MESSAGE BY VIRTUAL LEDS
PC CONTROLLED SCROLLING MESSAGE DISPLAY FOR COLLEGE NOTICE BOARD
RAILWAY LEVEL CROSSING GATE OPERATION REMOTELY BY ANDROID
CCNA 2 v3 JEOPARDY Module 2 CCNA2 v3 Module 2 K. Martin.
PRE-PROGRAMMED DIGITAL SCROLLING MESSAGE
68HC11 Interrupts & Resets.
Project Title EVM IN 8051 Under the Guidance of Submitted by.
PRE-STAMPEDE MONITERING AND ALARM SYSTEM
PC Mouse operated Electrical Load Control Using VB Application
Chapter 7.2 Computer Architecture
CHAPTER 7.
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
EMBEDDED PASSWORD BASED ACCESS CONTROL SYSTEM USING I2C PROTOCOL
CCNA 3 v3.1 Module 6 Switch Configuration
Introduction to Microprocessors and Microcontrollers
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
COSMOS Summer 2008 Necessary Electronics
Computer Organization
Important 8051 Features On chip oscillator 4K bytes ROM 128 bytes RAM
8051 Micro Controller.
Overview 1. Inside a PC 2. The Motherboard 3. RAM the 'brains' 4. ROM
Presentation transcript:

Emulated EEPROM Function for Data storage (ref. 908LJ12) 2017/4/21 The code is pre-installed in ROM and ready to use - USER FRIENDLY! Data file can be located in any location of RAM - FLEXIBLE! User defined data size to be programmed, 2bytes to 15 bytes at a time - FLEXIBLE! FLASH endurance can be improved up to 60 times with 128 bytes block size. CPUSPD Data Size Address High 2 Address Low 2 Data0 Data1 DataN DataFile2 pointer : LDHX $<DataFile1PTR> JSR WRITE_EE JSR READ_EE Address High 1 Address Low 1 DataFile1 pointer RAM Segment0 Segment1 Segment2 Segment3 Segment4 Segment5 Segment6 Size Control Block Boundary FLASH memory LIFO 1 1

In Circuit Flash Programming Platform (ref. 908LJ12) 2017/4/21 CPUSPD Data Size Address High 1 Address Low 1 Data0 Data1 DataN DataFile1 pointer CPUSPD Data Size Address High 1 Address Low 1 Data0 Data1 DataN DataFile2 pointer PROGRAM VERIFY FLASH : LDHX $<DataFile1PTR> JSR PRGRNGE : LDHX $<DataFile2PTR> JSR LDRNGE RAM RAM 2 1

HC908 Flash In System Programming through SCI Port 2017/4/21 HC908 Flash In System Programming through SCI Port The window s/w allow user - Load/Upload data from MCU - Erase/Program/Verify Flash Memory ISP? Start Execute User Code Disable COP. Exec. ISP Routine Application System TXD RXD SCI 68HC908 MCU MC145407 RS232 3 1

HC908 Flash In System Programming through SCI Port 2017/4/21 HC908 Flash In System Programming through SCI Port Registers Monitor ROM Vectors $0040 $023F $FE00 FLASH Programming Algorithm $0000 $FFFF ISP Routine RxD TxD PTA0 I/O Registers RAM SCI FLASH Data FLASH $8000 Erase FLASH Application Software Programming and erasing of FLASH locations cannot be performed by code being executed from the FLASH memory I get many designers asking me how they can use the Monitor to program the Flash memory in circuit in the field. They are perplexed by the idea that Port A0 is used for 9600 baud serial communications. The answer to this question is "you don't use the Monitor". The Monitor was intended to be used during the development phase of a project and for initial Flash programming control during the final product's manufacturing cycle. In all likelihood, <click> an application will use the SCI for serial communications with the outside world. The SCI can support various baud rates and has the necessary hardware to be significantly more robust than any port "bit-banging" method. <click> Since the application won't use Port A0 for serial communications, <click> then the Monitor can't be used for reprogramming the Flash in the field. So can this be accomplished? The answer is: user code programmed into the Flash. <click> For lack of a better terminology, we'll refer to this as the "User Monitor". This can perform all the same tasks as the Monitor ROM with the exception of using the SCI for communications and whatever additional application specific functions make sense. <click> The User Monitor can have a copy of the Flash programming algorithm which it will write into RAM. Although this isn't strictly necessary, it can potentially enhance the User Monitor's overall operation. A User Monitor could be written to mimic the Monitor ROM's behavior exactly, but that would then require that the ICS software be used as the device interface, which may not be practical in most cases, such as a remote web-based weather station sitting on the top of a mountain. In this case, a web browser is the device interface, and it will be used to perform Flash reprogramming in the field. <click> The User Monitor then operates the same as the Monitor ROM, <click> by downloading Flash data via the SCI into the RAM <click> and then executing the Flash programming algorithms from RAM <click> to erase the Flash <click> and then write the new data into the Flash. In this manner, <click> the entire Flash can be updated. 4 1

In-Circuit Programming system configuration 2017/4/21 In-System Programming is a process by which the device is programmed or erased with the device on the final end target system without open the case of the system. Personal Computer Interface Board Target System OSC_1 Software - MCUscribe - ICS08 M68SPGMR08 OSC_SEL* Additional H/W: - Header x 1 pcs - Diode x 2 pcs - Resistor - HC4066* x 1 pcs PA0 RS232 VPP VCC_S GND It may be some different control signals between interface board and target system depends on different application Example: GP32 and MR24/32 ICP Reference Demo board use 4 wires (PA0, Vpp, Vcc_s and GND). Remark: OSC_SEL and HC4066 is used when the oscillation frequency of target system is not equal to the oscillation frequency which required to entry to the monitor mode of the MCU. 5 1

GP32 In-Circuit Programming Reference Demo 2017/4/21 GP32 In-Circuit Programming Reference Demo GP32 Target board simulates a typical application, user running code will be executed after provided the power to the board (rurns the LED on and off repeatedly) Remove the Target Board power and then upgrade the firmware through four wires and SPGMR with PC 6 1