Tutorial:How to burn/program a hex file to a AVR microcontroller using AVR Studio,USBasp,Burn-O-Mat

Поділитися
Вставка
  • Опубліковано 23 бер 2016
  • This video will show you how to burn a hex file to a AVR microcontroller using USBasp Programmer and AVR Burn-O-Mat program.
    Use WinRAR or 7z to extract the driver file(www.fischl.de/u...)
    Select the extracted folder as shown in the video
  • Наука та технологія

КОМЕНТАРІ • 127

  • @StuffBuilder
    @StuffBuilder  6 років тому +3

    Windows Driver Enforcement needs to be disabled for the USBasp driver to install properly.
    Google "Disable Driver Enforcement" and disable it.

    • @Hurikaneful
      @Hurikaneful 6 років тому

      obrigado... problema resolvido aqui... consegui baixar e configurar os programas....
      atmega com bootloader reinstalado e tambem a eeprom

    • @Jonathan-zx3ps
      @Jonathan-zx3ps 6 років тому

      Does ir support atmega 328p chip?

  • @psadlkfpsk
    @psadlkfpsk 5 років тому +1

    If you have driver installation error (signature), try this!
    Go to Start - Then Command Prompt
    Enter command "shutdown /r /o /f /t 00"
    Click the "OK" button
    System will restart to a "Choose an option" screen
    Then select "Troubleshoot" from "Choose an option" screen
    Then select "Advanced options" from "Troubleshoot" screen
    Then select "Windows Startup Settings" from "Advanced options" screen
    Click "Restart" button
    System will restart to "Advanced Boot Options" screen
    Select "Disable Driver Signature Enforcement"
    Restart & install drivers...

  • @dmitridiaguilev3990
    @dmitridiaguilev3990 8 років тому +1

    Wow, bro, you are doing really good stuff, I'm your biggest admirer right from Canada here! I love the way you talk too: "mos-fet , con-trol", it sounds great!

    • @StuffBuilder
      @StuffBuilder  8 років тому

      +Dmitri Diaghilev You are teasing me right?😁

    • @dmitridiaguilev3990
      @dmitridiaguilev3990 8 років тому

      +Stuff Builder Not at all, you are too humble, you are really cool in reality

    • @StuffBuilder
      @StuffBuilder  8 років тому

      +Dmitri Diaghilev Thanks then!!😊

  • @lukassevera7314
    @lukassevera7314 Рік тому

    OMG thank you so much. I have tried so many things but only yours work. I am so happy thank you again for this tutorial

  • @metafizikvip
    @metafizikvip 7 років тому

    I'm using USBtinyisp and I tried a lot of methods end of the researches your method is working. Thank you very much

  • @johnmellor6065
    @johnmellor6065 7 років тому +1

    brilliantly explained tutorial very much appreciated thanks

  • @Amp_Expert
    @Amp_Expert 5 місяців тому

    I pulled the HEX data off of a ATMEGA168A micro into a .BIN file. I would like to convert it into it's native language (C/C+, whatever it was programmed in). HOW DO I DO THIS??

  • @dimitra.d792
    @dimitra.d792 2 місяці тому

    hi sir
    with USBasp Programmer can i read and write microcontroller atmega 8 ?

  • @Lymphater
    @Lymphater 4 місяці тому

    I have no programmer listed in AVRDUDE Settings.. why?

  • @burakokumus6040
    @burakokumus6040 Рік тому

    This was very helpfull, thank you

  • @sandeepsoni9507
    @sandeepsoni9507 6 років тому +1

    I don't find any option in the drop down menu of programmer. please help

  • @ederangelo21
    @ederangelo21 7 років тому

    and how i extract an program are in atmega to record in other atmel ?

  • @harshalpawar7153
    @harshalpawar7153 7 років тому

    I am using AT89C51 Microcontroller. So can i use USBasp for burning program onto the controller?

  • @jumbo999614
    @jumbo999614 4 роки тому

    My arduino is NaNo with ATMega168 (detected by Arvdudess program). Where can i get .hex file for it?

  • @montana33m
    @montana33m 7 років тому

    Hello< thanks for the video,,
    I have STC 10F04XE I couldn't find the model in AVR Prog ?
    Please advice , also I bought the same usbasp that you used in the video ?
    Can I program STC 10F04XE by it ?

  • @Yorumcu63
    @Yorumcu63 2 роки тому

    I must watch again

  • @thetnaing86
    @thetnaing86 6 років тому

    Your breadboard is so cool, apparent to HQ. Where is it available?

  • @chiranthmurthy1164
    @chiranthmurthy1164 3 роки тому

    Can set lock bits using this software?

  • @WanNanon855
    @WanNanon855 3 роки тому

    Suport programmer IC STC 10f08b -35pdip40 ??

  • @jeganmuthu6962
    @jeganmuthu6962 6 років тому

    I need to burn program into at89s51 using this usbsap, what software i need to use for burning

  • @dibyakantajana7358
    @dibyakantajana7358 4 роки тому

    Bro i have a problem, when i opened avr burn o mat then there are showing error massage " error while reading config: attribute fuse is missing at node setting". How can I fixed it? Please help

  • @Aryan-dy4sr
    @Aryan-dy4sr 6 років тому

    What is the name of that light board you have plugged your micro controller on??

  • @kianian7424
    @kianian7424 6 років тому

    hi if i was already burn my hex files into the micro controller do i need to program the c code again??

  • @crazycoolguy109677
    @crazycoolguy109677 6 років тому

    help me in cloning a atmega128 16au using USBasp reader?????? is it possible to make a copy of atmega128 au using USBasp programmer ..please help

  • @ahmedarabe3112
    @ahmedarabe3112 3 роки тому

    Hello sir, I did everything you said it, but this error occurs -->
    WARNING: Unable to detect MCU
    avrdude.exe: set SCK frequency to 1500000 Hz
    avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
    avrdude.exe: error: program enable: target doesn't answer. 1
    avrdude.exe: initialization failed, rc=-1
    Double check connections and try again, or use -F to override
    this check.

  • @TheJavaSync
    @TheJavaSync 4 роки тому

    Blink hex file - for test, where can I get one?

  • @unkownuser8455
    @unkownuser8455 2 роки тому

    What mistake did you make when first loading hex file to atmega8. At least let us know !!

  • @azariayehezkel9064
    @azariayehezkel9064 5 років тому +1

    i install the driver
    but avr dud not show the orogrammer
    why?

    • @arnab_blue
      @arnab_blue 5 років тому

      Download the "Burn-O-Mat" Zip file... Then try... works for me...

  • @Dancopymus
    @Dancopymus 5 років тому

    Can this procedure be in any AVR/ATmega microcontroller? Thanks.

  • @vittthevecc1390
    @vittthevecc1390 3 роки тому

    Does this work Also with the attiny85?

  • @RahulSingh-my7vx
    @RahulSingh-my7vx 5 років тому

    sir where i can download hex file is it arduino sketch files? and this usb device can programme attiny85?

  • @tawsifpiash6840
    @tawsifpiash6840 5 років тому

    can i programm AT89c52 IC using AVR?

  • @arindammajumder5957
    @arindammajumder5957 5 років тому

    How many Leds chaser can run by this

  • @prashantmadan2106
    @prashantmadan2106 7 років тому

    Can i program 89c51 microcontroller from usbasp?

  • @13volteel11
    @13volteel11 4 роки тому

    When I connect the usbasp it says device descriptor request failed.

  • @manishvaishkhiyar1595
    @manishvaishkhiyar1595 3 роки тому

    How hex file upload to IC atmega 8A au smd (QFP- 32 Lead)

  • @junaidasim1021
    @junaidasim1021 5 років тому

    Amazing ,,Good job Done bro......

  • @sanjivshukla6929
    @sanjivshukla6929 4 роки тому

    I want to burn a hex code to an ATmega32A chip. Is the procedure the same as ATmega 32?

  • @francopino3906
    @francopino3906 6 років тому

    Can you tell me the artist of the music?

  • @sivaanand.p7920
    @sivaanand.p7920 4 роки тому

    Error writing flash
    Message seen while programing attiny 13a

  • @journeyelevatortechnology
    @journeyelevatortechnology 6 років тому

    how to look old programming micro controller

  • @tanoojkumarpc459
    @tanoojkumarpc459 5 років тому

    i have tried but error coming in usb help me bro

  • @aniszed3641
    @aniszed3641 5 років тому

    is it work on windows 10 ?

  • @bhooshanvijay326
    @bhooshanvijay326 5 років тому

    you are a genious

  • @selvamelectricalselectronics
    @selvamelectricalselectronics 4 роки тому

    bro its work atmega 328 ic

  • @janhvivora8498
    @janhvivora8498 6 років тому

    i have installed jre but still when i start born-o-mat theres this error-"this application needs jre"

  • @arduinobot9198
    @arduinobot9198 6 років тому

    hey dude can you tell me what exactly JTAG is? (in simple terms and practical use) from microcontroller perspective

  • @williamemery2036
    @williamemery2036 7 років тому

    can you use MPLAB to program AVR??

    • @StuffBuilder
      @StuffBuilder  7 років тому

      I have never used it. I googled it and it seems to be IDE for PIC micro. So mostly not.

  • @dmitridiaguilev3990
    @dmitridiaguilev3990 8 років тому

    Can you do a video on how you wire a converter from 12V DC to a three phase washing machine motor?

    • @StuffBuilder
      @StuffBuilder  8 років тому

      +Dmitri Diaghilev I don't have a three phase washing machine😅

    • @dmitridiaguilev3990
      @dmitridiaguilev3990 8 років тому

      +Stuff Builder You can buy one off scrapyard

    • @StuffBuilder
      @StuffBuilder  8 років тому

      +Dmitri Diaghilev I have never seen a washing machine with three phase motor in it in India. I'll buy a normal three phase motor later. But still 12v has to be converted to 120v AC and with three phases. The circuit must be complicated. But if you already have a converter, it shouldn't be hard to wire.

    • @dmitridiaguilev3990
      @dmitridiaguilev3990 8 років тому

      +Stuff Builder It's just electronics: circuit and parts, with cost for parts, that's all, if you have the circuit or able to engineer one, that would be cool, otherwise forget about it

    • @StuffBuilder
      @StuffBuilder  8 років тому

      +Dmitri Diaghilev I'll try that

  • @vaibhavvalandikar3913
    @vaibhavvalandikar3913 6 років тому

    Can atmega 128 be programmed using the same software

  • @Hurikaneful
    @Hurikaneful 6 років тому

    muito obrigado!
    estive de cabeça quente por não estar conseguindo gravar um bootloader no Atmega328p,

  • @phernandogomes1269
    @phernandogomes1269 5 років тому

    Top... parabéns...

  • @kanmatt3749
    @kanmatt3749 5 років тому

    Does the USBASP driver support Windows 10 ?

  • @prashantmadan2106
    @prashantmadan2106 7 років тому

    How to burn bootloader in atmega8a from usbasp?

    • @StuffBuilder
      @StuffBuilder  7 років тому

      The microcontroller you are trying to program should have SPI programming capability
      Download the .hex file for the bootloader and follow the video to program it
      Bootloader hex file is available on Arduino site

  • @Uilsbat
    @Uilsbat 7 років тому

    I checked my connection about 10 times, but it still dont work. What should i do? (using ATMega32)

    • @StuffBuilder
      @StuffBuilder  7 років тому

      What is the error message showed by AVR

    • @Uilsbat
      @Uilsbat 7 років тому

      avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
      avrdude.exe: error: programm enable: target doesn't answer. 1
      avrdude.exe: initialization failed, rc=-1
      Double check connections and try again, or use -F to override
      this check.

    • @StuffBuilder
      @StuffBuilder  7 років тому

      Try swapping MISO and MOSI
      Make sure you choose ATmega32 in Burn o mat

    • @Uilsbat
      @Uilsbat 7 років тому

      It still dont work but thanks a lot :)

    • @StuffBuilder
      @StuffBuilder  7 років тому +1

      Okay. Last suggestion : Move the GND pin in the remaining points on the same line one by one of the USBasp(Some usbasp have different GND output pin) If that doesn't work, your ATmega32 is probably faulty. Anyway Best of Luck!!

  • @sagorbaultv
    @sagorbaultv 7 років тому

    EXCELLENT

  • @steve24822
    @steve24822 7 років тому +8

    Turn the music off!

  • @nawabelahi9693
    @nawabelahi9693 6 років тому

    Java install did not complete
    Error code 1601......what ahould i do?

  • @ahmedshihen9828
    @ahmedshihen9828 6 років тому

    Hi, can you upload a hex file from a AVR microcontroller ?

  • @kryptocat4240
    @kryptocat4240 5 років тому +1

    Bro i need hex file of blinking led please give me

  • @seimela
    @seimela 7 років тому

    can i programe using arduno circuit

    • @StuffBuilder
      @StuffBuilder  7 років тому

      What do mean by arduino circuit. I didn't understand

    • @seimela
      @seimela 7 років тому

      is the altemaga chip that you used the same as the one used on arduino board

    • @StuffBuilder
      @StuffBuilder  7 років тому

      Chip is the same. But arduino board chip have a bootloader. That can make a difference

    • @StuffBuilder
      @StuffBuilder  7 років тому

      If you already have a board. Go ahead and try it. Deattach all the things connected to it and see if you get the desired output

  • @EdwardYamunaque
    @EdwardYamunaque 5 років тому

    Gracias sr

  • @bradjarrett6772
    @bradjarrett6772 7 років тому

    Thank you for the video. I am trying to program an ATMEGA328 which is on an Arduino Uno. I am getting this error: error at C:\WinAVR\bin\avrdude.conf:320 unrecognized character: "a"
    Line 320 is: type = arduino;
    Any ideas?

    • @StuffBuilder
      @StuffBuilder  7 років тому

      Nope. Never got that myself. Do a google search of the error. You might get something.

  • @siddhesharekar3045
    @siddhesharekar3045 7 років тому

    I cannot see the programmer(usbasp) in the settings

    • @StuffBuilder
      @StuffBuilder  7 років тому

      You might have not installed the driver
      Watch the entire video

    • @siddhesharekar3045
      @siddhesharekar3045 7 років тому

      The link you mentioned for usbasp driver, does not contain a zip file. instead it has this "en Zadig - USB driver installation made easy". The detection problem persists even after downloading and using the above setup.

    • @StuffBuilder
      @StuffBuilder  7 років тому

      There is no link. I searched google for it. Its a tar.gz file. I think you'll need Winrar or 7z to extract the contents

    • @StuffBuilder
      @StuffBuilder  7 років тому

      I've added it in the description

    • @siddhesharekar3045
      @siddhesharekar3045 7 років тому

      Okay. Thanks a lot :-)

  • @omprakashjha772
    @omprakashjha772 7 років тому

    I am not understanding that without connecting Crystal to your atmega ic how you are able to blink the led.
    Isn't this is fake??

    • @StuffBuilder
      @StuffBuilder  7 років тому +3

      Don't you read data sheets? It has a internal RC oscillator.

  • @dmitridiaguilev3990
    @dmitridiaguilev3990 8 років тому

    From what I read you need about seven fifty kilowatt motor to have a good ride, but some people like the fast one thousand kilwatt

    • @dmitridiaguilev3990
      @dmitridiaguilev3990 8 років тому

      +Dmitri Diaguilev And note, washing machine motor is running only at half efficiency below a certain RPM amount

    • @StuffBuilder
      @StuffBuilder  8 років тому

      +Dmitri Diaghilev 750KW😮 I think thats 750W not KW. 750KW sounds like overkill!!

  • @lanchanoinguyen2914
    @lanchanoinguyen2914 7 років тому +1

    hex file is not need to be carried because the atmega runs its machine code which had been compiled by the avr compiler,not the hex,the hex is just hexagon encryption of text.

    • @StuffBuilder
      @StuffBuilder  7 років тому

      What? It's the file type that is produced after the code is complied. It is the file which contains the machine code(binary data) and is programmed into the micro. I didn't even get what you said. So .hex file is the file that is burned onto the micro

    • @lanchanoinguyen2914
      @lanchanoinguyen2914 7 років тому

      Stuff Builder no!i don't sure 100% that hex file isn't the machine code of atmega but hex file is still the text format so it wouldn't optimizing the code and not security so it would be translated to another machine code just a few bits for a operator.you can see the elf file is in binary and shows the nonsense character.and if it runs hex,it will not need the dedicated flashing device.

    • @30svich
      @30svich 7 років тому +1

      duuuuude what!?? are you just typing random words? Stuff Builder was right btw

  • @robbs96
    @robbs96 8 років тому

    difficult to hear you over the music

  • @BaronVonBiffo
    @BaronVonBiffo 4 роки тому +1

    The loud 'music' drowns out your voice. Couldn't watch the video.

  • @amarnathsharma1657
    @amarnathsharma1657 5 років тому

    BOOLTLODER KA HEX DE DIJIYE

  • @francescostrano8314
    @francescostrano8314 Рік тому

    Buongiorno, ho comparto anche io un USBASP speravo di poter programmare un atmega64 che dicevano che supportasse..ma dopo aver installato i driver e molte suit per AVR sono rimasto deluso non programma un tubo....qualcuno sa dirmi se sono un coglione io?..ho non serve a nulla se non utilizzato con arduino?
    vorrei divulgarmi ma alcune cose devo scriverle..la suit che utilizzo con collegato MISO,MOSI, RESET E SCK E' EXTREME AVR... invece con collegato D0,D1,SCK,RESET uso PROGISP....ma nessun risultato..chi puo' aiutarmi a programmare un atmega64... grazie

  • @qusalahmed1290
    @qusalahmed1290 5 років тому +1

    incomplete tutorial

  • @dmitridiaguilev3990
    @dmitridiaguilev3990 8 років тому

    Don't put it on your bike though, can be dangerous maybe (that's what I want to do though, lol).

    • @StuffBuilder
      @StuffBuilder  8 років тому

      +Dmitri Diaghilev My bike doesn't have a motor😄

    • @dmitridiaguilev3990
      @dmitridiaguilev3990 8 років тому

      +Stuff Builder Most add on devices like that which I know of use twelve volt DC brushless motor which sells for about seventy american dollars in Canada, and it is easy to add on, you can utilize old laptop batteries, or even just use a regular car battery (enough for for than two hours of pedal assisted ride with 500kW motor power consumption)

    • @StuffBuilder
      @StuffBuilder  8 років тому

      +Dmitri Diaghilev That's good. I actually attached a drill motor to the rear wheel of my cycle a few years back. But it didn't work. I didn't have the understanding of torque,gear ratio,etc. Now that I am a little more educated, I think ill be trying it again sometime

  • @raghavseth8480
    @raghavseth8480 8 років тому

    are u Indian

    • @StuffBuilder
      @StuffBuilder  8 років тому

      +raghav seth That's right! I am Indian :)

  • @ivan868
    @ivan868 5 років тому +1

    And WHERE is the fuses, you amateur

  • @vikican
    @vikican 4 роки тому

    music sucks.