codebndr / Ariadne-Bootloader

A little less unfinished TFTP bootloader for Arduino Ethernet or Arduino with Ethernet Shield
codebender.cc
97 stars 37 forks source link

Ethernet transfer fails for cloud flashing when SD card is inserted #8

Closed solarbanjo closed 11 years ago

solarbanjo commented 11 years ago

I had been successfully remote flashing my arduino ethernet via the "cloud flash" capability of codebender.

At some point, I was no longer able to load sketches; roughly 49 out of 50 times it would simply fail with the "Cloud Flash failed" message. I also noticed that the transmit LED on the board appeared to be lighting up much less frequently than I remembered.

After some fiddling, I removed the 4GB SD card and suddenly things started working again. I can replicate this behavior consistently: card in = fail, card out = success.

Thanks for any help!

loathingKernel commented 11 years ago

This is happening with an Arduino Ethernet or an Ethernet Shield?

solarbanjo commented 11 years ago

This is happening on the Arduino Ethernet, not the shield.

loathingKernel commented 11 years ago

I have just tested some changes and this should be fixed now. I tested with an ethernet shield and an Arduino Uno. I was able to successfully upload both with and without an SD card. It might take sometime for the fix to be uploaded in github as the changes are part of the Mega branch. I will leave this bug report open until you can also test the changes.

loathingKernel commented 11 years ago

You may test the new version in this branch: https://github.com/codebendercc/Ariadne-Bootloader/tree/mega It should have been fixed now.

solarbanjo commented 11 years ago

I was able to repeatably load sketches to the arduino ethernet with the sd card installed. It looks like everything works great now. Thanks so much for taking care of this!