Yeah, so I'm trying to re-flash the bootloader onto my RazorIMU (which I've done successfully plenty of times before). For another project I'm developing, it was necessary to create of version of the ArduinoISP code which didn't use hardware SPI. I have another topic about that, it's not the focus of this discussion. Unfortunately, while testing that, I overwrote the signature bits on the Razor, and now I can't re-flash the boot loader correctly. Before anybody asks, yes, I did use a continuity checker to make sure that everything was connected properly (it was), and I've used this exact setup to flash the bootloader before with success in the past. I could be wrong, maybe I haven't actually over written the signature bits, but in any case, I'm getting this error:
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
Is it possible to set commandline arguments in the Arduino IDE? (A google search says no it isn't, but maybe it's a recent change, or maybe one of you guys knows a sneaky way to do it.) Failing that, does anybody know how I could use the command line to re-flash a bootloader onto the razor using the regular, original ArduinoISP sketch in conjunction with an Uno board that I have (or a regular stand-alone ISP, I have both at my disposal). Is it a good idea to set the -F flag, or could that just make things worse? I have another Razor I can continue testing with, but I don't want to take the chance that I'll brick that one as well, and end up ruining both of them beyond my abilities to repair them.
Thanks for any help you can offer.
EDIT:
Thanks for moving this to the correct area. That was a total accident.