'avrdude' on ODROID-C4

Post Reply
User avatar
tobetter
Posts: 8434
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 490 times
Been thanked: 1332 times
Contact:

'avrdude' on ODROID-C4

Post by tobetter »

I had a chance to run 'avrdude' to flash my 3D printer board which has ATMEGA1284P, I had used Arduino earlier but this time using ODROID-C4. The problem is that official 'avrdude' in Debian/Ubuntu is very old and not supporting linuxspi. Therefore I've changed its code and uploaded to my Github. You can compile the source code to use it or install avrdude if you use my custom Debian/Ubuntu image.
https://github.com/tobetter/avrdude/commits/master

Refer to the picture for wiring to flash.
Ender-3_SPI_flashing.png
Ender-3_SPI_flashing.png (110.35 KiB) Viewed 385 times
These users thanked the author tobetter for the post (total 2):
L67GS (Mon Feb 15, 2021 7:32 am) • hominoid (Mon Feb 15, 2021 9:40 am)

User avatar
rooted
Posts: 8736
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 377 times
Contact:

Re: 'avrdude' on ODROID-C4

Post by rooted »

Thanks for the share.

L67GS
Posts: 600
Joined: Wed Apr 22, 2020 3:02 pm
languages_spoken: English, Jibberish, Pig Latin
ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
Location: Great Lakes Region, U.S.A
Has thanked: 163 times
Been thanked: 83 times
Contact:

Re: 'avrdude' on ODROID-C4

Post by L67GS »

I don't know what's more amazing, that you just did it or that you post it so casually like it's no big deal.

User avatar
rooted
Posts: 8736
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 377 times
Contact:

Re: 'avrdude' on ODROID-C4

Post by rooted »

L67GS wrote:I don't know what's more amazing, that you just did it or that you post it so casually like it's no big deal.
There are quite a few modest developers around here, it's great to have them also.

hieppo
Posts: 3
Joined: Wed Oct 13, 2021 4:50 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: 'avrdude' on ODROID-C4

Post by hieppo »

Hi, is there an image or instructions to complile avrdude for the C2.

User avatar
mctom
Posts: 518
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: N2+, Game Advance, a few XU4
Location: Gdansk, Poland
Has thanked: 50 times
Been thanked: 49 times
Contact:

Re: 'avrdude' on ODROID-C4

Post by mctom »

The building part is probably the same as everywhere, something like:

Code: Select all

./configure
make
make install
I'd rather ask if it will work on C2 in the first place (is it pin compatible with C4)
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: No registered users and 1 guest