参数资料
型号: M68TC11E20B56
厂商: 飞思卡尔半导体(中国)有限公司
英文描述: HC11 Microcontrollers
中文描述: HC11微控制器
文件页数: 207/242页
文件大小: 1525K
代理商: M68TC11E20B56
第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 Another M68HC11
M68HC11 Bootstrap Mode, Rev. 1.1
Freescale Semiconductor
207
The duplicator program in EEPROM clears the DWOM control bit to change port D (thus, TxD) of U3 to
normal driven outputs. This configuration will prevent interference due to R9 when TxD from the target
MCU (U6) becomes active. Series resistor R9 demonstrates how TxD of U3 can drive RxD of U3[1] and
later TxD of U6 can drive RxD of U3 without a destructive conflict between the TxD output buffers.
As the target MCU (U6) leaves reset, its mode pins select bootstrap mode so the bootloader firmware
begins executing. A break is sent out the TxD pin of U6. At this time, the TxD pin of U3 is at a driven high
so R9 acts as a pullup resistor for TxD of the target MCU (U6). The break character sent from U6 is
received by U3 so the duplicator program that is running in the EEPROM of the master MCU knows that
the target MCU is ready to accept a bootloaded program.
The master MCU sends a leading $FF character to set the baud rate in the target MCU. Next, the master
MCU passes a 3-instruction program to the target MCU and pauses so the bootstrap program in the target
MCU will stop the loading process and jump to the start of the downloaded program. This sequence
demonstrates the variable-length download feature of the MC68HC711E9 bootloader.
The short program downloaded to the target MCU clears the DWOM bit to change its TxD pin to a normal
driven CMOS output and jumps to the EPROM programming utility in the bootstrap ROM of the target
MCU.
Note that the small downloaded program did not have to set up the SCI or initialize any parameters for
the EPROM programming process. The bootstrap software that ran prior to the loaded program left the
SCI turned on and configured in a way that was compatible with the SCI in the master MCU (the duplicator
program in the master MCU also did not have to set up the SCI for the same reason). The programming
time and starting address for EPROM programming in the target MCU were also set to default values by
the bootloader software before jumping to the start of the downloaded program.
Before the EPROM in the target MCU can be programmed, the V
PP
power supply must be available at
the XIRQ/V
PPE
pin of the target MCU. The duplicator program running in the master MCU monitors this
voltage (for presence or absence, not level) at PE7 through resistor divider R14–Rl5. The PE7 input was
chosen because the internal circuitry for port E pins can tolerate voltages slightly higher than V
DD
;
therefore, resistors R14 and R15 are less critical. No data to be programmed is passed to the target MCU
until the master MCU senses that V
PP
has been stable for about 200 ms.
When V
PP
is ready, the master MCU turns on the red LED (light-emitting diode) and begins passing data
to the target MCU.
EPROM Programming Utility
explains the activity as data is sent from the master MCU
to the target MCU and programmed into the EPROM of the target. The master MCU in the EVBU
corresponds to the HOST in the programming utility description and the "PROGRAM utility in MCU" is
running in the bootstrap ROM of the target MCU.
Each byte of data sent to the target is programmed and then the programmed location is read and sent
back to the master for verification. If any byte fails, the red and green LEDs are turned off, and the
programming operation is aborted. If the entire 12 Kbytes are programmed and verified successfully, the
red LED is turned off, and the green LED is turned on to indicate success. The programming of all 12
Kbytes takes about 30 seconds.
After a programming operation, the V
PP
switch (S2) should be turned off before the EVBU power is turned
off.
相关PDF资料
PDF描述
M68Z128W-70N1T 3V, 1 Mbit 128Kb x8 Low Power SRAM with Output Enable
M68Z128WN 3V, 1 Mbit 128Kb x8 Low Power SRAM with Output Enable
M68Z128W 3V, 1 Mbit 128Kb x8 Low Power SRAM with Output Enable
M69AW024BL60ZB8T 16 Mbit (1M x16) 3V Asynchronous PSRAM
M69AW024BL70ZB8T 16 Mbit (1M x16) 3V Asynchronous PSRAM
相关代理商/技术参数
参数描述
M68TC11E20FN52 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HC11 Microcontrollers
M68TC11E20FU64 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HC11 Microcontrollers
M68TC11E20PB52 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HC11 Microcontrollers
M68TE08LJLKFB52E 功能描述:插座和适配器 TARGET HEAD ADAPTER RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
M68TE08LJLKFQ80E 功能描述:插座和适配器 TARGET HEAD ADAPTER RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x