Removing Bootloader/Burning with USBTinyISP on Arduino YUN

Hi there,

So I'm a marine biologist not a programmer so please take that into account here...have mercy on my adequate, but not superior programming skills.

I'd really love to use the YUN for a project I currently have running on my Arduino UNO, so I can post data "real-time" to an online spreadsheet and monitor the project remotely. Unfortunately with the 4K boot loader and the need to use the Bridge.h library the space available on the YUN is not enough for my current code. I have gone through my code to try to reduce its size using some standard methods (all variable are specified properly (byte vs int vs float), serial printing char(), etc.) and I still can't get there.

First question

  1. Can I get similar online, realtime plotting/logging of data using a wifi shield/breakout board on an Arduino UNO? Could I connect to Temboo or some other service to make real-time data plots available online or does that ability really come from the Linux side of the YUN?

So, now I am contemplating removing the boot loader and loading my sketch using a USBTInyISP (I have one already and I have AVRdude up and running). I have spent quite a while putting together as much information as I can on how to do this properly, to try to avoid bricking the YUN, but I have a few questions, some of which are just for assurance that I have interpreted all my online reading correctly.

  1. Do I have to remove the boot loader, or simply by uploading from the USBTinyISP will I "overwrite" it? If I have to remove the boot loader is there a basic method for doing that? I'm on MacOSX.

  2. I plan to compile the sketch using the Arduino IDE (verify, not upload) and then find the hex.code and upload that using AVRdude and the USBTinyISP. Do I have to worry about fuses? I've read about specifying those, but does that apply only for new ATMEGA chips, rather than this case where I am using previously programmed YUN?

  3. Is it necessary have to go into the board.txt file, make a new YUN board file, and change the maximum size? I'm not sure where this information is used and if using AVRdude bypasses this requirement, but I suspect that because I am compiling the HEX within the IDE I need to make this change.

  4. Are there other important things I should know or be careful with when doing this? I obviously want to avoid bricking the YUN. I have done a lot of reading online, but everything is scattered and many topics don't apply to my specific situation. Is there a good tutorial for this process? I found the older ladyada description (AVR Tutorial - AVRDUDE) and for the most part I will follow that, but it does appear to be directed at programming new chips, rather than reprogramming an Arduino board.

I appreciate any assistance, advice, or direction to other resources.

Thank you,
Nate