Using the AT89C2051 Microcontroller as a Virtual Machine

2021-11-23 Microchip Application note & Design Guide English
■ It is often cited that what differentiates an embedded microcontroller from other general purpose computing devices is its integration into a larger electrical or elec-tro-mechanical system. While this is generally true, the fact remains that processors of widely differing capability and architecture are employed in this regard.
■ Unfortunately, this broad explanation defines nothing; we are still left to contend with everything from full-blown embedded PCs to the smallest self-contained single-chip microcontrollers. Within this expansive realm, conventional wisdom may lead to the conclusion that the smallest microcontrollers are only appropriate for driving small-scale applications with very limited processing requirements. While this is unquestionably the case in many instances, a class of applications exists that mandates a relatively high level of program complexity within severely con-strained space limitations. Faced with such a seeming paradox, engineer soften feel they have no choice but to adopt a less than optimal design strategy using a larger microcontroller than originally intended.
■ The problem, of course, is one of limited resources. Functional complexity implies a non-trivial program, and the greater the functional complexity the larger the program. Even as the capability of small single-chip microcontrollers continuously inches upwards, application requirements seem to grow at a commensurate rate. Trying to hit such a moving target is difficult at best.
■ The economy of using a microcontroller with just enough processing power for a given application is a potent incentive to find just the right fit. Of course, this only works when the system requirements are thoroughly understood and clearly defined. Since such a design normally has little reserve capacity, it is usually hard pressed to handle features beyond those originally specified. Should additional capabilities eventually become a necessity, the result could be a system that runs out of steam and an engineer that runs out of options. Such are the perils of designing on the edge.
■ Atmel's AT89C2051 offers capabilities that far exceed those of competing devices of similar size. This opens up potential design opportunities that were simply unattainable with previously avail-able parts. Housed in a 20-pin package, Atmel's miniature microcontroller retains all the major features of the 8051 architecture. Furthermore, the AT89C2051 includes all of the 8051's "special" pins including the external interrupts, UART transmit and receive lines, and the external timer controls. Even though the AT89C2051 significantly ups the processing ante, it would seem that there are limits to what you can accomplish with any single-chip microcontroller.
■ This dilemma is nothing new. The traditional way of dealing with such limitations has been to operate the microcontroller in external memory mode. Common sense would indicate the hopelessness of applying such an approach to the AT89C2051. After all, the AT89C2051 is truly a single-chip design that does not even possess an external bus structure. It turns out that the situation is not hopeless at all.
世强硬创平台www.sekorm.com
世强硬创平台电子商城www.sekorm.com/supply/
世强硬创平台www.sekorm.com
世强硬创平台www.sekorm.com
- The full preview is over. If you want to read the whole 11 page document ,please Sign in/Register -
Download Documentation will be sent to the business email and automatically synchronized to all devices for easy management
  • +1 Like
  • Add to Favorites

All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.

Recommend

Configuring High-density FPGAs using Atmel’s Serial DataFlash® and an AVR® Microcontroller Application Note

4/03  - Application note & Design Guide

ATMEGA163L-4XC,XC2V2000,XC2V4000,EP20K1500E,AT90S8515-4XC,AT45DB642B,AT45DB321B,AT45DB161B,XC2V8000,XC2V6000,AT90S8535-4XC,EP20K1000E,ATMEGA103L-4XC,XC2V3000,AT45DB041B,AT90LS4433-4XC,AT45DB021B,AT45DB011B,AT45DB081B,AT90S8515,AVR ATMEGA163,AT90LS4433,XC2V10000,OR4E10,EP20K600E,OR4E14,XC2V1500,OR4E6

PIC16(L)F1614/8 Flash Microcontroller

11/2017  - Datasheet

PIC16F1614,PIC16(L)F1613,PIC16(L)F1612,PIC16(L)F1615,PIC16(L)F1614,PIC16LF1618,PIC16F1618,PIC16(L)F1619,PIC16(L)F1618,PIC16LF1614

PIC18F97J94 FAMILY Flash Microcontroller Programming Specification

10/28/13  - Datasheet

PIC18F67J94,PIC18F96J99,PIC18F86J94,PIC18F85J94,PIC18F87J94,PIC18F97J94,PIC18F66J99,PIC18F96J94,PIC18F95J94,PIC18F86J99,PIC18F66J94,PIC18F65J94

PIC16F/LF1847 18/20/28-Pin 8-Bit Flash Microcontroller Product Brief

2021/05/16  - Datasheet

PIC16F,LF1847,PIC16LF1847,PIC16F1847

Flash Microcontroller Programming Specification

03/26/09  - Technical Documentation

PIC18F6XJXX/8XJXX

查看更多版本

PIC18F6XKXX/8XKXX FAMILY Flash Microcontroller Programming Specification

9/2020  - User's Guide

PIC18F65K90,PIC18F66K90,PIC18F67K90,PIC18F86K90,PIC18F87K90,PIC18F86K22,PIC18F85K22,PIC18F6XKXX/8XKXX FAMILY,PIC18F66K22,PIC18F65K22,PIC18F67K22,PIC18F85K90,PIC18F87K22

查看更多版本

PIC16F15256/74/75/76 28/40-Pin Microcontrollers DataSheet

03/2021  - Datasheet

PIC16F152 FAMILY,PIC16F15256,PIC16F15276 T-I/PT,PIC16F152,PIC16F15276,PIC16F15256 T-E/SP,PIC16F15274,PIC16F15275

PIC18F97J60 FAMILY Flash Microcontroller Programming Specification

03/26/09  - Reference Program

PIC18F66J60,PIC18F67J60,PIC18F97J60,PIC18F66J65,PIC18F96J60,PIC18F96J65

SAMD Microcontroller Family

8/17  - Datasheet

SAMD,SAMD FAMILY,SAMD20E14A-MUT,SAM D20,SAM D10,SAM D21,SAM D11

PIC18F1230/1330 Flash Microcontroller Programming Specification

2018/05/13  - User's Guide

PIC18F1X30,PIC18F1330,PIC18F1230,PIC18F1330-ICD

PIC16F54/57/59 18/20/40-Pin Flash Microcontroller Product Brief

05/28/04  - Supplier and Product Introduction

PIC16F54,PIC16F57,PIC16F59

More

Electronic Mall

More

Manufacturer:HUA XUAN YANG ELECTRONIC

Category:EEPROM

Auth. Dist.

Unit Price:$0.2123

In Stock:50

Manufacturer:HUA XUAN YANG ELECTRONIC

Category:EEPROM

Auth. Dist.

Unit Price:

In Stock:

connect

Contact Us

E-mail:contact@sekorm.com

Tel: +86 954668/400-830-1766