🔴 How To Update USBasp Firmware On MacOS To Fix AVRdude Warning - No.1262

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • How To Upload A HEX File On MacOS Using AVRdude
    I show how to upload a precompiled binary HEX file on MacOS using the terminal and the Arduino IDE.
    I managed to update the firmware on my Retro Chip Tester Pro on MacOS using this menthod.
    I first had to update the firmware of my USBasp programmers, the process is exactly the same as for updating any other device with a HEX firmware file.
    Example of the line grabbed from Arduino IDE console to get base information:
    /Users/scott/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude -C/Users/scott/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf -v -p atmega2560 -c usbasp -P usb -U flash:w:/var/folders/9x/yrvcl75n0ms1scnfk_0fx5g40000gn/T/arduino_build_751158/sketch_jun17a.ino.hex:i
    Example of the line to update the firmware of USBasp devices:
    /Users/scott/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude -C/Users/scott/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf -v -p m8 -c usbasp -P usb -U flash:w:/Users/scott/Downloads/usbasp.2011-05-28/bin/firmware/usbasp.atmega8.2011-05-28.hex:i
    Example of the line used to update th firmware of the ATMEGA2560 on the Retro Chip Tester Pro:
    /Users/scott/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude -C/Users/scott/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf -v -p atmega2560 -c usbasp -P usb -U flash:w:/Users/scott/Downloads/Retro\ Chip\ Tester\ Pro/upload_1.0_pro_v0.27_beta2/Chip-TesterPro-FW-v0.27.hex:i
    Resources:
    USBasp ISP AVR Programmers (get the adaptor version, and get TWO, you'll thank me): defs.link/?u=1...
    Original Design and Firmware: www.fischl.de/...
    AVRdude information: www.ladyada.ne...
    AVRdude Fuse Calculator: www.engbedded....
    More AVRdude information: www.nongnu.org...
    Retro Chip Tester Pro: 8bit-museum.de...
    I really appreciate the donations and support I get from my Patreon Supporters and RUclips Members, donations really do help me to make content for the channel and buy broken test gear, this hobby gets expensive !: defs.link/?u=f...
    #TheDefpom
    #ElectronicsCreators
    #USBasp
    #Repair
    #Electronics
    #avrdude
    #AVR
    #Defpom
    ▶ Subscribe: defs.link/?u=f...
    Click the Bell Icon to get notifications about my future videos!
    Affiliate links: (Bookmark and buy using them)
    ▶ Aliexpress: defs.link/?u=5...
    ▶ Kaiweets: defs.link/?u=f...
    ▶ Amazon Store: www.amazon.com...
    ▶ Banggood: defs.link/?u=5...
    ▶ 👕👚🎽☕ Merchandise: teespring.com/...
    Donate so I can make more videos for you:
    ▶ Become a Patreon!: defs.link/?u=f...
    ▶ Become a RUclips Member: / @thedefpom
    ▶ PayPal Donations: defs.link/?u=b...
    ▶ My Odysee channel: odysee.com/@Th...
    ▶ My Bitchute channel: www.bitchute.c...
    ▶ My Utreon channel: utreon.com/c/T...
    ▶ Test Equipment Repair Videos: • Test Equipment Repair,...
    ▶ Electronics & Repair Videos: • Electronics & Repairs
    ▶ Review & Teardown Videos: • Teardown & Reviews
    ▶ Mailbag / Postbag Videos: • More Mailbag Videos
    ▶ Electronics Projects Videos: • Electronics Projects
    ▶ Apple Repair Videos: • Apple Repairs
    ▶ CB & HAM Radio Videos: • CB & HAM Radio Repair ...
    ▶ My website: www.TheDefpom....
    ▶ My Twitter: / thedefpom
    ▶ My Thingiverse for 3D printed replacement test equipment parts: defs.link/?u=0...
    ====================
    My Electronics Tools (video and purchase links)
    ====================
    Kaiweets KTI-W01 Thermal Camera: defs.link/?u=9... (discount code: Defpom15)
    UNI-T UTi260B Thermal Camera: defs.link/?u=f... (discount code: BG45411)
    KSGER T12 Soldering Iron: defs.link/?u=6... defs.link/?u=5c...
    Quick 861DW: defs.link/?u=1... defs.link/?u=a...
    Pro'skit SS-331 Desoldering Station: • 🔴 ProsKit SS-331 Desol...
    Uni-T UT210E: defs.link/?u=3... defs.link/?u=e...
    DER DE-5000: defs.link/?u=0... defs.link/?u=1...
    MK-328: defs.link/?u=0... defs.link/?u=7...
    MESR-100: defs.link/?u=0... defs.link/?u=0...
    ESR Meter: defs.link/?u=0...
    HS1010: defs.link/?u=1...

Комментарии • 18

  • @AnnaVannieuwenhuyse
    @AnnaVannieuwenhuyse 2 месяца назад

    I love these little things. They're versatile as programmers for just about anything as long as you know how to use the correct C libraries for the microcontroller. You can have them realtime translate stuff sent over USB to text for an I2C LCD, for example! :)

  • @bblod4896
    @bblod4896 2 месяца назад +1

    I think in your past life, you were Noah. Why? You order two of everything 😂

    • @altosack
      @altosack 2 месяца назад

      I bet he orders seven of _some_ things…

  • @douro20
    @douro20 2 месяца назад +1

    You can program one with an Arduino. But I guess it's just easier to program it with another.

    • @IanScottJohnston
      @IanScottJohnston 2 месяца назад

      And the ISP connector on the side of a Dataman 40Pro.

  • @arnolduk123
    @arnolduk123 2 месяца назад

    So I guess that you should update the firmware with a programmer that has the "non buggy" firmware installed, otherwise you could brick your device. How would you find what version was installed on the programmer >?

    • @TheDefpom
      @TheDefpom  Месяц назад

      It seems ok to do what I did, the bug only seems to affect certain use cases.

    • @orion310591RS
      @orion310591RS Месяц назад

      You need another programmer, and then download all firmwares, and try :v: for verification. If it fails verification its not that firmware on chip. So eventually you find out which one match.

  • @originalmianos
    @originalmianos 2 месяца назад

    Didn't I see this already? Re-uploaded or some tweaks?

    • @TheDefpom
      @TheDefpom  2 месяца назад

      @@originalmianos this was part of a different video, I split it out and changed some bits to cover the firmware update of the programmer by itself.

  • @TheEmbeddedHobbyist
    @TheEmbeddedHobbyist 2 месяца назад +1

    The last time I tried to flash anything in a Mac, I got arrested.
    My luck at doing a successful flashing was so bad I think somebody put a HEX on ME. 🙂

    • @bblod4896
      @bblod4896 2 месяца назад

      @@TheEmbeddedHobbyist
      Ha ha ha.

    • @IanScottJohnston
      @IanScottJohnston 2 месяца назад +2

      Why don’t Mac users flash their chips at parties…….because they are too worried about exposing their bits.

    • @bblod4896
      @bblod4896 2 месяца назад

      @@IanScottJohnston
      😂🤣😂

  • @feedback-loop
    @feedback-loop 2 месяца назад

    Everything is obvious once you know the answer

    • @TheDefpom
      @TheDefpom  2 месяца назад

      Indeed, this is why I made the video as it took a bit for me to find out how to do it on macOS.

    • @orion310591RS
      @orion310591RS Месяц назад

      @@TheDefpom But why? AVRdude has documentation I think, and also in windows i have to use CMD terminal to paste/type commands.