crait
crait

Reputation: 156

Flash .Hex File To Arduino Via Terminal Without AVRDUDE

If I connect an Arduino board via USB and open the terminal (OS X/Unix) and type in echo something > /dev/tty.usbmodem1411, it would send something to the board through that port. That's pretty cool, but what if I want to flash an entire .hex file? I don't think just echoing the contents would work. Are there any kind of parameters that I would need to use, etc?

Oh, I also do not want to use AVRDude. Without going too much into detail, I won't be able to install AVRDude on the computer I'd need this for.

Sorry if this question doesn't make complete sense. I'm new to Arduino and Unix in general.

Upvotes: 1

Views: 869

Answers (1)

Jeff
Jeff

Reputation: 1362

In order to do this to work with the built-in Arduino bootloader you will need to reverse engineer the protocol used.

Since AVRDude is open source, I would start by looking at the source and determine if you can reduce it to your minimum requirements.

Upvotes: 2

Related Questions