Megano128

Megano128.

Megano128 board Software support with Arduino and Wiring IDE.
Megano128 board SoftwareHardware support only with Wiring.

  • RUS

  • ENG
  • RUS


    Надо.
    Плата изначально разрабатывалась под проект Wiring (http://www.wiring.org.co/).
    Купить в Сибири эту плату невозможно, а поцессор для проекта нужен ATMega128.
    Hardware от Wiring в то время еще не было (скрывали). И сейчас кажется только продают.
    Писать на не очень популярной платформе не хотелось. Arduino (http://www.arduino.cc/) не поддерживает mega128.

    Результат.

    mega128 имеет 3 таймера, для работы ядра Arduino нужен один из таймеров. Другой можно использовать для своих нужд (например бибдиотека "Timer2").
    Чтобы не огрничевать себя в выборе, сделал 2 варианта

    Arduino_Mega128_System_Timer0.rar - Arduino использует Timer0, таймеры Timer1 и Timer2 свободны для использования.
    Arduino_Mega128_System_Timer2.rar - Arduino использует Timer2, таймеры Timer0 и Timer1 свободны для использования.

    Установка.
    разархивировать содержимое Arduino_Mega128_System_TimerX.rar в папку Arduino.
    в
    Arduino..\hardware\core\wiring_atmega128_timerX
    Arduino..\hardware\bootloaders\atmega128

    в файл board.txt (ваш каталог Arduino) добавить строки:

    #############################################################
    atmega128timer2.name=Wiring Mega128 system Timer2

    atmega128timer2.upload.protocol=stk500
    atmega128timer2.upload.maximum_size=124976
    atmega128timer2.upload.speed=57600

    atmega128timer2.bootloader.low_fuses=0x3F
    atmega128timer2.bootloader.high_fuses=0xCC
    atmega128timer2.bootloader.extended_fuses=0xFF
    atmega128timer2.bootloader.path=atmega128
    atmega128timer2.bootloader.file=WiringV2boot_SwitchPE2_LedPG0_upd2.hex
    atmega128timer2.bootloader.unlock_bits=0x3F
    atmega128timer2.bootloader.lock_bits=0x0F

    atmega128timer2.build.mcu=atmega128
    atmega128timer2.build.f_cpu=16000000L
    atmega128timer2.build.core=wiring_atmega128_timer2
    #############################################################

    перезапустить IDE Arduino.
    Создать Example Blink (с ножкой 33 или 34).

    Неиспавленные ошибки (2Do):
    - не работает AnalogWrite для выводов 31, 36, 37.
    - bootloader не использую, не проверял (съедают память 2к, через USBASP быстрее прошивается).
    - развести плату совместимую с Arduino Shield (кто может?).

    dont work AnalogWrite for pin 31, 36, 37

    Буду рад если кто нибудь добавит, изменит и конечно поделится наработками.

    Скачать.
    Hard:
    wiring_marshallab_vFinal.sch (480kb)
    wiring_marshallab_vFinal.brd (111kb)

    Soft:
    Arduino_Mega128_System_Timer0.rar (34kb)
    Arduino_Mega128_System_Timer2.rar (34kb)

    Пишите.
    http://marshal-lab.ru/
    marshallab@mail.ru

    Архипов Александр, 10.11.2009

    //***************************************************************************************//

    ENG


    translate.google.ru

    Megano128.

    Megano128 board Software support with Arduino and Wiring IDE.
    Megano128 board SoftwareHardware support only with Wiring.

    Must.
    The board was originally developed under the project Wiring (http://www.wiring.org.co/).
    Buy in Siberia, this fee is not possible, and potsessor for the project need ATMega128.
    Wiring of Hardware at the time had not yet been (hiding). And now it seems only to sell.
    Write to the not very popular platform does not like. Arduino (http://www.arduino.cc/) does not support mega128.

    Result.

    mega128 has 3 timers, for the core Arduino need one of the timers. Another possible use for their needs (eg bibdioteka "Timer2").
    To ogrnichevat themselves in the choices made 2 versions

    Arduino_Mega128_System_Timer0.rar - Arduino uses Timer0, timers Timer1 and Timer2 are free to use.
    Arduino_Mega128_System_Timer2.rar - Arduino uses Timer2, timers, Timer0 and Timer1 are free to use.

    Setting.
    unzip the contents of the folder Arduino_Mega128_System_TimerX.rar Arduino.
    in
    Arduino .. \ hardware \ core \ wiring_atmega128_timerX
    Arduino .. \ hardware \ bootloaders \ atmega128

    the file board.txt (your catalog Arduino) to add the line:

    ################################################## ###########
    atmega128timer2.name = Wiring Mega128 system Timer2

    atmega128timer2.upload.protocol = stk500
    atmega128timer2.upload.maximum_size = 124976
    atmega128timer2.upload.speed = 57600

    atmega128timer2.bootloader.low_fuses = 0x3F
    atmega128timer2.bootloader.high_fuses = 0xCC
    atmega128timer2.bootloader.extended_fuses = 0xFF
    atmega128timer2.bootloader.path = atmega128
    atmega128timer2.bootloader.file = WiringV2boot_SwitchPE2_LedPG0_upd2.hex
    atmega128timer2.bootloader.unlock_bits = 0x3F
    atmega128timer2.bootloader.lock_bits = 0x0F

    atmega128timer2.build.mcu = atmega128
    atmega128timer2.build.f_cpu = 16000000L
    atmega128timer2.build.core = wiring_atmega128_timer2
    ################################################## ###########

    restart the IDE Arduino.
    Write Example Blink (with a foot 33 or 34).

    Neispavlennye errors (2Do):
    - Does not work for AnalogWrite findings 31, 36, 37.
    - Bootloader does not use, did not check (eat memory 2k, through USBASP quickly stitched).
    - Dissolve fee compatible with the Arduino Shield (who can?).

    dont work AnalogWrite for pin 31, 36, 37

    I would be glad if anyone else to add, change, and of course share of use.

    Download.
    Hard:
    wiring_marshallab_vFinal.sch (480kb)
    wiring_marshallab_vFinal.brd (111kb)

    Soft:
    Arduino_Mega128_System_Timer0.rar (34kb)
    Arduino_Mega128_System_Timer2.rar (34kb)

    Write.
    http://marshal-lab.ru/
    marshallab@mail.ru

    Arkhipov, Alexander, 10/11/2009

    И видишь, да не вырвешь.

    И видишь, да не вырвешь.

    Я конечно извиняюсь, но такое

    Я конечно извиняюсь, но такое впечатление, что пост просто ни о чем. Может хоть комментами как-то разбавим?

    На добре - спасибо, а за грех

    На добре - спасибо, а за грех поплатись,

    (Тема не указана)

    На каком-то сайте я уже читал

    На каком-то сайте я уже читал почти такую же подборку инфы, но все равно спасибо http://momsplace.ru

    Спасибо за отличную и

    Спасибо за отличную и полезную запись. Рекомендуем посмотреть http://mirarts.ru или http://stihijazz.ru

    Как-нибудь еще вернусь к

    Как-нибудь еще вернусь к этой теме http://whitestih.ru http://margaritstih.ru

    Молодцы

    Не перестаете радовать прекрасным стилем написания[url=psihologikan.ru] [/url]постов[url=sexnfo.ru] [/url]:)[url=in-past.ru] [/url]