Meh Belly Lint Collection

That awful moment when you realize,
THIS is YOUR circus and THOSE are YOUR monkeys.

User Tools

Site Tools


usbasp_flash

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
usbasp_flash [2025/03/24 21:23] – created kensonusbasp_flash [2025/03/24 21:28] (current) kenson
Line 1: Line 1:
 +BACK TO: [[server_status_oled_display|Server Status OLED Display]]
 +
 +====== USBasp: To firmware upgrade or not? ======
 +
 +
 A lot of these chinese USBasp units are based on [[https://www.fischl.de/usbasp/|Thomas Fischl's design]]. A lot of these chinese USBasp units are based on [[https://www.fischl.de/usbasp/|Thomas Fischl's design]].
  
Line 5: Line 10:
 But they all originally had problems related to clock speed when programming larger micros (A classic example is the ATMEGA2560). Two groups solved the problem independently, the open source folks added a flag to set a specific CLK frequency (that you'd nudge up and down to find the sweet spot) and the chinese wrote a autodetect feature to find the correct CLK frequency automatically, but this fix was never submitted back to the original codebase.  But they all originally had problems related to clock speed when programming larger micros (A classic example is the ATMEGA2560). Two groups solved the problem independently, the open source folks added a flag to set a specific CLK frequency (that you'd nudge up and down to find the sweet spot) and the chinese wrote a autodetect feature to find the correct CLK frequency automatically, but this fix was never submitted back to the original codebase. 
  
-Now, the chinese proprietary version is significantly better than the open version. I found it works more reliably over a broader range of chips as it seems to have more bug fixes for even the latest chips, whereas the open source version has effectively been abandoned for over 6 years.+Nowadays, the chinese proprietary version is significantly better than the open version. I found it works more reliably over a broader range of chips as it seems to have more bug fixes for even the latest chips, whereas the open source version has effectively been abandoned for over 6 years.
  
 You can usually identify the USBasp with the correct chinese firmware by the advertised "AUTOSPEED" in the ad description. You can usually identify the USBasp with the correct chinese firmware by the advertised "AUTOSPEED" in the ad description.
Line 17: Line 22:
 Next the default version of avrdude included by Arduino, at least 2.3.2, may not see the card. The simplest solution is to just download avrdude v8 and extract it into Arduino's avrdude directory, overwriting the stock avrdude.exe. I haven't seen any issues with any other chips using this method. Next the default version of avrdude included by Arduino, at least 2.3.2, may not see the card. The simplest solution is to just download avrdude v8 and extract it into Arduino's avrdude directory, overwriting the stock avrdude.exe. I haven't seen any issues with any other chips using this method.
  
 +The simplest way to find out where Arduino shoves avrdude is by going to "File"→"Preferences" and turning on the checkboxes “Show verbose output during [X] compile [X] upload”, then try to "Upload", the logs will show the path to avrdude.
  
 +BACK TO: [[server_status_oled_display|Server Status OLED Display]]
usbasp_flash.1742851414.txt.gz · Last modified: 2025/03/24 21:23 by kenson

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki