HalfHour / libnxt

Automatically exported from code.google.com/p/libnxt
GNU General Public License v2.0
0 stars 0 forks source link

cannot flash binary on a mac OS x #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install libusb on mac using ports (sudo port install libusb)
2. Build libnxt
3. try to flash the NXT in SAM-BA mode 

What is the expected output? What do you see instead?
success or some similar message
instead

Checking firmware... OK.
Error while connecting to NXT: Error trying to configure the NXT USB link

The culprit seems to be the libusb function set_usb_configuration which is
returning a -9 forcing libnxt to error out.

What version of the product are you using? On what operating system?
version - 0.3 on MAX OS X 10.5.7

Please provide any additional information below.

Original issue reported on code.google.com by priya.si...@gmail.com on 1 Aug 2009 at 8:03

GoogleCodeExporter commented 8 years ago
Hey even I am facing the same problem, did u find the solution for the problem 
you posted above, or are you still facing the same issues

Original comment by yogesh.s...@gmail.com on 8 Sep 2010 at 6:48

GoogleCodeExporter commented 8 years ago
Using any x64 host and even 32-bit VMs on x64 hosts, I get the same thing.
Ubuntu Lucid and Windows 7.

Original comment by deanmsan...@gmail.com on 25 Sep 2010 at 5:15

GoogleCodeExporter commented 8 years ago
I had the same problem and found a solution. It's here : 
https://github.com/rvs/libnxt
(I did NOT do the change myself, just found it)

Original comment by matthias...@googlemail.com on 19 Mar 2012 at 6:39

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
It's probably a bit late but if there are still people looking for help and 
coming to this page by chance...

I used to have the same error, tried the patch 
https://github.com/rvs/libnxt/commit/bd68937dfcfd98c8fde5db42bf4682f669dbb8ef 
(releaded on November, 26th 2011) and could successfully flash the NXT brick 
firmware.

I am running Gentoo GNU/Linux x64, with libnxt-0.3 and libusb-1.0.9. I think it 
should work too on MacOS X.

Original comment by georgetl...@laposte.net on 5 Sep 2012 at 5:48

GoogleCodeExporter commented 8 years ago
Some further work on this for Mac OS 10.8 (Mountain Lion). Pull request #1 at 
https://github.com/mschristiansen/libnxt now has a working fwflash with a 
codeless KEXT to install on MacOS X. 

Code itself is at this branch 
https://github.com/PeterNSteinmetz/libnxt/tree/addKernelDetach until integrated 
into that project.

Original comment by PeterNSt...@gmail.com on 24 Mar 2013 at 11:08