Go Down

Topic: help with Bash script (Read 720 times) previous topic - next topic

kilam

Hi there,

I'm pretty new at this.

I have these commands for one step flashing:


avrdude -c avrispmkII -p m32u4 -Pusb -Uflash:r:flashdump.hex:i

avrdude -v -v -v -v -patmega32u4 -cstk500v2 -Pusb -Uflash:w:/flashdump.hex:i -Ulock:w:0x2F:m


I'm trying to figure out how to make these into a bash script (with no or little parameters) can someone here please help me out. I have looked at the bash script guides but they make little sense to me.. since I am so new.

thanks

PaulS

Quote
I'm trying to figure out how to make these into a bash script

Why? You can't run bash scripts on the Arduino.

If you have a strictly bash question, a bash forum would be a better choice. I don't imagine that you ask Arduino questions there, do you?

kilam

sorry if it offended you. like i said. im very new at all of this and since it's run through the arduino i figured i would ask here.

PaulS

Quote
im very new at all of this and since it's run through the arduino

The bash script is not "run through the Arduino".

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy