1. Bu site çerez kullanmaktadır. Siteyi kullanmaya devam etmeniz halinde çerez kullanımı ile ilgili site koşullarını kabul etmiş sayılırsınız. Daha Fazlasını Öğren.

ATMEGA128-16AU programlama (JTAG)

Konusu 'Pic Uygulama Ve Devreleri' forumundadır ve guclusat tarafından 18 Eylül 2012 başlatılmıştır.

  1. guclusat
    Offline

    guclusat Tanınmış Üye Süper Moderatör

    Katılım:
    14 Haziran 2009
    Mesajlar:
    9.947
    Ödül Puanları:
    48
    jaf repair solution tested 100%
    This old procudre for the ufs when atmaga programe damage hope fully this wrok to reapir jaf also for more help i make this thread beacuse new version 1.98.65 damages a lot of jaf box

    make cabel like this

    [​IMG]

    romover this chip

    [​IMG]

    make point like this

    [​IMG]

    atmagea pinout for programing

    [​IMG]

    use these setting for the atmaga

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]

    [​IMG]

    ATMEGA128-16AU programlama (JTAG)

    http://www.mediafire.com/?8y236xivdru8rk8

    Repair JAF BOX IC .rar
     

    Ekli Dosyalar:

    Son düzenleyen: Moderatör: 21 Eylül 2015
  2. guclusat
    Offline

    guclusat Tanınmış Üye Süper Moderatör

    Katılım:
    14 Haziran 2009
    Mesajlar:
    9.947
    Ödül Puanları:
    48
    ATm128-TB1.2 ATmega128 TinyBoard Vers. 1.2

    Category: Development Board, AVR Microcontroller, ATmega128, ATmega
    Keywords: Microcontroller, Development Board, Prototype Board, ATmega Board, AVR ATmega128-16AU, ATmega128-16AI, ATmega128 Board


    ATmega128 Development Board / Prototype Board with ATmega128-16AI / ATmega128-16AU (16 MHz) with ISP Header, ATmega128 Board, ATmega Board

    [​IMG]

    • full motherboard / prototype board for ATmega128
    • same dimensions as Vers. 1.1 but with additional ISP header
    • led indicates programming mode
    • lines on right header are switched off automatically when in programming mode
      (prohibits "shortages" during programming with the rest of circuitry)
    • 100% pin compatible with Vers. 1.1
    • super thin only 34mm x 40mm x 8mm (mini module)
    • all pins are available on headers (2,54mm-/0,1" pitch) 2x15pins each
    • high computing power
    • easy to use: just connect to power supply (+5V) and program device
    • 2 crystals: 16 MHz system clock, 32.768 kHz asynchron timer/counter0
    • separate grounds: analog and digital
    • large continues ground plane / reference plane for improved signal integrity and shielding
    • board fits in 2.54mm pitch prototype PCB

    fully assembled board includes:

    • ATmega128-16AI / ATmega128-16AU (-40 bis +85°C), X1 crystal 16 MHz, X2 crystal 32.768 kHz (for asynchron timer)
    • header layout, schematics, programming tutorial
    female connectors 2 pieces (2x15 pins) are also available
    options:

    • ATmega128L option - low voltage version (2.7V-5.5V) with ATmega128L-8AI / ATmega128L-8AU and 8 MHz crystal
    • AT90CAN128 option - AT90CAN128-16AI / AT90CAN128-16AU with CAN Controller - V2.0A and V2.0B
      (CAN 2.0A, CAN 2.0B)
    • ATmega128-16 with 14.7456 MHZ crystal for serial communication (USART1 and USART2) without baud rate error
    ATmega128 TinyBoard Vers. 1.2 - ISP Header

    [​IMG]
    Board Headers

    [​IMG]
    board fits in 2,54mm pitch prototype PCB
    Features Atmel 8Bit AVR-Flash Microcontroller, AVR 8-Bit RISC

    [​IMG]
    Pinout:
    ATmega128, ATmega128-16AU
    ATmega1281, ATmega1281-16AU
    ATmega2561, ATmega2561-16AU


    ATmega128-16AI / ATmega128-16AU (Pb free, ROHS) / ATmega1281 features
    ATmega2561-16AI / ATmega2561-16AU (Pb free, ROHS) features



    • 128KB FLASH for ATmega128
    • 256KB FLASH for ATmega2561
    • 4 KB SRAM (internal RAM)
    • 4 KB EEPROM
    • 64-pin Version
    • 53 I/O pins
    • hardware multiplier
    • programming lock for software security
    • SPI Interface for In-System Programming
    • real time counter with separate oscillator
    • 8-channel, 10-bit ADC:
      - 8 single-ended channels
      - 7 differential channels
      - 2 differential channels with programmable gain at 1x, 10x, or 200x
    • dual programmable serial USARTs (2x UART)
    • Master/Slave SPI serial interface
    • 2x 8bit timer, 2x 16bit timer
    • 16 MHz RISC

    [​IMG]AVR ATmega128 datasheet (pdf)

    [​IMG]AVR ATmega2561 datasheet (pdf)


     
    Son düzenleme: 6 Ekim 2012
  3. guclusat
    Offline

    guclusat Tanınmış Üye Süper Moderatör

    Katılım:
    14 Haziran 2009
    Mesajlar:
    9.947
    Ödül Puanları:
    48
    ATm128-UC-TB ATmega128 USB TinyBoard

    ]ATmega128 USB Development Board / Prototype Board with ATmega128-16AI / ATmega128-16AU (16 MHz) with ISP Header, ATmega Board
    ATmega128 Board with USB serial converter

    [​IMG]
    [​IMG]


    • full motherboard / prototype board for ATmega128
    • led indicates programming mode
    • lines on right header are switched off automatically when in programming mode
      (prohibits "shortages" during programming with the rest of circuitry)
    • 100% pin compatible with Vers. 1.1 and Vers. 1.2 ATmega128 TinyBoard
    • small dimensions 34mm x 47mm (mini module)
    • all pins are available on headers (2,54mm-/0,1" pitch) 2x15pins each
    • high computing power
    • easy to use: just connect to power supply (+5V) and program device
    • 2 crystals: 16 MHz system clock, 32.768 kHz asynchron timer/counter0
    • separate grounds: analog and digital
    • large continues ground plane / reference plane for improved signal integrity and shielding
    • USB-UART-Bridge Silicon Labs CP2102 (SiLabs CP2102)
      USB2COM (USB2SERIAL) / COM2USB (SERIAL2USB) / USB2 Full Speed
      converter onboard for COM1 (serial to USB converter for COM1 / USART1, second UART)
      driver support: Windows98/2000/XP, Linux, MacOS
    • device can be powered from USB line (jumper)
    • ISP and JTAG header

    • fully assembled board includes:


    • ATmega128-16AI / ATmega128-16AU (-40 bis +85°C), X1 crystal 16 MHz, X2 crystal 32.768 kHz (for asynchron timer)

    • header layout, schematics, programming tutorial, USB driver

    • Mini-USB cable

    • female connectors 2 pieces (2x15 pins) are also available
    options:

    • ATmega128-16 with 14.7456 MHZ crystal for serial communication (USART1 and USART2) without baud rate error

    Board Headers
    [​IMG]
    board fits in 2,54mm pitch prototype PCB
    CP2102 USB-UART Bridge VCP device drivers

    Windows 2000 / XP: CP2102 VCP device driver Windows 2000 / XP
    Native CP210x USB Driver (Windows): CP210x_Win_v4.28a.zip
    Native CP210x USB Driver (MacOS-X): CP210x_MacOSX_v1.00e.zip
    Linux:
    Native CP210x USB Driver (RedHat8)
    Note: Linux Kernel 2.6 includes support for CP210x devices, no additional driver needed
    CP210x_RedHat8_v1.1.tar.gz
    Native CP210x USB Driver (Linux Source Code)
    Note: Linux Kernel 2.6 includes support for CP210x devices, no additional driver needed
    CP210x_Linux_src_v1.1.zip
    Features Atmel 8Bit AVR-Flash Microcontroller, AVR 8-Bit RISC
    [​IMG]
    Pinout:
    ATmega128, ATmega128-16AU
    ATmega1281, ATmega1281-16AU
    ATmega2561, ATmega2561-16AU
    [/h]

    ATmega128-16AI / ATmega128-16AU (Pb free, ROHS) / ATmega1281 features
    ATmega2561-16AI / ATmega2561-16AU (Pb free, ROHS) features

    • 128KB FLASH for ATmega128
    • 256KB FLASH for ATmega2561
    • 4 KB SRAM (internal RAM)
    • 4 KB EEPROM
    • 64-pin Version
    • 53 I/O pins
    • hardware multiplier
    • programming lock for software security
    • SPI Interface for In-System Programming
    • real time counter with separate oscillator
    • 8-channel, 10-bit ADC:
      - 8 single-ended channels
      - 7 differential channels
      - 2 differential channels with programmable gain at 1x, 10x, or 200x
    • dual programmable serial USARTs (2x UART)
    • Master/Slave SPI serial interface
    • 2x 8bit timer, 2x 16bit timer
    • 16 MHz RISC

    [​IMG]AVR ATmega128 datasheet (pdf)

    [​IMG]AVR ATmega2561 datasheet (pdf)
     
    Son düzenleyen: Moderatör: 12 Mayıs 2015
  4. guclusat
    Offline

    guclusat Tanınmış Üye Süper Moderatör

    Katılım:
    14 Haziran 2009
    Mesajlar:
    9.947
    Ödül Puanları:
    48
    AVR-ISP AVR ISP Programmer for parallel port, AVR In-System-Programmer

    [​IMG]

    • used for progamming of ATmega128 TinyBoard or any other ISP programmable controller from Atmel
    • 100% compatible with Atmel STK200/300
    • works with:


    • long ribbon cable
    • modern SMD technology
    • integrated bus driver, target can be left connected to ISP connector while device is running
      ISP lines are automatically switched through when in programming mode
    see AVR-HOWTO for programming target device
    AVR ISP header pinout

    [​IMG]
    Selection of ISP Programming Software

    [​IMG]



    • Downloading code to the target processor, e.g. AVR ATmega128 microcontroller, via PonyProg (WINDOWS 2000 / XP)
    Configuration and programming instructions for ATmega128 Development Board “TinyBoard” via PonyProg:
    STEP 1:
    For ATmega128 TinyBoard V1.1 connect “HEADER A” to ISP programmer as shown:
    [​IMG]
    For ATmega128 TinyBoard V1.2 connect ISP header from board with ISP programmer:
    [​IMG]
    STEP 2: Download PonyProg from PonyProg-download and install PonyProg.
    STEP 3: Connect programmer to parallel port of your PC.
    STEP 4: Configure ISP programmer (dongle) by “Setup->Interface Setup”, use the following settings.

    [​IMG]

    STEP 5: Verify presence of ISP programmer by using “Probe”.
    STEP 6: Do “Setup -> Calibration”
    STEP 7: Select “Device->AVR Micro->ATmega128”
    STEP 8: Load your program file *.hex. using “File-> Open Device File”.
    SETP 9: Now you can program your device by using “Command -> Write all”.

    You can change pre-configured settings (fuse bits) by “Command -> Security and Configuration Bits”.

    • Downloading code to the target processor, e.g. AVR ATmega128, ATmega1280 microcontroller, via avrdude (LINUX, Windows 2000 / XP)

      Avrdude is an open-source program for download / upload code to AVR microcontroller flash and eeprom.
      Download code from avrdude-download.
      The example is chown as Windows version with Windows parallel port declaration "-P lpt1".
      For Linux use "-P /dev/parport0" instead.
    • avrdude (Version 5.x)

    Note: You now have to use "flashfile.bin" instead of "flashfile.hex" unlike in prior versions (4.x).

    avrdude: Version 5.1

    >avrdude -p atmega128 -c stk200 -P lpt1 -U flash:w:demo.bin:r

    avrdude: AVR device initialized and ready to accept instructions

    Reading | ################################################## | 100% 0.01s

    avrdude: Device signature = 0x1e9702
    avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
    To disable this feature, specify the -D option.
    avrdude: erasing chip
    avrdude: reading input file "demo.bin"
    avrdude: writing flash (12058 bytes):

    Writing | ################################################## | 100% 8.07s

    avrdude: 12058 bytes of flash written
    avrdude: verifying flash memory against demo.bin:
    avrdude: load data flash data from input file demo.bin:
    avrdude: input file demo.bin contains 12058 bytes
    avrdude: reading on-chip flash data:

    Reading | ################################################## | 100% 7.81s

    avrdude: verifying ...
    avrdude: 12058 bytes of flash verified

    avrdude: safemode: Fuses OK

    avrdude done. Thank you.

    • Special notes for ISP-programming of ATmega2560 / ATmega2561, i.e. upload code to flash, using avrdude

      Because AVR ATmega2560 and ATmega2561 devices are not supported by avrdude by now (Version WinAVR-20060125) use ATmega1280 mode instead:​
      C:\WinAVR\examples\ATmega256xdemo>avrdude -p atmega1280 -c stk200 -P lpt1 -U flash:w:demo.bin:r

      avrdude: AVR device initialized and ready to accept instructions

      Reading | ################################################## | 100% 0.00s

      avrdude: Device signature = 0x1e9801
      avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed

      To disable this feature, specify the -D option.
      avrdude: erasing chip
      avrdude: reading input file "demo.bin"
      avrdude: writing flash (486 bytes):

      Writing | ################################################## | 100% 0.17s

      avrdude: 486 bytes of flash written
      avrdude: verifying flash memory against demo.bin:
      avrdude: load data flash data from input file demo.bin:
      avrdude: input file demo.bin contains 486 bytes
      avrdude: reading on-chip flash data:

      Reading | ################################################## | 100% 0.16s

      avrdude: verifying ...
      avrdude: 486 bytes of flash verified

      avrdude: safemode: Fuses OK

      avrdude done. Thank you.​
    • avrdude version (4.x) >avrdude -p atmega128 -c stk200 -P lpt1 -e -i mmega128.hex
      or just
      >avrdude -p m128 -c stk200 -e -i mmega128.hex
    avrdude: AVR device initialized and ready to accept instructions
    avrdude: Device signature = 0x1e9702
    avrdude: erasing chip
    avrdude: done.
    avrdude: reading input file "f:\mmega128.hex"
    avrdude: input file f:\mmega128.hex auto detected as Intel Hex
    avrdude: writing flash (130100 bytes):
    130099
    avrdude: 130100 bytes of flash written
    avrdude: verifying flash memory against f:\mmega128.hex:
    avrdude: reading on-chip flash data:
    130099
    avrdude: verifying ...
    avrdude: 130100 bytes of flash verified

    avrdude done. Thank you.

    • Downloading code to the target processor, e.g. AVR ATmega128 microcontroller, via uisp (Linux)

      UISP is a tool for AVR (and AT89S) microcontrollers which can interface to many hardware in-system programmers.
      Download code from uisp-download.
    >uisp -dprog=stk200 --upload if=mmega128.hex --verify
    Features Atmel 8Bit AVR-Flash Microcontroller, AVR 8-Bit RISC

    [​IMG]
    Pinout:
    ATmega128, ATmega128-16AU
    ATmega1281, ATmega1281-16AU
    ATmega2561, ATmega2561-16AU


    ATmega128-16AI / ATmega128-16AU (Pb free, ROHS) / ATmega1281 features
    ATmega2561-16AI / ATmega2561-16AU (Pb free, ROHS) features



    • 128KB FLASH for ATmega128
    • 256KB FLASH for ATmega2561
    • 4 KB SRAM (internal RAM)
    • 4 KB EEPROM
    • 64-pin Version
    • 53 I/O pins
    • hardware multiplier
    • programming lock for software security
    • SPI Interface for In-System Programming
    • real time counter with separate oscillator
    • 8-channel, 10-bit ADC:
      - 8 single-ended channels
      - 7 differential channels
      - 2 differential channels with programmable gain at 1x, 10x, or 200x
    • dual programmable serial USARTs (2x UART)
    • Master/Slave SPI serial interface
    • 2x 8bit timer, 2x 16bit timer
    • 16 MHz RISC

     

Sayfayı Paylaş