avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can I use avrdude to flash an Arduino Due?


From: Sadeep Madurange
Subject: Can I use avrdude to flash an Arduino Due?
Date: Thu, 22 Aug 2024 16:12:15 +0800

Hello,

Can I use avrdude with Arduino Due (ARM Cortex M3 processor) to flash C
programs?

I compiled the program using the following commands. I'm wondering how
to get the program onto the board now.

$ arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -o a.elf main.c
$ arm-none-eabi-objcopy -O ihex -j .text -j .data a.elf a.hex

Tried the following, but the parts are not recognized.

$ avrdude -c arduino -p cortex-m3 -v -b 115200 -U flash:w:a.hex
$ avrdude -c arduino -p atmel_sam3x8e -v -b 115200 -U flash:w:a.hex

Please cc me in the reply. I'm not a member of the list.

-- 
Sadeep Madurange
PGP: 103BF9E3E750BF7E



reply via email to

[Prev in Thread] Current Thread [Next in Thread]