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

Ғылым және технология

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=19272e2
Original Design and Firmware: www.fischl.de/usbasp/
AVRdude information: www.ladyada.net/learn/avr/avr...
AVRdude Fuse Calculator: www.engbedded.com/fusecalc/
More AVRdude information: www.nongnu.org/avrdude/user-m...
Retro Chip Tester Pro: 8bit-museum.de/sonstiges/hard...
I really appreciate the donations and support I get from my Patreon Supporters and KZread Members, donations really do help me to make content for the channel and buy broken test gear, this hobby gets expensive !: defs.link/?u=fcb3a1
#TheDefpom
#ElectronicsCreators
#USBasp
#Repair
#Electronics
#avrdude
#AVR
#Defpom
▶ Subscribe: defs.link/?u=ffa106
Click the Bell Icon to get notifications about my future videos!
Affiliate links: (Bookmark and buy using them)
▶ Aliexpress: defs.link/?u=551ec48
▶ Kaiweets: defs.link/?u=fe6d010
▶ Amazon Store: www.amazon.com/shop/thedefpom...
▶ Banggood: defs.link/?u=5d46ae
▶ 👕👚🎽☕ Merchandise: teespring.com/stores/TheDefpom
Donate so I can make more videos for you:
▶ Become a Patreon!: defs.link/?u=fcb3a1
▶ Become a KZread Member: / @thedefpom
▶ PayPal Donations: defs.link/?u=b099ee
▶ My Odysee channel: odysee.com/@TheDefpom:fa
▶ My Bitchute channel: www.bitchute.com/channel/TheD...
▶ My Utreon channel: utreon.com/c/TheDefpom
▶ 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.co.nz
▶ My Twitter: / thedefpom
▶ My Thingiverse for 3D printed replacement test equipment parts: defs.link/?u=0347b1
====================
My Electronics Tools (video and purchase links)
====================
Kaiweets KTI-W01 Thermal Camera: defs.link/?u=9af6f63 (discount code: Defpom15)
UNI-T UTi260B Thermal Camera: defs.link/?u=f3283d7 (discount code: BG45411)
KSGER T12 Soldering Iron: defs.link/?u=620ace defs.link/?u=5c112e
Quick 861DW: defs.link/?u=138c0f defs.link/?u=a3fc81
Pro'skit SS-331 Desoldering Station: • 🔴 ProsKit SS-331 Desol...
Uni-T UT210E: defs.link/?u=391ce3 defs.link/?u=ea4edc
DER DE-5000: defs.link/?u=0d9160 defs.link/?u=12d498
MK-328: defs.link/?u=0d9160 defs.link/?u=739ee7
MESR-100: defs.link/?u=0d9160 defs.link/?u=009419
ESR Meter: defs.link/?u=0d9160
HS1010: defs.link/?u=10c699

Пікірлер: 17

  • @AnnaVannieuwenhuyse
    @AnnaVannieuwenhuyse14 күн бұрын

    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
    @bblod489614 күн бұрын

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

  • @douro20
    @douro2014 күн бұрын

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

  • @IanScottJohnston

    @IanScottJohnston

    14 күн бұрын

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

  • @TheEmbeddedHobbyist
    @TheEmbeddedHobbyist14 күн бұрын

    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

    14 күн бұрын

    @@TheEmbeddedHobbyist Ha ha ha.

  • @IanScottJohnston

    @IanScottJohnston

    14 күн бұрын

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

  • @bblod4896

    @bblod4896

    14 күн бұрын

    @@IanScottJohnston 😂🤣😂

  • @originalmianos
    @originalmianos14 күн бұрын

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

  • @TheDefpom

    @TheDefpom

    14 күн бұрын

    @@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.

  • @arnolduk123
    @arnolduk12312 күн бұрын

    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

    5 күн бұрын

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

  • @orion310591RS

    @orion310591RS

    3 күн бұрын

    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.

  • @feedback-loop
    @feedback-loop13 күн бұрын

    Everything is obvious once you know the answer

  • @TheDefpom

    @TheDefpom

    13 күн бұрын

    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

    3 күн бұрын

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

Келесі