Help with flashing serial firmware #101
-
First time working with avrdude here. I need a little help, I understand that if there is a bootloader on this thing than I can flash with an FTDI cable...is there? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 8 replies
-
There is no bootloader so you need an AVR programmer. Some info here Also here Windows sample file to flash I do need to upload my linux script, but this will get you started, this is for the Pololu AVR programmer. If you comment/enable the respective lines it should work
|
Beta Was this translation helpful? Give feedback.
-
I think I need to do something with the clock speed according to (#49)? |
Beta Was this translation helpful? Give feedback.
-
Turns out I could set 1 fuse and then nothing else...but that is remembered at reboot. So I just unplugged the USBasp and plugged it back in and proceeded to the second fuse, the third and finally the flash. It works now :) I ended up doing the whole thing on a rPi4 under rasbian OS and used your second script...but manually typed. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to update the flash on my megadesk to provide the serial support needed for megadesk. I've tried using a buspirate as well as a usbASP to do the programing and I've soldered header pins on the the megaboard (v4) also to make this simpler. I've validated the usbASP is functional by programming using the same header into an old Arduino Mega Pro. I've tried all combinations/variations to even set the fuses ... this is the error I'm receiving. I'm going to try another computer next.
avrdude.exe: Version 6.3, compiled on Feb 17 2016 at 09:25:53
avrdude.exe: set SCK frequency to 500 Hz |
Beta Was this translation helpful? Give feedback.
-
Looks like I’ll be ordering another unit…
Might see about ordering another tiny 841 for this one for potential recovery also.
Re
Francois
19 Oct 2023 at 06:10 by ***@***.***:
…
Removing the IC is probably safest, but will require soldering skills. I'm not sure on the high voltage programming method and if it is safe to do so while it's in-circuit.
—
Reply to this email directly, > view it on GitHub <#101 (reply in thread)>> , or > unsubscribe <https://github.com/notifications/unsubscribe-auth/ABKKDUB67PRALQRQ3OBLKNDYAAZUHAVCNFSM5THQXQJ2U5DIOJSWCZC7NNSXTOKENFZWG5LTONUW63SDN5WW2ZLOOQ5TOMZRHE3DKNY>> .
You are receiving this because you commented.> Message ID: > <gcormier/megadesk/repo-discussions/101/comments/7319657> @> github> .> com>
|
Beta Was this translation helpful? Give feedback.
Turns out I could set 1 fuse and then nothing else...but that is remembered at reboot. So I just unplugged the USBasp and plugged it back in and proceeded to the second fuse, the third and finally the flash. It works now :) I ended up doing the whole thing on a rPi4 under rasbian OS and used your second script...but manually typed.