I've now installed the VM and flashed the firmware of the CR - sadly without any effect to the drive installation in windows
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 (99.38 KiB) Viewed 8813 times
Do you have any other ideas what i can check or have i done a mistake?
Greetings,
Patrick