Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No upload - IDE X.4 r745 - Mac OSX 10.11.1 - 18F2550
30-11-2015, 06:49 PM,
#1
No upload - IDE X.4 r745 - Mac OSX 10.11.1 - 18F2550
Hello I've been working all morning trying to install the pinguino in MAC OSX "El Capitan" and finally was able to. Now I have a problem when I set the board to bootloader mode I hit upload after compiling the "Blink without timer" example and I get this error:

Code:
INFO:root:Starting '__upload__' from 'qtgui.pinguino_api.pinguino_tools'
INFO:root:Starting 'upload' from 'qtgui.pinguino_api.uploader.uploader'
INFO:root:Looking for a Pinguino device ...
INFO:root:Traceback (most recent call last):
 File "/Users/XxX/.pinguino/qtgui/pinguino_api/tools.py", line 23, in inset
   ret = f(*args, **kwaargs)
 File "/Users/XxX/.pinguino/qtgui/pinguino_api/uploader/uploader.py", line 179, in upload
   self.uploader.uploadDevice(self.hexfile, self.board)
 File "/Users/XxX/.pinguino/qtgui/pinguino_api/uploader/uploaderVSC.py", line 256, in uploadDevice
   device = self.getDevice(board)
 File "/Users/XxX/.pinguino/qtgui/pinguino_api/uploader/uploader.py", line 76, in getDevice
   busses = usb.busses()
 File "/usr/local/lib/python2.7/site-packages/usb/legacy.py", line 340, in busses
   _interop._sorted(core.find(find_all=True), key=lambda d: d.bus),
 File "/usr/local/lib/python2.7/site-packages/usb/core.py", line 1199, in find
   raise ValueError('No backend available')
ValueError: No backend available

INFO:root:Time spent for '__upload__': 0.04 s
INFO:root:Ending '__upload__'
2015-11-30 11:45:42.078 Python[591:25153] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
INFO:root:Starting '__upload__' from 'qtgui.pinguino_api.pinguino_tools'
INFO:root:Starting 'upload' from 'qtgui.pinguino_api.uploader.uploader'
INFO:root:Looking for a Pinguino device ...
Segmentation fault: 11

I have the latest version of libusb 1.0.9 and pyusb from the script
Code:
pip install gitpython hgapi beautifulsoup4 pyusb

Hope someone can help me fix this.
Thank You.
Reply
02-12-2015, 11:20 AM,
#2
RE: No upload - IDE X.4 r745 - Mac OSX 10.11.1 - 18F2550
You need to install libusb-0.1 as a backend to pyusb.
Reply
02-12-2015, 04:27 PM, (This post was last modified: 02-12-2015, 05:12 PM by pingotg.)
#3
RE: No upload - IDE X.4 r745 - Mac OSX 10.11.1 - 18F2550
Or it may be new bugs from Apple in their USB.

There appear to be problems with such as STLink and OpenOCD due to bad changes from Apple.

Hints as to Apple bug here https://github.com/libusb/libusb/issues/111
and https://github.com/texane/stlink/issues/331

John
Reply
01-07-2016, 10:18 AM,
#4
RE: No upload - IDE X.4 r745 - Mac OSX 10.11.1 - 18F2550
(02-12-2015, 11:20 AM)Pinguino Wrote: You need to install libusb-0.1 as a backend to pyusb.

0.1 or 1.0?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)