CrazyEngineers
  • I was firstly using avrdude but it is not responding dont know why?.
    while using extreme burner its showing error "power on failed & cannot connect to the target chip".
    I am using ATMEGA16 development board which is usb powered.
    so what is the problem please tell me
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • [Prototype]

    MemberFeb 6, 2013

    Is your Atmega16 brand new? Are you using external crystal?
    Are you sure? This action cannot be undone.
    Cancel
  • soni.sapan

    MemberFeb 6, 2013

    its new trying to burn 1st tym & it is mounted on trainer kit so crystal oscillator is also inbuilt
    & when i connect it to my PC , my PC show that beep of an external device connected,that means I have installed USBASP drivers correctly but still cant
    Are you sure? This action cannot be undone.
    Cancel
  • [Prototype]

    MemberFeb 6, 2013

    soni.sapan
    its new trying to burn 1st tym & it is mounted on trainer kit so crystal oscillator is also inbuilt
    & when i connect it to my PC , my PC show that beep of an external device connected,that means I have installed USBASP drivers correctly but still cant
    Fuse bits! The Atmega's are configured to use internal 1 MHZ internal oscillator by default hence you need to first configure it to use the external crystal.

    Set LOW FUSE = 0xFF and HIGH fuse = 0xC9 to configure it with external crystal.

    However, of course you would first require that the burning software detect your controller. Check to see if your board have any setting to enable SCK setting. That would enable you to work on slow clock. USBASP supports that, but your board is required to have the jumper.
    Are you sure? This action cannot be undone.
    Cancel
  • soni.sapan

    MemberFeb 6, 2013

    set fusebits but it show following in
    1.auto detecting programmer
    2.found USBasp on usb port
    3.powering on
    4.power on failed
    5.can not communicating with target chip
    6.retrying again
    & so on repeted 4,5,6
    Are you sure? This action cannot be undone.
    Cancel
  • arunchary

    MemberFeb 7, 2013

    hi,
    here is to be considered checking, first of all connect your development board to AVRdude then go for checking ports where USBasp is heighlighted or not in communication port,if it not install sinaprog software with drivers of that module then connect once again,then ull get the connection then go for recognising the device while connecting to your AVRdude k. if its also not solved place the screen shots such that ill go for clear your bug,.
    Are you sure? This action cannot be undone.
    Cancel
  • soni.sapan

    MemberFeb 7, 2013

    arunchary
    hi,
    here is to be considered checking, first of all connect your development board to AVRdude then go for checking ports where USBasp is heighlighted or not in communication port,if it not install sinaprog software with drivers of that module then connect once again,then ull get the connection then go for recognising the device while connecting to your AVRdude k. if its also not solved place the screen shots such that ill go for clear your bug,.
    USBASP can be seen in in device manager while I connect it.
    Are you sure? This action cannot be undone.
    Cancel
  • arunchary

    MemberFeb 7, 2013

    ok what type of software your using to dump the code into controller through avr dude..
    Are you sure? This action cannot be undone.
    Cancel
  • soni.sapan

    MemberFeb 7, 2013

    I tried with avrdude, extreme burner,avr burno mat,khazama avr programmer,
    In extreme burner I can see the error as mentioned above & in khazama programmer I got error like setting isp clock failed 😭
    Are you sure? This action cannot be undone.
    Cancel
  • soni.sapan

    MemberFeb 8, 2013

    it is the schematic of avr board am using......
    check it out
    Are you sure? This action cannot be undone.
    Cancel
  • arunchary

    MemberFeb 8, 2013

    i got your bug go with sinaprog software to dump the programmer with the related usb support software then dump the programmer in to the controller ok.
    Are you sure? This action cannot be undone.
    Cancel
  • soni.sapan

    MemberFeb 8, 2013

    arunchary
    i got your bug go with sinaprog software to dump the programmer with the related usb support software then dump the programmer in to the controller ok.
    please explain it more
    Are you sure? This action cannot be undone.
    Cancel
  • arunchary

    MemberFeb 8, 2013

    hi CEans,download the software sinaprog and connect your development board to pc then go for search the controller to identify, then select the hex file to burn,in mean while select the memory to burn and select the fuse bits to external crystal osc. as shown below.
    Are you sure? This action cannot be undone.
    Cancel
  • arunchary

    MemberFeb 8, 2013

    above window shows the software to configure and burn the AVR family Controlleres.
    Are you sure? This action cannot be undone.
    Cancel
  • [Prototype]

    MemberFeb 9, 2013

    soni.sapan
    set fusebits but it show following in
    1.auto detecting programmer
    2.found USBasp on usb port
    3.powering on
    4.power on failed
    5.can not communicating with target chip
    6.retrying again
    & so on repeted 4,5,6
    How did you set the fuse bits then? To set the fuse bits, the software must first detect the controller?

    Can you read the current fuse bits and screenshot it? I am pretty sure that you didn't set the fuse bits.
    Are you sure? This action cannot be undone.
    Cancel
  • soni.sapan

    MemberFeb 9, 2013

    [Prototype]
    How did you set the fuse bits then? To set the fuse bits, the software must first detect the controller?

    Can you read the current fuse bits and screenshot it? I am pretty sure that you didn't set the fuse bits.
    I think I got the problem,
    when I was trying with USB avr programmer(hardware) only without connecting atmega 16 I got the same error as mentioned above that means my software is not reading atmega 16.
    & about fuse bits
    In extreme burner there is an opt to set it but ofcourse I am not able to read fuse bits.
    Now I think problem is to detect Atmega 16 & I think I have installed drivers properly
    Are you sure? This action cannot be undone.
    Cancel
  • [Prototype]

    MemberFeb 9, 2013

    soni.sapan
    I think I got the problem,
    when I was trying with USB avr programmer(hardware) only without connecting atmega 16 I got the same error as mentioned above that means my software is not reading atmega 16.
    & about fuse bits
    In extreme burner there is an opt to set it but ofcourse I am not able to read fuse bits.
    Now I think problem is to detect Atmega 16 & I think I have installed drivers properly
    Yeah? That's the problem. That's why I asked you to see if your board got any arrangement to set itself to SS mode. This will allow the programmer to run on Slow clock and will enable the AVR software to access the chip.

    Another solution is to check if your college got a Universal programmer. Use this programmer to set the fuse bits and then later use it with your board. This is what I used to do.
    Are you sure? This action cannot be undone.
    Cancel
  • soni.sapan

    MemberFeb 9, 2013

    [Prototype]
    Yeah? That's the problem. That's why I asked you to see if your board got any arrangement to set itself to SS mode. This will allow the programmer to run on Slow clock and will enable the AVR software to access the chip.

    Another solution is to check if your college got a Universal programmer. Use this programmer to set the fuse bits and then later use it with your board. This is what I used to do.
    Am at home at this moment any other solution? I think board dont have that arrengement, check above post I have posted the schematic of the board
    Are you sure? This action cannot be undone.
    Cancel
  • [Prototype]

    MemberFeb 9, 2013

    soni.sapan
    Am at home at this moment any other solution? I think board dont have that arrengement, check above post I have posted the schematic of the board
    A little correction. I meant the programmer not the board. USBASP has been modified to work on SCK, but it may be possible that the manufacturer of your board might have hardwired that setting instead of providing a jumper.
    Are you sure? This action cannot be undone.
    Cancel
  • soni.sapan

    MemberFeb 9, 2013

    cant understand you 😔. 😐........................................
    Are you sure? This action cannot be undone.
    Cancel
  • [Prototype]

    MemberFeb 9, 2013

    soni.sapan
    cant understand you 😔. 😐........................................
    [​IMG]


    Notice that Slow SCK jumper? Track down that same thing keeping this circuit diagram as the reference. If you find any provision for jumper at that place, then put the jumper and try reading the atmega again, else, your programmer manufacturer skipped that part and you don't have any other way than to find a appropriate programmer and set up the fuse bits.

    I remember one other way. Try to build a Serial programmer. Its pretty easy to build one and requires negligible components. No microcontroller is needed as well. This programmer, with Pony Prog can get your work done.
    Are you sure? This action cannot be undone.
    Cancel
  • dossdss

    MemberFeb 9, 2013

    [Prototype]
    [​IMG]




    hello,
    I am also working on ATmega16...i use unipro for its programming. but i have seen many local vendors selling the USB programming hardware for mega16 at around 4 to 500/- it uses atmega8.
    if i am going to make the same kind of programmer by my own, can you please tell me its software part, that what kind of code that programmer has ?
    i have its circuit schematic but dont have any idea about the program.

    thanks.
    Are you sure? This action cannot be undone.
    Cancel
  • [Prototype]

    MemberFeb 9, 2013

    #-Link-Snipped-#, you can get everything here -> <a href="https://www.fischl.de/usbasp/" target="_blank" rel="nofollow noopener noreferrer">USBasp - USB programmer for Atmel AVR controllers - fischl.de</a>

    The vendors sells the same thing.
    Are you sure? This action cannot be undone.
    Cancel
  • soni.sapan

    MemberFeb 9, 2013

    [Prototype]
    [​IMG]


    Notice that Slow SCK jumper? Track down that same thing keeping this circuit diagram as the reference. If you find any provision for jumper at that place, then put the jumper and try reading the atmega again, else, your programmer manufacturer skipped that part and you don't have any other way than to find a appropriate programmer and set up the fuse bits.

    I remember one other way. Try to build a Serial programmer. Its pretty easy to build one and requires negligible components. No microcontroller is needed as well. This programmer, with Pony Prog can get your work done.
    ll reply when I am done
    Are you sure? This action cannot be undone.
    Cancel
  • soni.sapan

    MemberMar 13, 2013

    I am done with this problem, now my controller is working..
    but now problem is that I am trying to burn another program in it, it showing error "mismatch at location 0x00000000" so what is the problem?
    Are you sure? This action cannot be undone.
    Cancel
  • arunchary

    MemberMar 13, 2013

    check out the fuse bits in the software...
    Are you sure? This action cannot be undone.
    Cancel
  • soni.sapan

    MemberMar 14, 2013

    arunchary
    check out the fuse bits in the software...
    thanks dude it is done, can I be able to know which program is currently working on chip?
    & why reset button is used?
    Are you sure? This action cannot be undone.
    Cancel
  • [Prototype]

    MemberMar 14, 2013

    soni.sapan
    thanks dude it is done, can I be able to know which program is currently working on chip?
    & why reset button is used?
    You can read the hex of the program if thats what you mean. And reset button will restart the execution from fresh just as it would, after the power on.
    Are you sure? This action cannot be undone.
    Cancel
  • shobhit12

    MemberJun 18, 2013

    Somebody please help me. I have done everything that was said here. Except the SCK thing. I have no option to set the SCK or the jumper. Please help.
    I have everything working perfectly using a ponyser but its royally screwed up with the usbasp
    Are you sure? This action cannot be undone.
    Cancel
  • Harshad Italiya

    MemberJun 18, 2013

    shobhit12
    Somebody please help me. I have done everything that was said here. Except the SCK thing. I have no option to set the SCK or the jumper. Please help.
    I have everything working perfectly using a ponyser but its royally screwed up with the usbasp
    Will you please share detail that how you are trying to burn it. Tagging #-Link-Snipped-# he may help you.
    Are you sure? This action cannot be undone.
    Cancel
  • [Prototype]

    MemberJun 21, 2013

    shobhit12
    Somebody please help me. I have done everything that was said here. Except the SCK thing. I have no option to set the SCK or the jumper. Please help.
    I have everything working perfectly using a ponyser but its royally screwed up with the usbasp
    There's no other way except setting the controller to work on Slow Clock (SCK). Its the only way you can read a brand new Atmega. You can try building a programming that works on Serial Interface. Its fairly simple to make one.
    Are you sure? This action cannot be undone.
    Cancel
  • Harshad Italiya

    MemberJun 21, 2013

    shobhit12
    Somebody please help me. I have done everything that was said here. Except the SCK thing. I have no option to set the SCK or the jumper. Please help.
    I have everything working perfectly using a ponyser but its royally screwed up with the usbasp
    Tagging one more CEan #-Link-Snipped-# he may help you.
    Are you sure? This action cannot be undone.
    Cancel
  • Big_B

    MemberJun 21, 2013

    Hi soni.sapan,

    Try this solutions...

    1.Is the USBASP driver is installed correctly?
    -If it is showing [!] symbol in device manager. >> Remove old driver and install [<a href="https://www.dropbox.com/s/fnskanmardfhzlh/USBasp%20Driver%200.1.12.1.zip" target="_blank" rel="nofollow noopener noreferrer">Dropbox - Error</a>] new driver.

    2.Try New AVRdude 2.1. [<a href="https://www.dropbox.com/s/y4jwacphjrvzn43/SinaProg%202.1.zip" target="_blank" rel="nofollow noopener noreferrer">Dropbox - Error</a>]

    3. Triple check you connection with Programmer's programming pins to ATmega16 pins [SCK,MISO,MOSI,RESET etc..].

    4.Try connecting disconnecting USB. sometime due to loose connection it happens.

    5.If RESET switch is connected,Disconnect it.[sometimes it creates problem in AVR while burning.]

    Hopefully this may solve your problem.. 👍
    -Big_B
    Are you sure? This action cannot be undone.
    Cancel
  • Harshad Italiya

    MemberJun 21, 2013

    Big_B
    Hi soni.sapan,

    Try this solutions...

    1.Is the USBASP driver is installed correctly?
    -If it is showing [!] symbol in device manager. >> Remove old driver and install [<a href="https://www.dropbox.com/s/fnskanmardfhzlh/USBasp%20Driver%200.1.12.1.zip" target="_blank" rel="nofollow noopener noreferrer">Dropbox - Error</a>] new driver.

    2.Try New AVRdude 2.1. [<a href="https://www.dropbox.com/s/y4jwacphjrvzn43/SinaProg%202.1.zip" target="_blank" rel="nofollow noopener noreferrer">Dropbox - Error</a>]

    3. Triple check you connection with Programmer's programming pins to ATmega16 pins [SCK,MISO,MOSI,RESET etc..].

    4.Try connecting disconnecting USB. sometime due to loose connection it happens.

    5.If RESET switch is connected,Disconnect it.[sometimes it creates problem in AVR while burning.]

    Hopefully this may solve your problem.. 👍
    -Big_B
    #-Link-Snipped-# Please have a look at above reply and give it a try.
    Are you sure? This action cannot be undone.
    Cancel
  • arunchary

    MemberJun 22, 2013

    please check out the connection which are interfaced between USBASP and jtag. following images shows the normal ISP and AVRJTAG compare it once and check it.
    <a href="https://www.dropbox.com/s/7l90u3nkixc5qm3/avr%20jtag1.jpg" target="_blank" rel="nofollow noopener noreferrer">Dropbox - avr jtag1.jpg - Simplify your life</a>
    <a href="https://www.dropbox.com/s/xu0twacsp5fi20w/avr%20jtag.jpg" target="_blank" rel="nofollow noopener noreferrer">Dropbox - avr jtag.jpg - Simplify your life</a>
    Are you sure? This action cannot be undone.
    Cancel
  • SAYYED NAVEED

    MemberSep 19, 2014

    guys i m getting an error
    but now problem is that I am trying to burn another program in it, it showing error "mismatch at location 0x00000000" so what is the problem?
    plzz help
    i m nt getting the fuse bits logic
    Are you sure? This action cannot be undone.
    Cancel
  • [Prototype]

    MemberSep 20, 2014

    SAYYED NAVEED
    guys i m getting an error
    but now problem is that I am trying to burn another program in it, it showing error "mismatch at location 0x00000000" so what is the problem?
    plzz help
    i m nt getting the fuse bits logic
    You've probably selected the device in the software which doesn't match with your physical chip. For example, you've selected Atemga 16 in the software while your actual chip is Atemga 8.
    Are you sure? This action cannot be undone.
    Cancel
  • karthick417

    MemberFeb 19, 2016

    set fusebits but it show following in
    1.auto detecting programmer
    2.found USBasp on usb port
    3.powering on
    4.power on failed
    5.can not communicating with target chip
    6.retrying again
    & so on repeted 4,5,6
    Are you sure? This action cannot be undone.
    Cancel
  • [Prototype]

    MemberFeb 22, 2016

    karthick417
    set fusebits but it show following in
    1.auto detecting programmer
    2.found USBasp on usb port
    3.powering on
    4.power on failed
    5.can not communicating with target chip
    6.retrying again
    & so on repeted 4,5,6
    You're already done setting the fuse bits? If you did as mentioned earlier, then you'll need a crystal oscillator connected. It will not work on SCK after fuse bit setting is complete.
    Are you sure? This action cannot be undone.
    Cancel
  • Wagner Lipnharski

    MemberMar 11, 2016

    Just a question:
    What version of Windows are you using?
    Windows 7 and 8 does not allow USBASP drivers to recognize the programmer in the USB port, since the drivers have not the Microsoft Digital Signature. You need to reboot the PC with this option disabled, so it will work until the next reboot.
    Are you sure? This action cannot be undone.
    Cancel
  • Wagner Lipnharski

    MemberMar 11, 2016

    If this is the problem, download and install the signed USBASP driver from this link:

    #-Link-Snipped-#
    Are you sure? This action cannot be undone.
    Cancel
  • Wagner Lipnharski

    MemberMar 11, 2016

    Wagner Lipnharski
    If this is the problem, download and install the signed USBASP driver from this link:

    #-Link-Snipped-#
    It is a shame we can not edit the post... I have no idea where the title of the link came from... just follow the link

    #-Link-Snipped-#
    Are you sure? This action cannot be undone.
    Cancel
  • Wagner Lipnharski

    MemberMar 11, 2016

    wrong link, no idea where it comes from...
    this is the right link:
    #-Link-Snipped-#
    Are you sure? This action cannot be undone.
    Cancel
  • abhishek2342

    MemberJun 23, 2016

    hi guys.i have usbasp programmer and i am trying to burn a new atmega32a chip.but getting an error power on failed.i have put a jumper to select slow clock option in usbasp.and a external oscillator is connected to atmega 32.
    Are you sure? This action cannot be undone.
    Cancel
  • abhishek2342

    MemberJun 23, 2016

    hi guys.i have usbasp programmer and i am trying to burn a new atmega32a chip.but getting an error power on failed.i have put a jumper to select slow clock option in usbasp.and a external oscillator is connected to atmega 32.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register