參數(shù)資料
型號: MC68HCP11E1CFNE3
廠商: Freescale Semiconductor
文件頁數(shù): 128/242頁
文件大?。?/td> 0K
描述: IC MCU 8BIT 52-PLCC
標準包裝: 23
系列: HC11
核心處理器: HC11
芯體尺寸: 8-位
速度: 3MHz
連通性: SCI,SPI
外圍設備: POR,WDT
輸入/輸出數(shù): 38
程序存儲器類型: ROMless
EEPROM 大?。?/td> 512 x 8
RAM 容量: 512 x 8
電壓 - 電源 (Vcc/Vdd): 4.5 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 8x8b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 52-LCC(J 形引線)
包裝: 管件
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁當前第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁第223頁第224頁第225頁第226頁第227頁第228頁第229頁第230頁第231頁第232頁第233頁第234頁第235頁第236頁第237頁第238頁第239頁第240頁第241頁第242頁
Driving Boot Mode from a Personal Computer
M68HC11 Bootstrap Mode, Rev. 1.1
Freescale Semiconductor
213
A problem arose with the BASIC programming technique used. The draft versions of this program tried
saving the object code bytes directly as binary in a string array. This caused "Out of Memory" or "Out of
String Space" errors on both a 2-Mbyte Macintosh and a 640-Kbyte PC. The solution was to make the
array an integer array and perform the integer-to-binary conversion on each byte as it is sent to the target
part.
The one compromise made to accommodate both Macintosh and PC versions of BASIC is in lines 1500
and 1505. Use line 1500 and comment out line 1505 if the program is to be run on a Macintosh, and,
conversely, use line 1505 and comment out line 1500 if a PC is used.
After the COM port is opened, the code to be bootloaded is modified by adding the $FF to the start of the
string. $FF synchronizes the bootloader in the MC68HC711E9 to 1200 baud. The entire string is simply
sent to the COM port by PRINTing the string. This is possible since the string is actually queued in
BASIC’s COM buffer, and the operating system takes care of sending the bytes out one at a time. The
M68HC11 echoes the data received for verification. No automatic verification is provided, though the data
is printed to the screen for manual verification.
Once the MCU has received this bootloaded code, the bootloader automatically jumps to it. The small
bootloaded program in turn includes a jump to the EPROM programming routine in the boot ROM.
Refer to the previous explanation of the EPROM Programming Utility for the following discussion. The
host system sends the first byte to be programmed through the COM port to the SCI of the MCU. The SCI
port on the MCU buffers one byte while receiving another byte, increasing the throughput of the EPROM
programming operation by sending the second byte while the first is being programmed.
When the first byte has been programmed, the MCU reads the EPROM location and sends the result back
to the host system. The host then compares what was actually programmed to what was originally sent.
A message indicating which byte is being verified is displayed in the lower half of the screen. If there is
an error, it is displayed at the top of the screen.
As soon as the first byte is verified, the third byte is sent. In the meantime, the MCU has already started
programming the second byte. This process of verifying and queueing a byte continues until the host
finishes sending data. If the programming is completely successful, no error messages will have been
displayed at the top of the screen. Subroutines follow the end of the program to handle some of the
repetitive tasks. These routines are short, and the commenting in the source code should be sufficient
explanation.
Modifications
This example programmed version 3.4 of the BUFFALO monitor into the EPROM of an MC68HC711E9;
the changes to the BASIC program to download some other program are minor.
The necessary changes are:
1.
In line 30, the length of the program to be downloaded must be assigned to the variable
CODESIZE%.
2.
Also in line 30, the starting address of the program is assigned to the variable ADRSTART.
3.
In line 9570, the start address of the program is stored in the third and fourth items in that DATA
statement in hexadecimal.
4.
If any changes are made to the number of bytes in the boot code in the DATA statements in lines
9500–9580, then the new count must be set in the variable "BOOTCOUNT" in line 25.
相關PDF資料
PDF描述
AR211A331J4R CAP CER 330PF 100V 5% RADIAL
MC68711E20CFUE4 IC MCU 8BIT 64-QFP
MC68711E20MFNE3 IC MCU 8BIT 52-PLCC
HCE103MBCCJ0KR CAP CER 10000PF 3KV 20% RADIAL
MC68HC705C9ACFNE IC MCU 8BIT 44-PLCC
相關代理商/技術參數(shù)
參數(shù)描述
MC68HCP11E1CFU3 制造商:Rochester Electronics LLC 功能描述:- Bulk 制造商:Freescale Semiconductor 功能描述:
MC68HCP11E1CP3 制造商:Rochester Electronics LLC 功能描述:- Bulk 制造商:Motorola Inc 功能描述:
MC68HCP11E1FU 制造商:Rochester Electronics LLC 功能描述: 制造商:Freescale Semiconductor 功能描述:
MC68HCP11E1VFN2 制造商:Rochester Electronics LLC 功能描述:- Bulk
MC68HCP11E1VFNE2 功能描述:IC MCU 8BIT 52-PLCC RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:HC11 標準包裝:1 系列:AVR® ATmega 核心處理器:AVR 芯體尺寸:8-位 速度:16MHz 連通性:I²C,SPI,UART/USART 外圍設備:欠壓檢測/復位,POR,PWM,WDT 輸入/輸出數(shù):32 程序存儲器容量:32KB(16K x 16) 程序存儲器類型:閃存 EEPROM 大小:1K x 8 RAM 容量:2K x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:44-TQFP 包裝:剪切帶 (CT) 其它名稱:ATMEGA324P-B15AZCT