KEIL-BANK Paging (H00, H01 ... H0x)

Publisher:见贤思奇异果Latest update time:2015-05-06 Source: 51heiKeywords:KEIL-BANK  C51 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
For C51, the size of the generated HEX file is limited. If the ROM is too large, paging technology should be used to divide the HEX into several files. The specific
method is as follows:

 ==========================================================================
1. Find the L51_BANK.A51 file and add it to the project 
2. Find the STARTUP.A51 file and finally EXTRN CODE (?B_SWITCH0) CALL ?B_SWITCH0 ; init bank mechanism to code bank 0 It was originally commented out, and the restoration is effective    .
3. The rest is the setting, see the figure below ================================================ For a more lengthy method ,  see the second reference link = ... hexsparrow.H08 Delete the original paging file first @echo off copy outputsparrow.H00 hexsparrow.H00 copy outputsparrow.H01 hexsparrow.H01 copy outputsparrow.H02 hexsparrow.H02 copy outputsparrow.H03 hexsparrow.H03 copy outputsparrow.H04 hexsparrow.H04 copy outputsparrow.H05 hexsparrow.H05 copy outputsparrow.H06 hexsparrow.H06 copy outputsparrow.H07 hexsparrow.H07 Copy the new paging file to the specified address HEX2BIN /Q /L524288 hexsparrow.H00 hexRTD2668.BIN         HEX2BIN /Q /O65536 /M hexsparrow.H01 hexRTD2668.BIN HEX2BIN /Q /O131072 /M hexsparrow.H02 hexRTD2668.BIN HEX2BIN /Q /O196608 /M hexsparrow.H03 hexRTD2668.BIN HEX2BIN /Q /O262144 /M hexsparrow.H04 hexRTD2668.BIN HEX2BIN /Q /O327680 /M hexsparrow.H05 hexRTD2668.BIN HEX2BIN /Q /O393216 /M hexsparrow.H06 hexRTD2668.BIN HEX2BIN /Q /O458752 /M hexsparrow.H07 hexRTD2668.BIN Use HEX2BIN to combine HEX pages into a BIN file
 









 

































Keywords:KEIL-BANK  C51 Reference address:KEIL-BANK Paging (H00, H01 ... H0x)

Previous article:Accurately grasp the DS18B20 read and write timing to extend the connection distance
Next article:C51 pulse width detection program

Recommended ReadingLatest update time:2024-11-17 00:52

C51 tutorial third 51 program: digital tube display
The third 51 program: let the digital tube display 0-9 in a cycle This is a AT89c51 microcontroller tutorial. We will provide blog tutorials and accompanying materials for download every time. A single-chip microcomputer is a small CPU that is widely used in the electronics field. It can be found in products such as
[Microcontroller]
C51 tutorial third 51 program: digital tube display
How is C51 timer TL0=(65536-50000)%256 derived?
Article 1: If the crystal oscillator of the microcontroller you choose is certain, for example, 12MHZ, the machine cycle is 1us, which means a count is generated every 1us. Take 50ms as an example, this is the timing you want, which means that counting the machine cycle 50000 times can get what I want, but T0 can coun
[Microcontroller]
PID Control C51 Program (1)
About PID proportional regulation: it is to respond to the deviation of the system in proportion. Once the system has deviation, proportional regulation will immediately produce regulation to reduce the deviation. A large proportional effect can speed up regulation and reduce errors, but too large a proportion will re
[Microcontroller]
Design of campus self-guided tour device based on C51 single chip microcomputer
This paper adopts the hardware decoding solution, realizes MP3 decoding on the single chip, and adds wireless function to make it closer to the product, and designs it into an electronic product "campus self-service guide". Its function is the same as that of a tour guide, with self-service and electronic elements.
[Microcontroller]
Design of campus self-guided tour device based on C51 single chip microcomputer
The simplest 4*4 matrix keyboard program c51
Debug passed.   key_scan_p2() //Timer, or main program scan { uchar x,y,z;  P2=0x0f;     x=P2&0x0f;  P2=0xf0;  y=P2&0xf0;  z=x|y;    if(z!=key_value1) key_value1=z; //If the two results are different     else    {         if(key_value1 == 0xff) key_release=0;   else        {       if (key_release==0) //Have all the ke
[Microcontroller]
C51 global initialization and precise delay program, 51 microcontroller precise delay program
/****************************************************** *************************************************** ****** * Initialization Program * QiZhao,2007 * All Rights Reserved * File : initial.h * By : QiZhao * Contact :zq1987731@163.com * * Version : V2.1 γ * Corrector : QiZhao * Date : 2008.2.1 (Last modified) * * R
[Microcontroller]
Some misunderstandings and precautions of C51
Some misunderstandings and precautions of C51 1) C is averse to absolute positioning. I often see beginners asking to use _at_. This is a fallacy, treating C as ASM. In C, variable positioning is the job of the compiler. As long as beginners define the variable and its scope, the compiler will give the variable a fi
[Microcontroller]
C51 interrupt application interrupt and using
The basic structure of the 8051 series MCU includes: 32 I/O ports (4 groups of 8-bit ports); two 16-bit timer counters; full-duplex serial communication; 5 interrupt sources (2 external interrupts, 2 timer/counter interrupts, 1 serial port input/output interrupt), two-level interrupt priority; 128 bytes of built-in RA
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号