[Solved] MCU got bricked (after upgrading 1.5.2! Need help ASAP!!!!)

Dear all,

the MCU and Linino got bricked after starting the upgrade on 1.5.2!

I upgraded my arduino via ssh by the following comand:

sysupgrade -v -n openwrt-ar71xx-generic-linino-yun-16M-squashfs-sysupgrade.bin

I got the .bin from download.linino.org

But unfortunately the arduino yun stoped working (kind of).
I cant upload Arduino skeches on the MCU, the wifi stoped working and i cant get in via shh on the ethernet port.

My first guesses are, that the mcu bootloader got bricked during the upgrade process and the linino failes during the start process.

I am using my Arduino Yun for a very important school project, so I have to fix this problem ASAP!

Thank you very much for your help :slight_smile:

----------------------------Update-----------------------------------------------------

During my reserach i discovered, that these errors occured independetly. Becaus the MCU got bricked as a reason of a corrupted arduino sketch i have uploaded before doing the sys upgrade over ethernet.

But if you still got a similar problem read the #9 replay.

Langhalsdino

Plase post the output of YunSerialTerminal sketch while the linux side is booting.

Upload the YunSerialTerminal sketch, open the serial moniotr and press the YUN-RST button.

Sorry, i might expressed the situation in a wrong way.

The upgrade process effects the Linux part and the Arduino part, so the computer did not recognise the arduino any more. So I cant upload the Arduino Serial Terminal sketch on the yun!! So there is no way to look inside the linux part of the yun.

Is there a way to fix the arduino part of the yun?

Well, no. sysupgrade -v -n openwrt-ar71xx-generic-linino-yun-16M-squashfs-sysupgrade.binOnly affects the openwrt (ar9331), it doesn't touch the MCU (32u4).

What leds light on the Yun?

When power up the Yun the green "on" and the yellow "wan" led should light, about 1 second later the yellow "rx" led should flash and the "wan" led turn off. 60-90 seconds later the white "usb" led should come on. Does this happen?

Do you see a USB device? For me in linux it shows up under /dev/ttyACMx, in windows 7 it should show up in "devices and printers"

Thank you for your help :slight_smile:

I thought the same way, but on some mysterious way there went something wrong.

But I finaly managed to burn the Yun bootloader on the MCU with a recently bought AVR-ISP.

Now i could upload sketches, like the YunSerialTerminal to the yun and gain acess to the Linino part.

Hopfully i could reset the yun to factory settings.

Langhalsdino

I would definitely use the image at:
YunImage

Dog Hunter and Arduino have followed separate paths. I have not kept up with what Linino has presently so I can't tell you the differences. If you get your Yun to a known state (like running the 1.5.2 release) you could then try linino's releases if wanted but if you have problems you should inquire in their forums.

Thank you,

I will use the image by arduino. I didnt know that they follow different path and since i first came across the Dog Hunter upgrade I used upgrade.

And I am sorry this is the wrong forum i know :frowning:

But I got a diffrent problem. I am stuck in the uboot, because I cant get acess to failsafe mode, ...

[    0.200000] TCP cubic registered
[    0.200000] NET: Registered protocol family 17
[    0.210000] Bridge firewalling registered
[    0.210000] 8021q: 802.1Q VLAN Support v1.8
[    0.210000] turn off boot console early0

Linux got stucked after [ 0.210000] turn off boot console early0.

But i think there are a lot of instructions about the exchange of the linux image via uboot.

Langhalsdino

Dear all,

I followed the detailed instructions to reflash openWRT-Yun by Arduino, but the download process failes after 512 byte.

Does any one of you know how to fix this problem?

I attached a screenshot of the situation.

Langhalsdino

I see solved in the thread title, did you solve the problem?

If yes, can you tell us how? Users can have the same problem and your work may be helpful for them :wink:

I only solved the problem a kind of.

Sorry i wanted to devide the to problems into two threads, couse may later research showed that this problems showed up independently.

Sorry i will correct the topic.

I solved the Problem with the MCU, by simply burn a new bootloader onto the yun.

If you got a similar problem with the MCU, follow the instructions of Sparkfun to burn the yun bootloader on to your yun. (Sparkfun link)

If you got the same problem with the Linux part, so your tftp download fails after 512 Bytes visit this thread ( Arduino Forum )

Langhalsdino