Location:
Search - c51 ram
Search list
Description: 嵌入系统中使用C语言替代汇编一样,在嵌入系统中使用RTOS是大势所趋。原因主要是现在在大多数情况下编程效率比执行效率重要(单片机便宜嘛)。但纵观51的RTOS,keil c51 所带的RTX Full 太大(6k多),且需要外部ram,又无源代码,很多时候不实用。RTX Tiny虽然小(900多字节),但是任务没有优先级和中断管理,也无源代码,也不太实用。而ucosII虽有源代码,但是它太大,又需要外部ram,所有函数又必须是重入函数,用在51这类小片内RAM的单片机上有点勉强。于是,我借鉴ucosII和RTX Tiny编写了Small RTOS 51,虽然它为51系列编写,但是它还是比较容易移植到其它CPU上。
Platform: |
Size: 87185 |
Author: joyhee@sohu.com |
Hits:
Description: 使用STC89c58RD+系列单片机控制手机收发短信息的原理、硬件电路、PDU数据格式和短信息发送/接收程序,同时给出了一个应用实例。GSM采用的是西门子的TC35i,包括RS232串行接口,单片机采用STC89c58RD+,内部扩展RAM有256+1024字节的空间,可以作为短信缓冲区,1602液晶显示器(16引脚)作为显示模块和程序调试用.
Platform: |
Size: 91000 |
Author: bit.axin |
Hits:
Description: atmel at89c51snd1 做mp3的源代码-ATMEL at89c51snd1 do mp3 source code
Platform: |
Size: 470016 |
Author: 卢嘉铭 |
Hits:
Description: 铁电存储器FM25CL64 的C51 编程。-Ferroelectric RAM FM25CL64 the C51 programming.
Platform: |
Size: 8192 |
Author: 谷力民 |
Hits:
Description: 89C516RD+的两个AD转换程序,89C51是22.1184MHZ,有64KB Flash 256B(DataRAM)+1024B(Ext.RAM)的性价比很高的MCU-89C516RD AD converter, 89C51 is 22.1184MHZ, 64KB Flash 256B (DataRAM) 1024B (Ext.RAM) of high performance and low price MCU
Platform: |
Size: 7168 |
Author: 无芯有心 |
Hits:
Description: 一个keilc51的例子--飞机小游戏,游戏运行在单片机里,一块51即可,无需任何外扩的
RAM,只要51的串口和计算机连起来就可以玩了。计算机上运行的程序是终端仿真程序,用来接收单片机发出的字符串并显示出由字符组成的画面和发出控制字符。-a keilc51 example-- small aircraft, games run on the microcontroller, a 51 can be without any foreign expansion of RAM, as long as 51 serial link and the computer can play. Computers running program is terminal emulation, to receive MCU and the string of characters shown by the composition of the images and issued characters.
Platform: |
Size: 21504 |
Author: laf |
Hits:
Description: 典型的PID处理程序:这是从网上找来的一个比较典型的PID处理程序,在使用单片机作为控制cpu时,请稍作简化,具体的PID
参数必须由具体对象通过实验确定。由于单片机的处理速度和ram资源的限制,一般不采用浮点数运算,
而将所有参数全部用整数,运算到最后再除以一个2的N次方数据(相当于移位),作类似定点数运算,可
大大提高运算速度,根据控制精度的不同要求,当精度要求很高时,注意保留移位引起的“余数”,做好余
数补偿。这个程序只是一般常用pid算法的基本架构,没有包含输入输出处理部分-typical PID processing : This is from the Internet, found a typical PID handling procedures, in the use of single chip controller cpu, please slightly simplified, PID parameters specific to the specific object must be determined through experiments. As microcontroller processing speed and ram resource constraints, not normally used floating point calculations. they will use an all parameters, calculation of a final divided by two of the Nth data (equivalent to shift), Points for similar operations will be greatly improved computational speed, precision control of the different requirements and high precision, reservations to the attention of displacement caused by the "I", which I do for compensation. This procedure is commonly used algorithm pid the basic framework did not conta
Platform: |
Size: 1024 |
Author: jty |
Hits:
Description: 用C51实现的拼音输入法,这是改写的网友 embuffalo、独步上载在www.21ic.com自由发布区的由张凯原作的51上的拼音输入法程序。
原作使用了一个二维数组用以查表,我认为这样比较的浪费空间,而且每个字表的索引地址要手工输入,效率不高。所以我用结构体将其改写了一下。就是大家现在看到的这个。
因为代码比较的大,共有6,000多汉字,这样就得要12,000 byte来存放GB内码,所以也是没办法的 :-(
编译结果约为3000h,因为大部分是索引表,代码优化几乎无效。
在Keil C里仿真芯片选用的是华邦的W77E58,它有32k ROM, 256B on-chip RAM, 1K on-chip SRAM (用DPTR1指针寻址,相当于有1K的片上xdata)。条件有限,没有上片试验,仿真而已。
打算将其移植到AVR上,但CodeAVRC与IAR EC++在结构体、指针的定义使用上似乎与C51不太一样,现在还未搞定。还希望在这方面有经验的网友能给予指导。-C51 with the Pinyin input method, which is rewritten netizens embuffalo. Unrivaled www.21ic.com available in the free publication of the original work by Kai-51 on the Pinyin input method procedures . Appreciate the use of a two-dimensional array for the look-up table, I think this is a waste of space. Each of the characters but the index table to manually input address, efficiency is not high. I use the structure to rewrite a bit. We see now is this. Because the code comparison, a total of 6, more than 000 Chinese characters, this must be 12, byte to store 000 GB code, is not the way to compile results :-( about 3000h. because most of the index table. Code Optimization almost ineffective. Keil in the C simulation uses the chip in W77E58 Winbond, It has 32 k ROM 256B on-chip RAM, 1K on-chi
Platform: |
Size: 14336 |
Author: Jawen |
Hits:
Description: 汇集了C51系列单片机多种类型处理器和常用的各种子函数。-assembled a C51 Series MCU processor and various types of commonly used Functions.
Platform: |
Size: 852992 |
Author: 李强 |
Hits:
Description: AT89C52扩展外部双口RAM(IDT7132),在Keil C51环境下测试,和一般的RAM使用方法相当!用串口调试助手观看测试结果-AT89C52 expand external dual-port RAM (IDT7132) Keil C51 in the test environment, and the general use of RAM is! Help with serial debugging watched test results
Platform: |
Size: 1024 |
Author: 陈桂辉 |
Hits:
Description: 下载说明: 本光盘的所有代码均在Keil C51 7.0以上版本编译通过。读者的电脑只需要
能够运行Windows 98 以上版本的操作系统、并能够安装Keil C51 7.0以上版本
的软件即可。
读者可以到Keil公司的主页(http://www.keil.com/demo/)免费下载
Keil C51试用版软件。但试用版的Keil C51 软件有2KB RAM的限制,部分程序
将不能通过编译。-Download Description: This CD-ROM of all the code in Keil C51 7.0 compiler passed above. The reader
Platform: |
Size: 1878016 |
Author: 肖金星 |
Hits:
Description: 这个是一个用Keil C51编写的LCD1602驱动程序示例,与其它的LCD1602驱动程序不同的是本示例代码中将LCD1602的全部功能及操作均封装成API式接口形式,并且给出了LCD1602的内部RAM自造字功能的API函数。程序中含有写好的LCD1602CG.h标准驱动函数。
Platform: |
Size: 30720 |
Author: 王彪 |
Hits:
Description: 一个动态可视化的MCS-51全功能模拟器,此模拟器可以让您在PC机上模拟运行MCS-51程序就如同在硬体上一样.
这模拟器提供8KB的程序空间,256字节的RAM,16KB的XRAM,2个16位的定时/计数器(T0与T1),一个实时时钟,一个 5x6 的小键盘,一个 128x64 点阵的 LCD,一个音频发生器,一个串口,一个打印口,和5个有两个优先级的中断源,并且程序以固定的 12MHz 时钟运行.再附上四个 Keil C51 的例程,KeyPad(演示KeyPad使用),Music(模拟器演奏音乐),Picture(LCD图形演示),Proc24c02(使用此模拟器从电脑打印口读写24C02)等.. 再附上取图程序方便LCD图片程序应用.-A dynamic visualization of the MCS-51 full-function simulator, this simulator allows you to run PC-simulated MCS-51 procedure as in the same hardware. This simulator provides procedures 8KB space, 256 bytes of RAM, 16KB The XRAM, 2 16-bit timer/counter (T0 and T1), a real-time clock, a small 5x6 keyboard, a 128X64 lattice of the LCD, an audio generator, a serial port, one LPT, and 5 there are two priority interrupt sources, and procedures to run a fixed 12MHz clock. Keil C51 together with four of the routines, KeyPad (demo KeyPad use), Music (playing music simulator), Picture (LCD presentation graphics), Proc24c02 (use this simulator to read and write from the computer print port 24C02), etc. .. and then attach a check chart procedure process to facilitate the application of LCD pictures.
Platform: |
Size: 544768 |
Author: kly |
Hits:
Description: 嵌入式操作系统Salvo 在单片机C8051F350上的移植,在keil c51上可以模拟运行,支持多任务,任务间通讯等!也可以移植到别的51系列单片机上,不需要额外RAM!-Embedded Operating System Salvo Singlechip C8051F350 in the transplant, in keil c51 can be simulated to run in support of multi-tasking, task communication, etc.! Can also be transplanted to the other 51 series single-chip, no additional RAM!
Platform: |
Size: 147456 |
Author: XIAFAC |
Hits:
Description: C51下的DES加密函数包,可以方便用于IC的数据安全传输,不过需要>2K的RAM。-C51 under the DES encryption function package, it will be convenient for the IC data secure transmission, but it needs
Platform: |
Size: 4096 |
Author: 梦想 |
Hits:
Description: 就像在嵌入系统中使用C语言替代汇编一样,在嵌入系统中使用RTOS是大势所趋。原因主要是现在在大多数情况下编程效率比执行效率重要(单片机便宜嘛)。但纵观51的RTOS,keil c51 所带的RTX Full 太大(6k多),且需要外部ram,又无源代码,很多时候不实用。RTX Tiny虽然小(900多字节),但是任务没有优先级和中断管理,也无源代码,也不太实用。而ucosII虽有源代码,但是它太大,又需要外部ram,所有函数又必须是重入函数,用在51这类小片内RAM的单片机上有点勉强。于是,我借鉴ucosII和RTX Tiny编写了Small RTOS 51,虽然它为51系列编写,但是它还是比较容易移植到其它CPU上。
-err
Platform: |
Size: 91136 |
Author: gtt |
Hits:
Description: P89C669存储实例:
说明:
1. inc 文件夹
是关于P89C669的头文件,在使用下面两个例子前,请首先将头文件拷到
..\Keil\C51\INC\下.
2. Rom 文件夹
是关于P89C669的程序空间使用的例子,说明怎样利用大于64KB的程序空间。
3. Ram 文件夹
是关于P89C669的数据空间使用的例子,说明怎样在各个数据空间定义变量。
-P89C669 storage examples: Note: 1. Inc folder is on the first P89C669 documents, in the use of the following two examples, please first Kaodao header files .. KeilC51INC under .2. Rom folder P89C669 procedures on space use example of how to make use of the procedure is greater than 64KB of space. 3. Ram folder P89C669 data on space use examples to illustrate how the definition of data space in all variables.
Platform: |
Size: 343040 |
Author: 游春 |
Hits:
Description: 51单片机,USB,触摸,TFT,的等综合应用,高级别。(usb+flash+touch+tft+ram综合测试)-51 single-chip, USB, Touch, TFT, integrated applications (usb+ flash+ touch+ tft+ ram General Test)
Platform: |
Size: 1505280 |
Author: 程明 |
Hits:
Description: 此文档为C51单片机串口通讯学习程序(中断+FIFO)-This document is for the C51 microcontroller serial communication learning process (interrupted+ FIFO)
Platform: |
Size: 6144 |
Author: |
Hits: