Hi! (I'm completely new to the world of microcontrollers, and have only used the Atmel AVR series using AVRDUDE to flash the chip.)
I've compiled the C program, and now have a .bin-file. How can this be flashed to the Atmel ATSAM3X8E? I'm using Ubuntu, and the Atmel chip is actually situated on an Arduino Due.
I've tried SAM-BA without any luck.
How to flash the .bin to the chip?
Moderator: nferre
- blue_z
- Location: USA
Post
IIRC the DUE has an erase function that is initiated by asserting both Reset and Erase pins (while the board is already powered up). You could then download the binary through the serial port.
Regards
Re: How to flash the .bin to the chip?
Have you tried RTM?50ndr33 wrote:the Atmel chip is actually situated on an Arduino Due.
IIRC the DUE has an erase function that is initiated by asserting both Reset and Erase pins (while the board is already powered up). You could then download the binary through the serial port.
Regards
Post
After skimming through the source of the Arduino IDE it seems they are using SAM-BA for flashing. I'll read a bit more carefully through the source (open sourced on GitHub) and try to do it like they do it. I'll post an update here when (notice the choice of word
) I've figured it out, in case anyone else comes here to find a solution.
Re: How to flash the .bin to the chip?
Is this the Atmel Studio?blue_z wrote:Have you tried RTM?
After skimming through the source of the Arduino IDE it seems they are using SAM-BA for flashing. I'll read a bit more carefully through the source (open sourced on GitHub) and try to do it like they do it. I'll post an update here when (notice the choice of word

Who is online
Users browsing this forum: No registered users and 2 guests