Hello,
I updated the NRF firmware on my CF 2.0 with the make target cload BLE=0. It worked fine, but since then, my android phone isn't able to connect to the CF via bluetooth (using the CF app, of course). Seems obvious due to the BLE flag set to 0, but even after flashing with BLE=1 the bluetooth connection attempt always times out.
I followed this guide: viewtopic.php?f=5&t=1678&p=8688&hilit=flash+nrf#p8806
Before flashing the NRF the bluetooth connection was alright, so what am I missing?
-alex
[SOLVED] No bluetooth connection after flashing NRF
[SOLVED] No bluetooth connection after flashing NRF
Last edited by alex on Sat Feb 20, 2016 8:20 pm, edited 1 time in total.
Re: No bluetooth connection after flashing NRF
Hi alex,
I'm a little confused...
Did you run:
and then you ran:
'make cload' only flashes the NRF (no compilation) so I believe that passing BLE=1 to this make target is meaningless.
If you try to clean the project, then make it with no arguments (which is the same as saying BLE=1), then cload, do you still have an issue connecting? I just tried that and it worked OK for me.
I'm a little confused...
Did you run:
Code: Select all
make BLE=0 all
Code: Select all
make cload BLE=1
If you try to clean the project, then make it with no arguments (which is the same as saying BLE=1), then cload, do you still have an issue connecting? I just tried that and it worked OK for me.
Code: Select all
make clean
make all
make cload
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
Re: No bluetooth connection after flashing NRF
Ok, obviously I didn't know what exactly I was doing, thanks for bringing me on track.
This did the job!
Can you recommend some basic reading about make files and related stuff in general?
-alex
Code: Select all
make clean
make all
make cload
Can you recommend some basic reading about make files and related stuff in general?
-alex
Re: No bluetooth connection after flashing NRF
Awesome! Glad you got it fixed!!alex wrote:This did the job!
Can you recommend some basic reading about make files and related stuff in general?
-alex
I'm not sure exactly what you're looking for. I read the actual Makefiles themselves and the READMEs in the repository. But I also have 15+ years of software build engineering experience.
If you're looking for a tutorial on 'make' and Makefiles, have a look at these M.I.T. OpenCourseware lecture notes but keep in mind it is very basic.
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
Re: No bluetooth connection after flashing NRF
Exactly what I was looking for, thanks again, chad.chad wrote: I'm not sure exactly what you're looking for. I read the actual Makefiles themselves and the READMEs in the repository. But I also have 15+ years of software build engineering experience.
If you're looking for a tutorial on 'make' and Makefiles, have a look at these M.I.T. OpenCourseware lecture notes but keep in mind it is very basic.
Re: [SOLVED] No bluetooth connection after flashing NRF
My pleasure! Glad to have you back on the forum alex!
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.