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

cannot flash binary on a mac OS x #1

Open
GoogleCodeExporter opened this Issue Dec 11, 2015 · 6 comments

Comments

Projects
None yet
1 participant
@GoogleCodeExporter
Copy link

GoogleCodeExporter commented Dec 11, 2015

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

This comment has been minimized.

Copy link

GoogleCodeExporter commented Dec 11, 2015

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

This comment has been minimized.

Copy link

GoogleCodeExporter commented Dec 11, 2015

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

This comment has been minimized.

Copy link

GoogleCodeExporter commented Dec 11, 2015

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

This comment has been minimized.

Copy link

GoogleCodeExporter commented Dec 11, 2015

[deleted comment]
@GoogleCodeExporter

This comment has been minimized.

Copy link

GoogleCodeExporter commented Dec 11, 2015

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

This comment has been minimized.

Copy link

GoogleCodeExporter commented Dec 11, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment