| Electronic Components Datasheet Search |
|
ATMEGA48 Datasheet(PDF) 291 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATMEGA48 Datasheet(HTML) 291 Page - ATMEL Corporation |
|
291 / 374 page ![]() 291 2545J–AVR–12/06 ATmega48/88/168 26.7 Parallel Programming 26.7.1 Enter Programming Mode The following algorithm puts the device in Parallel (High-voltage) Programming mode: 1. Set Prog_enable pins listed in Table 26-12 on page 290 to “0000”, RESET pin to 0V and V CC to 0V. 2. Apply 4.5 - 5.5V between V CC and GND. Ensure that V CC reaches at least 1.8V within the next 20 µs. 3. Wait 20 - 60 µs, and apply 11.5 - 12.5V to RESET. 4. Keep the Prog_enable pins unchanged for at least 10µs after the High-voltage has been applied to ensure the Prog_enable Signature has been latched. 5. Wait at least 300 µs before giving any parallel programming commands. 6. Exit Programming mode by power the device down or by bringing RESET pin to 0V. If the rise time of the V CC is unable to fulfill the requirements listed above, the following alterna- tive algorithm can be used. 1. Set Prog_enable pins listed in Table 26-12 on page 290 to “0000”, RESET pin to 0V and V CC to 0V. 2. Apply 4.5 - 5.5V between V CC and GND. 3. Monitor V CC, and as soon as VCC reaches 0.9 - 1.1V, apply 11.5 - 12.5V to RESET. Table 26-13. XA1 and XA0 Coding XA1 XA0 Action when XTAL1 is Pulsed 0 0 Load Flash or EEPROM Address (High or low address byte determined by BS1). 0 1 Load Data (High or Low data byte for Flash determined by BS1). 1 0 Load Command 1 1 No Action, Idle Table 26-14. Command Byte Bit Coding Command Byte Command Executed 1000 0000 Chip Erase 0100 0000 Write Fuse bits 0010 0000 Write Lock bits 0001 0000 Write Flash 0001 0001 Write EEPROM 0000 1000 Read Signature Bytes and Calibration byte 0000 0100 Read Fuse and Lock bits 0000 0010 Read Flash 0000 0011 Read EEPROM |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |