When I try to upload a file I have an error

23 views
Skip to first unread message

Hiram

unread,
Mar 30, 2014, 1:51:33 AM3/30/14
to pingui...@googlegroups.com
I make the pinguino board with 4550 microcontroller and bootloader v4, so i test the board in windows (7 and 8) and all its ok, but i dont use windo$ any more, i try to install and run pinguino x4 in debian wheezy (64bits) with following instruccions and dosen't work,

When pressed button "Upload", terminal show next message:

Tarjeta: Pinguino 4550
Proc: 18f4550
Archivo:  /x.4/examples/01.Basics/Blink/Blink.pde
compilando...
Compilacion completada
tamaño de codiigo:2294 / 29696 bytes (7% usado)
0.3 segundos (Tiempo de proceso)
Pinguino found ...

After "Pinguino found..." frozen

In the file "pinguino.log"  can read  "Everything is OK", try compile and upload with the next command line:

~/x.4/pinguino_start.sh -p4550 -f ~/x.4/examples/01.Basics/Blink/Blink.pde --boot boot4 -ul

and returns the following message:

Gtk-Message: Failed to load module "canberra-gtk-module"
Board: Pinguino 4550
Proc.: 18f4550
File : /x.4/examples/01.Basics/Blink/Blink.pde
preprocessing ...
compiling ...
linking ...
compilation done
C00
8000
tamaño de codiigo:2294 / 29696 bytes (7% usado)
Uploading...
Pinguino found ...Traceback (most recent call last):
  File "./pinguino.py", line 197, in <module>
    pobject.OnUpload(path=filename)
  File "/home/Downloads/x.4/wxgui/pinguino.py", line 302, in OnUpload
    u = Uploader(self.displaymsg, filename, self.curBoard)
  File "/home/Downloads/x.4/wxgui/uploader/uploader.py", line 101, in __init__
    curUploader.writeHex()
  File "/home/Downloads/x.4/wxgui/uploader/uploader8.py", line 478, in writeHex
    self.handle = self.initDevice()
  File "/home/Downloads/x.4/wxgui/uploader/uploader8.py", line 173, in initDevice
    handle.setConfiguration(self.ACTIVE_CONFIG)
  File "/usr/local/lib/python2.7/dist-packages/usb/legacy.py", line 257, in setConfiguration
    self.dev.set_configuration(configuration)
  File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 589, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 92, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 724, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 554, in _check
    raise USBError(_str_error[ret], ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

i don't know what is wrong with my installation, thanks for your help

PD. Sorry for my english
Reply all
Reply to author
Forward
0 new messages