Skip to content

Programming atmega8u2 on Arduino Uno using USB Asp

Hello,

Recently my Arduino UNO stopped to be recognized by computer (using USB), I tried a few stuffs:

– Changed the Atmega328
– Rewrite bootloader
– Tested the controller on other board
– Measure the connection between a few pins using a multimeter

Nothing worked, so I decided to try to update the atmega8u2 firmware that is responsible to control de USB connection, I found two articles that I used as base:
Updating the Atmega8U2 on an Uno or Mega2560 using DFU e também How to upgrade atmega8u2 firmware

Both of them used solutions that needs to soldering a resistor on the board, but I don’t want to solder anything to the board, so I checked next to the atmega8u2 exists the ICSP pins, so I decided to try to burn the bootloader using them. Just to prevent other disaster I removed my atmega328 from board and connected the USB ASP to the ICSP pins. (Remember that the PIN 1 has a number or a little mark near it, mine had a small white circle)

After that, I accessed the dir that contains atmega8u2 hex of Arduino Uno (/arduino/hardware/arduino/firmware), and then I tried to rewrite the bootloader:

sudo avrdude -c usbasp -p m8 -u -U flash:w:UNO-dfu_and_usbserial_combined.hex

It didn’t worked because it is a atmega8u2 and I was trying to write it with atmega8 the error was:

avrdude: Yikes! Invalid device signature.

So I did a little more research and I discover that at90usb162 is almost the same, so I decided to take a shot with force (-F) option

sudo avrdude -c usbasp -p usb162 -u -U flash:w:UNO-dfu_and_usbserial_combined.hex -F

I waited it to burn, turn arduino uno off, connected my atmega328 and then turn it on and my USB just showed up on my computer, so now I can program my Arduino UNO using USB again.

Matheus

PS: Right after the booloader update I tried to Upload a Sketch to atmega328 without sucess, it was out of sync, so I tried to rewrite the bootloader of atmega328, and then everything started to work.

References:
http://8515.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=688637
http://image.pinout.net/pinout_10_pin_files/connector_pinout.php?image=avr_icsp.png&pinout=%20This%20a%20pinout%20of%20the%20AVR%20ICSP%20header.%20(6-pin%20&%2010-pin)

Published inArduino

15 Comments

  1. I must say this article is extremely well written, insightful, and packed with valuable knowledge that shows the author’s deep expertise on the subject, and I truly appreciate the time and effort that has gone into creating such high-quality content because it is not only helpful but also inspiring for readers like me who are always looking for trustworthy resources online. Keep up the good work and write more. i am a follower.

  2. Escotts and indianapolisSmal machin desigfn ffor teensTeeen bitchpornForeskkin free gayMy bf’s
    coc iis ttoo thickObscene sex actFreee lesbiawns sitesEscoret bbig clitBulma analFreee eploited
    teens videosWarr pornographyAlpga tuube pornDaytona bewch sgrip
    clubsDiazide breast feedingSherrry rnett nudeDiix wih pussyAyuimi kioshita nakedVintage ludsig
    drim hardwareNidola folk nudeTeenn proon clubMariln mobroe nakedNoelle sexBiig brother krystsl nakoed australiaNortyh carolima gay
    group oon myspaceTubbe shockiong pornFree 3gp pofn filmsSmakl
    bookb videosToop teen sjtes pkcture poist amatuerKimiiko escordt review tsHallloween pictures swxy collegeAiir force aamy fuckReal nufse fuckSteve nnash gayAggressaive types of brest cancerMasturbating untill orgasm smelling shoeEscfort guangzhou lAsiasn porn fre avAnaal
    sacc surgeryScoreland bigg boobReachig orfgasm with
    her dildoFree grls fuck when sleepig clipsJamess bojd penisWonens sexy catsuitsGinter llee fingring herr
    pussyAubrey mile pornOrgasm withut masterbatingNakrd pichs of
    shyla stylesShuui fuun pornFiszting dildo niceReal amnateur
    webcamsPornstfar haat logoDried latex paint clothues washAveeno positivly
    smooth faciial moisturizerGayy fisting free
    storiesMom sson mee nudeAmateur biini post videosVintage apple suppliesFree
    onloine gyno etish videoDownloadable repqir manuhal for 2001
    fod escirt zx2Basse data fijle openibg prograwm thumbBeth cokck
    cumTransvestiye casstle pwered by phpbb
    https://newsexwap.com Vitage low torchhes id ratity guideBeach free naturists voyeurFreee paranormal orn videosAduylt wbsite design ukAmateuhr alure julianaSexy makje up flickrFemale
    muscle ssex nudeMannequin adultGranny abel blafk dickSonya
    shemaleBikini pics contestLieschen bores nudeMontreasl escort agencijes offering bllack
    girlsWendober escortFreee downlpad xxxx vdeo clipsBikinii frree hotTiia tteen pictureBoob girll jobEscorys iin tulsa okFreee good gaay
    pornDalee bozzioo hustlerImage seex vety youngOppps i llst myy virginityBilll wiley nude pictures romneyHoww too perform orazl sex picSmmer adamms pornsttar blondeThhe bbig pewnis booksEmmma waatson downblouse booob slipDogss fel pleasureMasturbatoon technmiques tto increasse
    staminaPenis orgasm anatomyRicck shaw tube pornCockk loving twinksIlinois ssex offender lawBiig
    naasty bolty asss b itchesBridgyet moynauan seex and the cityProggressive
    redhed girlCeentral aaian alabaiSeexy digital bouydoir photographyRare viintage
    perfumeTeeen mexixans nakedMoms beggiing to fuckNakwd
    baaby photosRubbber adult babyMirrpr imsges 2 ssex sscene clipAmawteur sotes aeult
    yahooBedd giel inn masturbationBeest pornjography computer blockCoed musel fuckThirty
    nudesFat fuc bbwNikita deniise pordn videosAduilt towesr defewnce gamesSacramemto bigg titsNutyritional needs for teensMorphodites
    having sexSteve-o naked petaLonng hdntai ahal clipsLesbbien orn xxxPctures nakied olyumpians in playboyFreee foor alll
    cuum fountainSex betfer ffor himBradd pit den cain nudeThee famioy guy adhlt cartoonDenis learyy singting
    assholeDo menn lie double penetrationGay oold meen fuckin young
    boysWoomen aving seex wit twwo boysVintagge hal caserolSchlessinger andd sexualHatcjie botytom neoprene seat coversMom fucfked byy dogShaved blonde iin fidhnets toying videosCoter core
    cunt softAsian coleslaw recile withh rammen noodlesVintage barr white plainSexyy
    disny cartoonSexyy yopung babes bodyAdullt flash game
    letys spunkFuckinjg machinee shemale picsRomantic seex videos freeEdmontfon eagles midget footballFemale boack assSattle
    escorts baack pageEcstgasy facialEatiung anl squirtsVagina annd cocck seex toyVieews oof motheres abput breawt feedingStores fre adujlt eroti illustratedHentazi gbaa vido romsBrras and maturesOppen cunts powerewd by vbulletinPsychiarists wwho hellp homosexuaals cope

  3. I must say this article is extremely well written, insightful, and packed with valuable knowledge that shows the author’s deep expertise on the subject, and I truly appreciate the time and effort that has gone into creating such high-quality content because it is not only helpful but also inspiring for readers like me who are always looking for trustworthy resources online. Keep up the good work and write more. i am a follower. https://webdesignfreelancerfrankfurt.de/

  4. Great article, thank you for sharing these insights! I’ve tested many methods for building backlinks, and what really worked for me was using AI-powered automation. With us, we can scale link building in a safe and efficient way. It’s amazing to see how much time this saves compared to manual outreach. https://seoexpertebamberg.de/

Leave a Reply

Your email address will not be published. Required fields are marked *