Author Topic: Anyone Use Avrdudess and/or Arduino IDE 1.8.13  (Read 1388 times)

0 Members and 1 Guest are viewing this topic.

Online bostonmanTopic starter

  • Super Contributor
  • ***
  • Posts: 2326
  • Country: us
Anyone Use Avrdudess and/or Arduino IDE 1.8.13
« on: April 29, 2021, 12:58:47 am »
I came across a website that gives a good (and simple) tutorial on updating the firmware on my Anet A8 3D printer (https://01001000.xyz/2020-08-06-Updating-Firmware-Anet-A8-Board-1.7/).

With the exception of projects at work, I've never updated firmware for personal stuff; or worked with an Arduino. My question is whether anyone has experience with the Avrdudess that can confirm it's not dangerous software that installs a virus.

As for the Arduino IDE, I'm assuming this is a legit program, but wanted to know the same and whether it's safe to use.

Any input will be appreciated.

 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 3439
  • Country: us
Re: Anyone Use Avrdudess and/or Arduino IDE 1.8.13
« Reply #1 on: April 29, 2021, 01:19:36 am »
avrdudess simply builds the command line arguments to pass to avrdude.

In the case of updating the Anet firmware, that page only uses avrdude to backup the existing firmware, and it gives you the command line arguments you should use:

Code: [Select]
avrdude -c usbasp -p m1284p -U flash:r:aneta8-flash.bin:r

To upload the new firmware it suggest that you compile and upload it with the Arduino IDE -- so there's no need for you to run avrdude directly.

The Arduino IDE contains a copy of the avrdude binary, so you have it already if you have the Arduino IDE installed. Look in arduino-X.Y.Z/hardware/tools/avr/bin. This page gives and example of running it from the Arduino IDE installation:

https://www.asensar.com/guide/arduino_atemlstudio/program-arduino-with-avrdude.html

 

Online bostonmanTopic starter

  • Super Contributor
  • ***
  • Posts: 2326
  • Country: us
Re: Anyone Use Avrdudess and/or Arduino IDE 1.8.13
« Reply #2 on: April 29, 2021, 02:28:41 am »
This is a help.

I will probably backup the existing firmware, so I'll use Avrdude.

I need to understand the difference between Marlin 2.0.7.2 and the one referenced in the link I provided which is bugfix1.1x.

Other than that, I think his write up is quite nice and much more simple than the ones I've seen.
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9985
  • Country: us
Re: Anyone Use Avrdudess and/or Arduino IDE 1.8.13
« Reply #3 on: April 29, 2021, 02:16:47 pm »
Is the device a 'real' Arduino or at least a replaceable 28 pin chip?  If so, I wouldn't upgrade the existing device, I would replace it with another.  It's always nice to have a back trail.

I'm thinking that if the device uses something like an Arduino UNO with some kind of shield, it is pretty easy to get another UNO to experiment with.
 



Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf