[SOLVED] Driver installation problems on Win8 64bit

Post here to get support
Post Reply
cracklecrackle
Beginner
Posts: 21
Joined: Tue Feb 19, 2013 9:26 am
Location: Germany
Contact:

[SOLVED] Driver installation problems on Win8 64bit

Post by cracklecrackle » Wed May 08, 2013 6:02 am

I have problems with installing the driver on Windows 8 64bit. I set Windows 8 in test mode (enables unsigned driver install) an tried to install the driver how it is described in the wiki. I use the latest river from bitbucket.

But every time when i choose the folder where the driver files in windows says there is no driver for the device in this location, see the screenshots:

Manually selected driver (destination of crazyradio drivers):
Snap_2013.05.08_07h54m28s_002_.png
"Browse for driver software on your computer"
Snap_2013.05.08_07h54m28s_002_.png (67.47 KiB) Viewed 4686 times
After selecting an clicking "next":
Snap_2013.05.08_07h55m03s_004_.png
"nRF24LU1P-F32 BOOT LDR can't be installed"
Snap_2013.05.08_07h55m03s_004_.png (64.14 KiB) Viewed 4686 times
Last screenshot says "the driver couldn't be installed - driver software for the device wasn't found".

Do anyone have the same issue or knew how to fix this problem?

Greetings,

Patrick


Crazyflie Nano 10-DOF

atomicdog
Expert
Posts: 105
Joined: Tue Mar 12, 2013 2:50 am
Location: San Diego

Re: Driver installation problems on Win8 64bit

Post by atomicdog » Wed May 08, 2013 7:27 am

I think you may need to reflash the CR. It looks like it didn't get programed and is stuck in the bootloader.
This wiki page shows how: http://wiki.bitcraze.se/projects:crazyradio:programming
6-DOF CF | wireless xbox 360 controller

cracklecrackle
Beginner
Posts: 21
Joined: Tue Feb 19, 2013 9:26 am
Location: Germany
Contact:

Re: Driver installation problems on Win8 64bit

Post by cracklecrackle » Wed May 08, 2013 9:21 am

Thanks for your answer! I read the wiki page you postet but i'm not getting it. Can i use the graphical user interface to reflash the CR or do i have to install python etc.?

I tried to install python etc. like it is described here http://wiki.bitcraze.se/projects:crazyf ... ls:install. Python is running the windows path is set, installing PyUSB 1.X went well i think, for pyGame i used the pygame-1.9.2a0.win32-py2.7.msi from here http://pygame.org/download.shtml (hope this work as good as the .zip above?), now i don't know what to do with the libusb and where to find the "pc_util/crazyradio/" folder with the "launchBootloader.py" file and the "nrfbootload.py" file. I also searched for the firmware to flash on bitbucket, but don't find any.

I really stuck on this :?
Crazyflie Nano 10-DOF

atomicdog
Expert
Posts: 105
Joined: Tue Mar 12, 2013 2:50 am
Location: San Diego

Re: Driver installation problems on Win8 64bit

Post by atomicdog » Wed May 08, 2013 9:55 am

Sorry, it looks like their documentations is out of date. :oops:
I couldn't find "launchBootloader.py" or "nrfbootload.py" in the windows binary distro either.

I did find it though in the Ubuntu VM they have. But the files are in the folder projects/crazyradio-firmware/usbtools/
The files are also in the CR repository

Using the Virtualbox VM maybe be the easiest way.
6-DOF CF | wireless xbox 360 controller

cracklecrackle
Beginner
Posts: 21
Joined: Tue Feb 19, 2013 9:26 am
Location: Germany
Contact:

Re: Driver installation problems on Win8 64bit

Post by cracklecrackle » Wed May 08, 2013 1:12 pm

I've now installed the VM and flashed the firmware of the CR - sadly without any effect to the drive installation in windows :cry:

Here's what i've done, maybe i did a mistake or forgot something?

First i listed the USB devices:

Code: Select all

bitcraze@bitcraze-ubuntu:~/projects$ lsusb
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 1915:0101 Nordic Semiconductor ASA
Looks good for me. Then i checked for updates:

Code: Select all

bitcraze@bitcraze-ubuntu:~/projects$ cd ~/projects/crazyflie-firmware
bitcraze@bitcraze-ubuntu:~/projects/crazyflie-firmware$ hg pull && hg update -C 2013.4
pulling from https://bitbucket.org/bitcraze/crazyflie-firmware
searching for changes
no changes found
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
bitcraze@bitcraze-ubuntu:~/projects/crazyflie-firmware$ cd ~/projects/crazyflie-pc-client
bitcraze@bitcraze-ubuntu:~/projects/crazyflie-pc-client$ hg pull && hg update -C 2013.4.1
pulling from https://bitbucket.org/bitcraze/crazyflie-pc-client
searching for changes
no changes found
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
After that i build the .bin:

Code: Select all

bitcraze@bitcraze-ubuntu:~/projects/crazyflie-pc-client$ cd ~/projects/crazyradio-firmware/
bitcraze@bitcraze-ubuntu:~/projects/crazyradio-firmware$ cd firmware/
bitcraze@bitcraze-ubuntu:~/projects/crazyradio-firmware/firmware$ make CLOAD=1 DEBUG=0
sdcc -Iinc/ --model-large --std-sdcc99 -c src/main.c -o bin/main.rel
sdcc -Iinc/ --model-large --std-sdcc99 -c src/radio.c -o bin/radio.rel
sdcc -Iinc/ --model-large --std-sdcc99 -c src/usb.c -o bin/usb.rel
src/usb.c:600: warning 197: keyword 'data' is deprecated, use '__data' instead
sdcc -Iinc/ --model-large --std-sdcc99 -c src/usbDescriptor.c -o bin/usbDescriptor.rel
sdcc -Iinc/ --model-large --std-sdcc99 -c src/led.c -o bin/led.rel
sdcc -Iinc/ --model-large --std-sdcc99 -c src/utils.c -o bin/utils.rel
sdcc --xram-loc 0x8000 --xram-size 2048 --model-large bin/main.rel
bin/radio.rel bin/usb.rel bin/usbDescriptor.rel bin/led.rel bin/utils.rel
-o bin/cradio.ihx
objcopy -I ihex bin/cradio.ihx -O binary bin/cradio.bin
And at least i flashed the CR:

Code: Select all

bitcraze@bitcraze-ubuntu:~/projects/crazyradio-firmware/firmware$ cd ~/projects/crazyradio-firmware/usbtools/
bitcraze@bitcraze-ubuntu:~/projects/crazyradio-firmware/usbtools$ sudo python nrfbootload.py flash ../firmware/bin/cradio.bin
[sudo] password for bitcraze:
Found nRF24LU1 bootloader version 18.0
Flashing:
  Flashing 5635 bytes...
Flashing done!
Verifying:
  Reading ../firmware/bin/cradio.bin...
  Reading 5635 bytes from the flash...
Verification succeded!
I reconnected the CR to windows and tried to install the driver know, result is exactly the same as before, if i install the drive by choosing it manually from the download location windows responds "the driver couldn't be installed - driver software for the device wasn't found". Here's a screenshot:
Ashampoo_Snap_2013.05.08_14h55m21s_021_.png
Ashampoo_Snap_2013.05.08_14h55m21s_021_.png (99.38 KiB) Viewed 4665 times
Do you have any other ideas what i can check or have i done a mistake?

Greetings,

Patrick
Crazyflie Nano 10-DOF

atomicdog
Expert
Posts: 105
Joined: Tue Mar 12, 2013 2:50 am
Location: San Diego

Re: Driver installation problems on Win8 64bit

Post by atomicdog » Wed May 08, 2013 5:29 pm

The description in device manager is still wrong. It should say "Crazyradio USB Dongle" if the CR firmware was running.

What description for the CR does virtual box show?
6-DOF CF | wireless xbox 360 controller

cracklecrackle
Beginner
Posts: 21
Joined: Tue Feb 19, 2013 9:26 am
Location: Germany
Contact:

Re: Driver installation problems on Win8 64bit

Post by cracklecrackle » Thu May 09, 2013 9:19 pm

I flashed the CR several times and after changing to a different usb port the CR was correctly displayed in the device manager from windows, now everything works :D

Thanks for help to everyone!
Crazyflie Nano 10-DOF

Post Reply