Saleh Khademi
Saleh Khademi

Reputation: 25

how to read hex file from arduino using USB port?

i have a programed arduino board (mega2560) and i want to read hex file from this, but i cant reach to ICSP port. Is there any way to read hex or binary file from an arduino board using USB or Rx/Tx port??

Upvotes: 0

Views: 2196

Answers (2)

Hossam Soffar
Hossam Soffar

Reputation: 96

You need to read more about avrdude: using this command you can download the hex into your machine it should be some thing as follow
avrdude -p m1280 -c stk500 -e -U flash:w:xxxxx.hex

Upvotes: 1

TimeString
TimeString

Reputation: 1798

Hi I should use comments but I don't have that privilege... I guess maybe you need to rephrase or break down your question. First, what is the source? Are you reading a file from your desktop/laptop? Second, I'm not sure what do you mean by hex file, Third, which port is the input for Arduino? ICSP or USB Tx/Rx?

Upvotes: 0

Related Questions