Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem Arduino Yun bootloader and PlatformIO #712

Closed
nautilus525 opened this issue Jul 4, 2016 · 3 comments
Closed

Problem Arduino Yun bootloader and PlatformIO #712

nautilus525 opened this issue Jul 4, 2016 · 3 comments
Assignees
Labels
Milestone

Comments

@nautilus525
Copy link

nautilus525 commented Jul 4, 2016

Dear PlatformIO team:

When I download in Yun board a .cpp including SoftwareSerial.h or AltSoftwareSerial.h libraries, some times I obtain the following Error message:

Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding 
icons: +++ [upload] Error 1

And another times, the result is success but when I open the Serial Monitor, it begins correctly but after some second it crashed, showing the following messages:

Exception in thread rx:
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Library/Python/2.7/site-packages/serial/tools/miniterm.py", line 403, in reader
    data = self.serial.read(self.serial.in_waiting or 1)

  File "/Library/Python/2.7/site-packages/serial/serialposix.py", line 505, in read
    raise SerialException('read failed: %s' % (e,))
SerialException: read failed: [Errno 6] Device not configured

Same result if I launch Terminal instead of Serial Monitor.

The worst is that the Yun bootloader has been removed and the board is not recognized anymore.

A workaround to recovery the board was to use Arduino IDE and download any Yun sketch using the WiFi port (it downloads both, the sketch and the bootloader too) ... but I can not use PlatformIO and I love it!

Please, I’ll appreciate any help, this configuration/workaround is not very convenient …

Thanks in advance,

Joaquin

@ivankravets ivankravets modified the milestone: 2.11.1 Jul 4, 2016
@ivankravets ivankravets self-assigned this Jul 4, 2016
@ivankravets
Copy link
Member

Please replace the contents of ~/.platformio/tool-avrdude with the files located in this archive:

Did it resolve the issue?

@nautilus525
Copy link
Author

I'm impressed! Fixed up!
I copied the new files in /home/.platformio/packages/
I have done various test cases and now it works perfectly.
Great! Thank you very much.

@ivankravets
Copy link
Member

Thanks a lot that reported. We will release new version as soon as possible.

ivankravets added a commit that referenced this issue Jul 18, 2016
* develop:
  Update docs for Teensy USB Features // Issue #722
  Implement Teensy 2.0 USB functionality (HID, SERIAL_HID, DISK, MIDI, etc.) // Resolve #722
  Add support for Pinoccio Scout board // Resolve #52
  Fix broken LD Script for Element14 chipKIT Pi board // Resolve #725  Resolve #726
  Fix USB flags processing for teensy platform // Issue #722
  Add Pinoccio board // Issue #52
  Minor improvements for CLion docs
  Improved docs for integration with CLion IDE
  Version bump to 2.11.1 (issues #472, #629, #710, #711, #712, #713, #718)
  Typo fix
  Add "udev" rules for OpenOCD CMSIS-DAP adapters // Resolve #718
  Update history
  Ignore "[platformio]" section from custom project configuration CI
  Bump to 2.11.1b1
  Add Arduino M0 Pro and Tian to the examples // Issue #472
  Fix issue when `pioenvs` folder doesn't exist
  Add more info about `.pioenvs` directory
  Improve CMSIS selection for SAMD21 boards
  Improve support for SAMD21 based boards
  Add contributing guidelines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants