參數(shù)資料
型號: MR80C32-12/883:RD
廠商: ATMEL CORP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, 12 MHz, MICROCONTROLLER, CQCC44
封裝: LCC-44
文件頁數(shù): 106/257頁
文件大?。?/td> 1840K
第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頁當(dāng)前第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頁第243頁第244頁第245頁第246頁第247頁第248頁第249頁第250頁第251頁第252頁第253頁第254頁第255頁第256頁第257頁
194
ATmega8515(L)
2512K–AVR–01/10
Serial Programming
Algorithm
When writing serial data to the ATmega8515, data is clocked on the rising edge of SCK.
When reading data from the ATmega8515, data is clocked on the falling edge of SCK.
See Figure 85 for timing details.
To program and verify the ATmega8515 in the Serial Programming mode, the following
sequence is recommended (See four byte instruction formats in Table 94.):
1.
Power-up sequence:
Apply power between V
CC and GND while RESET and SCK are set to “0”. In
some systems, the programmer can not guarantee that SCK is held low during
Power-up. In this case, RESET must be given a positive pulse of at least two
CPU clock cycles duration after SCK has been set to “0”.
2.
Wait for at least 20 ms and enable serial programming by sending the Program-
ming Enable serial instruction to pin MOSI.
3.
The Serial Programming instructions will not work if the communication is out of
synchronization. When in synchronization, the second byte ($53), will echo back
when issuing the third byte of the Programming Enable instruction. Whether the
echo is correct or not, all four bytes of the instruction must be transmitted. If the
$53 did not echo back, give RESET a positive pulse and issue a new Program-
ming Enable command.
4.
The Flash is programmed one page at a time. The page size is found in Table 89
on page 183. The memory page is loaded one byte at a time by supplying the 5
LSB of the address and data together with the Load Program memory Page
instruction. To ensure correct loading of the page, the data low byte must be
loaded before data high byte is applied for a given address. The Program mem-
ory Page is stored by loading the Write Program memory Page instruction with
the 7 MSB of the address. If polling is not used, the user must wait at least
t
WD_FLASH before issuing the next page, see Table 93. Accessing the serial pro-
gramming interface before the Flash write operation completes can result in
incorrect programming.
5.
The EEPROM array is programmed one byte at a time by supplying the address
and data together with the appropriate Write instruction. An EEPROM memory
location is first automatically erased before new data is written. If polling is not
used, the user must wait at least t
WD_EEPROM before issuing the next byte, see
Table 93. In a chip erased device, no $FFs in the data file(s) need to be
programmed.
6.
Any memory location can be verified by using the Read instruction which returns
the content at the selected address at serial output MISO.
7.
At the end of the programming session, RESET can be set high to commence
normal operation.
8.
Power-off sequence (if needed):
Set RESET to “1”.
Turn V
CC power off.
Data Polling Flash
When a page is being programmed into the Flash, reading an address location within
the page being programmed will give the value $FF. At the time the device is ready for a
new page, the programmed value will read correctly. This is used to determine when the
next page can be written. Note that the entire page is written simultaneously and any
address within the page can be used for polling. Data polling of the Flash will not work
for the value $FF, so when programming this value, the user will have to wait for at least
t
WD_FLASH before programming the next page. As a chip erased device contains $FF in
all locations, programming of addresses that are meant to contain $FF, can be skipped.
See Table 93 for t
WD_FLASH value.
相關(guān)PDF資料
PDF描述
MD80C52TXXX-30:D 8-BIT, MROM, 30 MHz, MICROCONTROLLER, CDIP40
S83C154DXXX-12R 8-BIT, MROM, 12 MHz, MICROCONTROLLER, PQCC44
MR83C154CXXX-L16P883 8-BIT, MROM, 16 MHz, MICROCONTROLLER, CQCC44
MQ83C154TXXX-12P883D 8-BIT, MROM, 12 MHz, MICROCONTROLLER, CQFP44
MQ80C52XXX-30/883R 8-BIT, MROM, 30 MHz, MICROCONTROLLER, CQFP44
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MR80C32-16 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
MR80C32-20 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
MR80C32-25 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
MR80C32-30 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
MR80C32-36 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller