avr_programmer
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | avr_programmer [2013/08/13 12:13] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== The Kraken | ||
+ | |||
+ | < | ||
+ | < | ||
+ | <a href=" | ||
+ | </ | ||
+ | |||
+ | |||
+ | {{: | ||
+ | |||
+ | http:< | ||
+ | |||
+ | </ | ||
+ | Schematic is in 032.SVN, Board layout is finished. (built and tested). | ||
+ | |||
+ | It has been programmed but USB doesn' | ||
+ | < | ||
+ | <BR> | ||
+ | Useful manual for similar version http:< | ||
+ | |||
+ | J3 = B = slow clock | ||
+ | < | ||
+ | When this jumper is selected, the slow clock mode is enabled. If the target clock is lower than 1.5 MHz, you have to set this jumper. Then SCK is scaled down from 375 kHz to about 8 kHz.</ | ||
+ | |||
+ | J2 = A = supply target | ||
+ | < | ||
+ | If this jumper is bridged, then +5V supply from the USB port will go tho the target device via the ISP VCC connector. Disable this jumper if the target device has its own power source.</ | ||
+ | |||
+ | J1 = C = self program | ||
+ | < | ||
+ | This jumper is used to update the firmware of the Kraken programmer. In order to update the firmware you will need 2 programmers. One to be programmed and the other to do the programming</ | ||
+ | <BR> | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <a href=" | ||
+ | |||
+ | |||
+ | <a href=" | ||
+ | |||
+ | <a href=" | ||
+ | |||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
+ | http:< | ||
+ | |||
+ | http:< | ||
+ | |||
+ | ===== Testing | ||
+ | |||
+ | Tested with layer one prototype board, newest prototype built and tested. | ||
+ | |||
+ | < | ||
+ | |||
+ | 200 Boards have been ordered, theres really no need to add yourself to a buy list , we got you. | ||
+ | |||
+ | |||
+ | < | ||
+ | |||
+ | [[C: | ||
+ | |||
+ | avrdude: AVR device initialized and ready to accept instructions | ||
+ | |||
+ | Reading | ################################################## | ||
+ | |||
+ | avrdude: Device signature = 0x1e9602 | ||
+ | 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 " | ||
+ | avrdude: input file meeblip.hex auto detected as Intel Hex | ||
+ | avrdude: writing flash (1228 bytes): | ||
+ | |||
+ | Writing | ################################################## | ||
+ | |||
+ | |||
+ | |||
+ | avrdude: 1228 bytes of flash written | ||
+ | avrdude: verifying flash memory against meeblip.hex: | ||
+ | avrdude: load data flash data from input file meeblip.hex: | ||
+ | avrdude: input file meeblip.hex auto detected as Intel Hex | ||
+ | avrdude: input file meeblip.hex contains 1228 bytes | ||
+ | avrdude: reading on-chip flash data: | ||
+ | |||
+ | Reading | ################################################## | ||
+ | |||
+ | |||
+ | |||
+ | avrdude: verifying ... | ||
+ | avrdude: 1228 bytes of flash verified | ||
+ | |||
+ | avrdude: safemode: Fuses OK | ||
+ | |||
+ | avrdude done. Thank you. | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== Wiring | ||
+ | <B> | ||
+ | |||
+ | Kraken V1 10 PIN Wiring is ( V2 is standard 6 PIN)</ | ||
+ | {{: | ||
+ | |||
+ | <BR> | ||
+ | |||
+ | Standard ISP Headers | ||
+ | |||
+ | {{: | ||
+ | |||
+ | <BR> | ||
+ | |||
+ | < | ||
+ | KRAKEN | ||
+ | 1 2 | ||
+ | 3 4 | ||
+ | 5 6 | ||
+ | 7 8 | ||
+ | 9 10 | ||
+ | |||
+ | ISP | ||
+ | 1 2 | ||
+ | 3 4 | ||
+ | 5 6 | ||
+ | |||
+ | K I | ||
+ | 1 - 4 | ||
+ | 7 - 3 | ||
+ | 9 - 1 | ||
+ | VCC - 5V | ||
+ | 10 - 6 | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== First Time Programming | ||
+ | |||
+ | Jumper JP2 (underneath< | ||
+ | < | ||
+ | <a href=" | ||
+ | </ | ||
+ | <BR> | ||
+ | < | ||
+ | Set the 5V jumper (connected to VTG pin on 6 pin ) | ||
+ | Set JP2 underneath the CPU ( remove both after programming! | ||
+ | Plug into USB</ | ||
+ | |||
+ | < | ||
+ | |||
+ | Program as ATMega8(A) with this firmware {{: | ||
+ | |||
+ | < | ||
+ | < | ||
+ | HFUSE=0xC9 | ||
+ | LFUSE=0xEF</ | ||
+ | <BR> | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
+ | < | ||
+ | HFUSE=0xdd | ||
+ | LFUSE=0xff</ | ||
+ | Plug into USB< | ||
+ | |||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <a href=" | ||
+ | </ | ||
+ | |||
+ | ===== Build tips ===== | ||
+ | <BR> | ||
+ | MELF Diode< | ||
+ | Orientation of the diode.< | ||
+ | {{: | ||
+ | <BR> | ||
+ | |||
+ | |||
+ | |||
+ | < | ||
+ | **== Build Instructions ==** | ||
+ | 1)Add the 18pF capacitors | ||
+ | http:< | ||
+ | <BR> | ||
+ | 2)Add the 12MHz crystal | ||
+ | http:< | ||
+ | <BR> | ||
+ | 3) Add the 2.2KOhm resistor | ||
+ | http:< | ||
+ | <BR> | ||
+ | 4) Add the two 68Ohhm resistors | ||
+ | http:< | ||
+ | <BR> | ||
+ | 5) Add the 100nF (or 0.1uF) capacitor | ||
+ | http:< | ||
+ | <BR> | ||
+ | 6) Add the 10KOhm resistor | ||
+ | http:< | ||
+ | <BR> | ||
+ | 7) Add the ATMega48 chip. The dot on the chip denotes orientation. Make sure to line up the dot on the chip with the dot on the board. The dot should be pointing toward the usb connector. | ||
+ | http:< | ||
+ | <BR> | ||
+ | 8) Add the USB Mini B connector. Make sure to solder down all of the pins in the back of the connector. | ||
+ | http:< | ||
+ | <BR> | ||
+ | 9) Add the 2 MELF diodes. The cathode marks on the diode (as shown in the build tips above) should face each other. | ||
+ | http:< | ||
+ | <BR> | ||
+ | 10) Add the 4.7uF capacitor. The stripe on the cathode denotes orientation and should be facing the inside of the board. | ||
+ | http:< | ||
+ | <BR> | ||
+ | 11) Add the two 1KOhm resistors | ||
+ | http:< | ||
+ | <BR> | ||
+ | 12) Next add the LEDs. Before placing the LEDs it's important to test the polarity since orientation matters for this part. You can test it using a multimeter. Turn the mulitmeter on to the diode setting, as shown below. Take the two leads and place them on the ends of the LED. The purpose of this is to figure out which way the current will flow through the LED, since, like regular diodes, current can only flow in one direction. Once the LED lights up, you will have figured out which side of the LED is the anode (the + side) and which is the cathode (the - side). | ||
+ | http:< | ||
+ | http:< | ||
+ | http:< | ||
+ | 13) You'll want the cathode of the LEDs to face toward the inside of the board (away from the two resistors next to them). The cathode is usually marked with a little green speck. It's important to always check at least 1 LED from a batch since the marking on the LED does change depending on the manufacturer. | ||
+ | http:< | ||
+ | <BR> | ||
+ | |||
+ | http:< | ||
+ | <BR> | ||
+ | 14) Lastly, add the 2x3 pin header | ||
+ | http:< | ||
+ | <BR> | ||
+ | Make sure to clean of the board with Flux Remover, rinse off under very hot water and dry it thoroughly. Now you have your own AVR Programmer! | ||
+ | </ | ||
+ | |||
+ | ===== Links ===== | ||
+ | |||
+ | - [[http:// | ||
+ | - [[http:// | ||
+ | - [[http:// | ||
+ | - [[http:// | ||
+ | - [[http:// | ||
+ | - [[http:// | ||
+ | - [[http:// | ||
+ | |||
+ | I recommend either Extreme AVR GUI or Khazama for programming, | ||
+ | |||
+ | ===== Test Sign drivers | ||
+ | |||
+ | [[Test Sign]] | ||
+ | |||
+ | Use this to put windows into test mode if you get a yellow exclamation mark on the driver | ||
+ | |||
+ | http:< | ||
avr_programmer.txt · Last modified: 2013/08/13 12:13 by 127.0.0.1