At89C4051 – — , , ,

Программатор для AT89C2051 и AT89C4051

Понадобилось недавно перешить микроконтроллер AT89C2051. Так как с атмелами до этого я дела не имел, то подумал, что это какой-нибудь контроллер из обычных AVR. Тем более как раз разводил печатку программатора для всех AVR под существующие DIP корпуса. Каков же был облом, когда после сбора программатора в списке поддерживаемых контроллеров не оказалось AT89C2051. Немного позалипав, пошел искать схему очередного программатора. Нашел, и даже не одну. В итоге был выбран этот программатор.

Схема программатора для AT89C2051 и AT89C4051

Оригинальная печатка (300 dpi, 83.5 x 49.8 мм)

Расположение деталей на оригинальной плате

Печатка была немного переделана: под другой разъем для внешнего питания и добавлен светодиод с SMD резистором. А при сборке обнаружилось жуть как много косяков, и в схеме, и в расположении деталей. Ниже идет переделанная и исправленная версия.

Исправленная схема программатора

Переделанная печатка (300 dpi, 90.2 x 61.0 мм)

Расположение деталей на переделанной плате

Изменения в схеме:

  • C5 => C7;
  • U2: 1 => 3, 3 => 1.

Изменения в расположении деталей:

  • C4 => C10;
  • C5 => C7;
  • U2 => U1;
  • T3 => Q1;
  • T4 => Q3;
  • T5 => Q2.

Так программатор выглядит в сборе:

Собранный программатор

Архив с программой был взят с того же сайта. Он содержит версии программы для контроллеров обоих типов: prog2051.exe для AT89C2051 и prog4051.exe для AT89C4051. Как пишет автор в инструкции, запускать программу следует из-под DOS.

Настройки параллельного порта следующие:

  • LPT1: адрес 378h, IRQ 7;
  • LPT2: адрес 278h, IRQ 5;
  • Режим порта: двунаправленный (bidirectional).

Далее приведу немного своей инструкции с переводом.

При запуске программа сообщает, что можно указать в командной строке номер LPT порта, к которому подключен программатор, по умолчанию выбирается LPT1:

Specificare la Porta Parallela 1 o 2 nella linea di comando.

Uso: PROG2051 <1 | 2>

LPT1 verra' presa come porta di default - Premi un tasto per continuare!
Укажите параллельный порт 1 или 2 в командной строке.

Использование: PROG2051 <1 | 2>

LPT1 будет использован по умолчанию - Нажмите любую клавишу для продолжения!

Затем следует сообщение:

PROCEDURA DI AVVIO!

Spegni l'alimentazione

Inserisci il CHIP

Accendi l'alimentazione

Premi un tasto per continuare!
Выполните следующий порядок действий!

Выключите питание

Установите микроконтроллер

Включите питание

Нажмите любую клавишу для продолжения!

И выводится меню:

MENU DI SELEZIONE - PROGRAMMATORE 89C2051

Cancella il Chip        C
Leggi il Chip           R
Carica il File          L
Dump della Memoria      D
Cancella la Memoria     Z
Programma il Chip       P
Verifica il Chip        V
Salva su File           S
Blank Check             B
Leggi Signature         J
Scrivi Lock Bit 1       M
Scrivi Lock Bit 2       N
Esci                    X

Seleziona una lettera:
Меню выбора - программатор 89C2051

Очистить чип                 C
Прочитать чип                R
Загрузить файл в память      L
Вывести дамп памяти          D
Очистить память              Z
Программировать чип          P
Проверить чип                V
Сохранить память в файл      S
Проверить, очищен ли чип     В
Прочитать идентификатор чипа J
Записать 1-ый бит блокировки M
Записать 2-ой бит блокировки N
Выход                        X

Выберите букву:

В архиве с программой шли исходники, потому удалось лучше понять логику работы программы и назначение всех вышеперечисленных функций, для которых была составлена такая табличка:

НазваниеБукваФункцияКонстанта для set_function()Описание
Загрузить файл в памятьLload_data()Загрузить файл в память программы
Сохранить память в файлSsave_data()Сохранить память программы в файл
Прочитать чипRxread()READ_DATAПрочитать память контроллера в память программы
Проверить чипVverify()READ_DATAСравнить память контроллера с памятью программы
Очистить чипCerase()CHIP_ERASEОчистить память контроллера (заполнить байтами 0xFF)
Вывести дамп памятиDdump()Вывести дамп памяти программы на экран
Очистить памятьZclear_mem()Очистить память программы (заполнить байтами 0xFF)
Программировать чипPprogram()WRITE_DATAЗаписать в контроллер память программы
Проверить, очищен ли чипВblank()READ_DATAПроверить, очищена ли память контроллера (заполнена ли байтами 0xFF)
Прочитать идентификатор чипаJsignature()READ_SIGNATUREПрочитать 3 заголовочных байта. Если 00h и 01h байты равны 1Eh и 21h, то это AT89C2051, а если равны 1Eh и 41h, то это AT89C4051. 02h байт показывает 12В напряжение программирования, если его значение равно FFh.
Записать 1-ый бит блокировкиMlock()WRITE_LOCK_1Записать 1-ый бит блокировки
Записать 2-ой бит блокировкиNlock()WRITE_LOCK_2Записать 2-ой бит блокировки
ВыходXexit()Выход из программы

wierus.livejournal.com

Atmel Corporation AT89C4051-24PI Даташит, AT89C4051-24PI PDF, даташитов

Другие PDF  недоступен.
AT89C4051-24PI Datasheet PDF
:   

Description
The AT89C4051 is a low-voltage, high-performance CMOS 8-bit microcontroller with 4K bytes of Flash programmable and erasable read-only memory. The device is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C4051 is a powerful microcontroller which provides a highly-flexible and cost-effective solution to many embedded control applications.
The AT89C4051 provides the following standard features: 4K bytes of Flash, 128 bytes of RAM, 15 I/O lines, two 16-bit timer/counters, a five-vector, two-level interrupt architecture, a full duplex serial port, a precision analog comparator, on-chip oscillator and clock circuitry. In addition, the AT89C4051 is designed with static logic for operation down to zero frequency and supports two software-selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue functioning. The power-down mode saves the RAM contents but freezes the oscillator disabling all other chip functions until the next hardware reset.

Features
• Compatible with MCS®51 Products
• 4K Bytes of Reprogrammable Flash Memory
   – Endurance: 1,000 Write/Erase Cycles
• 2.7V to 6V Operating Range
• Fully Static Operation: 0 Hz to 24 MHz
• Two-level Program Memory Lock
• 128 x 8-bit Internal RAM
• 15 Programmable I/O Lines
• Two 16-bit Timer/Counters
• Six Interrupt Sources
• Programmable Serial UART Channel
• Direct LED Drive Outputs
• On-chip Analog Comparator
• Low-power Idle and Power-down Modes
• Brown-out Detection
• Power-On Reset (POR)

• Green (Pb/Halide-free/RoHS Compliant) Packaging

 

Ссылка на страницу (HTML): 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19 

Номер в каталогеОписание (Функция)PDFпроизводитель
P89C51X28-bit Flash microcontroller family 4K/8K/16K/32K Flash Philips Electronics
P89C51
80C51 8-bit microcontroller family 4K/8K/16K/32K Flash Philips Electronics
GMS81604LG Semicon. CMOS single-chip 8-bit microcontroller. ROM size 8K bytes. 256 bytes of on-chip data RAM Hyundai Micro Electronics
89C5180C51 8-bit microcontroller family 4K/8K/16K/32K Flash Philips Electronics
LC5739044-Bit Microcontroller with 4K-Byte ROM, 120 × 4Bits RAM and LCD Driver SANYO -> Panasonic
8S003F3V alue line, 16 MHz STM8S 8-bit MCU, 8 Kbytes Flash, 128 bytes data EEPROM, 10-bit ADC, 3 timers, UART , SPI, I2C STMicroelectronics
80C55080C51 8-bit microcontroller family 4K/128 OTP/ROM/ROMless, 8 channel 8 bit A/D, watchdog timer Philips Electronics
ST72F63BLOW SPEED USB 8-BIT MCU FAMILY WITH FLASH/ROM, UP TO 512 BYTES RAM, 8-BIT ADC, WDG, TIMER, SCI & I²C STMicroelectronics
80C45180C51 8-bit microcontroller family 4K/128 OTP/ROM/ROMless, expanded I/O Philips Electronics
W541E2604-BIT FLASH EPROM MICROCONTROLLER Winbond

English 한국어 简体中文 日本語 español


ru.datasheetbank.com

Atmel Corporation AT89C4051 Даташит, AT89C4051 PDF, даташитов

Другие PDF  недоступен.
AT89C4051 Datasheet PDF :   

Description
The AT89C4051 is a low-voltage, high-performance CMOS 8-bit microcontroller with 4K bytes of Flash programmable and erasable read-only memory. The device is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C4051 is a powerful microcontroller which provides a highly-flexible and cost-effective solution to many embedded control applications.
The AT89C4051 provides the following standard features: 4K bytes of Flash, 128 bytes of RAM, 15 I/O lines, two 16-bit timer/counters, a five-vector, two-level interrupt architecture, a full duplex serial port, a precision analog comparator, on-chip oscillator and clock circuitry. In addition, the AT89C4051 is designed with static logic for operation down to zero frequency and supports two software-selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue functioning. The power-down mode saves the RAM contents but freezes the oscillator disabling all other chip functions until the next hardware reset.

Features
• Compatible with MCS®51 Products
• 4K Bytes of Reprogrammable Flash Memory
   – Endurance: 1,000 Write/Erase Cycles
• 2.7V to 6V Operating Range
• Fully Static Operation: 0 Hz to 24 MHz
• Two-level Program Memory Lock
• 128 x 8-bit Internal RAM
• 15 Programmable I/O Lines
• Two 16-bit Timer/Counters
• Six Interrupt Sources
• Programmable Serial UART Channel
• Direct LED Drive Outputs
• On-chip Analog Comparator
• Low-power Idle and Power-down Modes
• Brown-out Detection
• Power-On Reset (POR)
• Green (Pb/Halide-free/RoHS Compliant) Packaging

 

Ссылка на страницу (HTML): 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19 

Номер в каталогеОписание (Функция)PDFпроизводитель
P89C51X28-bit Flash microcontroller family 4K/8K/16K/32K Flash Philips Electronics
P89C5180C51 8-bit microcontroller family 4K/8K/16K/32K Flash Philips Electronics
GMS81604LG Semicon. CMOS single-chip 8-bit microcontroller. ROM size 8K bytes. 256 bytes of on-chip data RAM Hyundai Micro Electronics
89C5180C51 8-bit microcontroller family 4K/8K/16K/32K Flash Philips Electronics
LC5739044-Bit Microcontroller with 4K-Byte ROM, 120 × 4Bits RAM and LCD Driver SANYO -> Panasonic
8S003F3V alue line, 16 MHz STM8S 8-bit MCU, 8 Kbytes Flash, 128 bytes data EEPROM, 10-bit ADC, 3 timers, UART , SPI, I2C STMicroelectronics
80C55080C51 8-bit microcontroller family 4K/128 OTP/ROM/ROMless, 8 channel 8 bit A/D, watchdog timer Philips Electronics
ST72F63BLOW SPEED USB 8-BIT MCU FAMILY WITH FLASH/ROM, UP TO 512 BYTES RAM, 8-BIT ADC, WDG, TIMER, SCI & I²C STMicroelectronics
80C45180C51 8-bit microcontroller family 4K/128 OTP/ROM/ROMless, expanded I/O Philips Electronics
W541E2604-BIT FLASH EPROM MICROCONTROLLER Winbond

English 한국어 简体中文 日本語 español


ru.datasheetbank.com

Atmel Corporation AT89C4051-24PU Даташит, AT89C4051-24PU PDF, даташитов

Другие PDF  недоступен.
AT89C4051-24PU Datasheet PDF :   

Description
The AT89C4051 is a low-voltage, high-performance CMOS 8-bit microcontroller with 4K bytes of Flash programmable and erasable read-only memory. The device is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C4051 is a powerful microcontroller which provides a highly-flexible and cost-effective solution to many embedded control applications.
The AT89C4051 provides the following standard features: 4K bytes of Flash, 128 bytes of RAM, 15 I/O lines, two 16-bit timer/counters, a five-vector, two-level interrupt architecture, a full duplex serial port, a precision analog comparator, on-chip oscillator and clock circuitry. In addition, the AT89C4051 is designed with static logic for operation down to zero frequency and supports two software-selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue functioning. The power-down mode saves the RAM contents but freezes the oscillator disabling all other chip functions until the next hardware reset.

Features
• Compatible with MCS®51 Products
• 4K Bytes of Reprogrammable Flash Memory
   – Endurance: 1,000 Write/Erase Cycles
• 2.7V to 6V Operating Range
• Fully Static Operation: 0 Hz to 24 MHz
• Two-level Program Memory Lock
• 128 x 8-bit Internal RAM
• 15 Programmable I/O Lines
• Two 16-bit Timer/Counters
• Six Interrupt Sources
• Programmable Serial UART Channel
• Direct LED Drive Outputs
• On-chip Analog Comparator
• Low-power Idle and Power-down Modes
• Brown-out Detection
• Power-On Reset (POR)
• Green (Pb/Halide-free/RoHS Compliant) Packaging

 

Ссылка на страницу (HTML): 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19 

Номер в каталогеОписание (Функция)PDFпроизводитель
P89C51X28-bit Flash microcontroller family 4K/8K/16K/32K Flash Philips Electronics
P89C5180C51 8-bit microcontroller family 4K/8K/16K/32K Flash Philips Electronics
GMS81604LG Semicon. CMOS single-chip 8-bit microcontroller. ROM size 8K bytes. 256 bytes of on-chip data RAM Hyundai Micro Electronics
89C5180C51 8-bit microcontroller family 4K/8K/16K/32K Flash Philips Electronics
LC5739044-Bit Microcontroller with 4K-Byte ROM, 120 × 4Bits RAM and LCD Driver SANYO -> Panasonic
8S003F3V alue line, 16 MHz STM8S 8-bit MCU, 8 Kbytes Flash, 128 bytes data EEPROM, 10-bit ADC, 3 timers, UART , SPI, I2C STMicroelectronics
80C55080C51 8-bit microcontroller family 4K/128 OTP/ROM/ROMless, 8 channel 8 bit A/D, watchdog timer Philips Electronics
ST72F63BLOW SPEED USB 8-BIT MCU FAMILY WITH FLASH/ROM, UP TO 512 BYTES RAM, 8-BIT ADC, WDG, TIMER, SCI & I²C STMicroelectronics
80C45180C51 8-bit microcontroller family 4K/128 OTP/ROM/ROMless, expanded I/O Philips Electronics
W541E2604-BIT FLASH EPROM MICROCONTROLLER Winbond

English 한국어 简体中文 日本語 español


ru.datasheetbank.com

Atmel Corporation AT89C4051-12SI Даташит, AT89C4051-12SI PDF, даташитов

Другие PDF  недоступен.
AT89C4051-12SI Datasheet PDF :   

Description
The AT89C4051 is a low-voltage, high-performance CMOS 8-bit microcontroller with 4K bytes of Flash programmable and erasable read-only memory. The device is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C4051 is a powerful microcontroller which provides a highly-flexible and cost-effective solution to many embedded control applications.
The AT89C4051 provides the following standard features: 4K bytes of Flash, 128 bytes of RAM, 15 I/O lines, two 16-bit timer/counters, a five-vector, two-level interrupt architecture, a full duplex serial port, a precision analog comparator, on-chip oscillator and clock circuitry. In addition, the AT89C4051 is designed with static logic for operation down to zero frequency and supports two software-selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue functioning. The power-down mode saves the RAM contents but freezes the oscillator disabling all other chip functions until the next hardware reset.

Features
• Compatible with MCS®51 Products
• 4K Bytes of Reprogrammable Flash Memory
   – Endurance: 1,000 Write/Erase Cycles
• 2.7V to 6V Operating Range
• Fully Static Operation: 0 Hz to 24 MHz
• Two-level Program Memory Lock
• 128 x 8-bit Internal RAM
• 15 Programmable I/O Lines
• Two 16-bit Timer/Counters
• Six Interrupt Sources
• Programmable Serial UART Channel
• Direct LED Drive Outputs
• On-chip Analog Comparator
• Low-power Idle and Power-down Modes
• Brown-out Detection
• Power-On Reset (POR)
• Green (Pb/Halide-free/RoHS Compliant) Packaging

 

Ссылка на страницу (HTML): 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19 

Номер в каталогеОписание (Функция)PDFпроизводитель
P89C51X28-bit Flash microcontroller family 4K/8K/16K/32K Flash Philips Electronics
P89C5180C51 8-bit microcontroller family 4K/8K/16K/32K Flash Philips Electronics
GMS81604LG Semicon. CMOS single-chip 8-bit microcontroller. ROM size 8K bytes. 256 bytes of on-chip data RAM Hyundai Micro Electronics
89C5180C51 8-bit microcontroller family 4K/8K/16K/32K Flash Philips Electronics
LC5739044-Bit Microcontroller with 4K-Byte ROM, 120 × 4Bits RAM and LCD Driver SANYO -> Panasonic
8S003F3V alue line, 16 MHz STM8S 8-bit MCU, 8 Kbytes Flash, 128 bytes data EEPROM, 10-bit ADC, 3 timers, UART , SPI, I2C STMicroelectronics
80C55080C51 8-bit microcontroller family 4K/128 OTP/ROM/ROMless, 8 channel 8 bit A/D, watchdog timer Philips Electronics
ST72F63BLOW SPEED USB 8-BIT MCU FAMILY WITH FLASH/ROM, UP TO 512 BYTES RAM, 8-BIT ADC, WDG, TIMER, SCI & I²C STMicroelectronics
80C45180C51 8-bit microcontroller family 4K/128 OTP/ROM/ROMless, expanded I/O Philips Electronics
W541E2604-BIT FLASH EPROM MICROCONTROLLER Winbond

English 한국어 简体中文 日本語 español


ru.datasheetbank.com

AT89C4051 Даташит, AT89C4051 PDF Даташиты

производительНомер в каталогеКомпоненты ОписаниеПосмотреть

Atmel Corporation
AT89C40518-bit Microcontroller with 4K Bytes Flash

Atmel Corporation
AT89C4051-12SI8-bit Microcontroller with 4K Bytes Flash

Atmel Corporation
AT89C4051-12SU8-bit Microcontroller with 4K Bytes Flash

Atmel Corporation
AT89C4051-24PC8-bit Microcontroller with 4K Bytes Flash

Atmel Corporation
AT89C4051-24PU8-bit Microcontroller with 4K Bytes Flash

Atmel Corporation
AT89C4051-24SC8-bit Microcontroller with 4K Bytes Flash

Atmel Corporation
AT89C4051-24SI8-bit Microcontroller with 4K Bytes Flash

Atmel Corporation
AT89C4051-24SU8-bit Microcontroller with 4K Bytes Flash

Atmel Corporation
AT89C4051-12PA8-Bit Microcontroller with 4K Bytes Flash

Atmel Corporation
AT89C4051-12PC8-bit Microcontroller with 4K Bytes Flash

Atmel Corporation
AT89C4051-12PI8-bit Microcontroller with 4K Bytes Flash

ru.datasheetbank.com

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *