[SOLVED] No bluetooth connection after flashing NRF

Post here to get support
Post Reply
alex
Expert
Posts: 137
Joined: Mon Feb 18, 2013 11:36 am
Location: Germany

[SOLVED] No bluetooth connection after flashing NRF

Post by alex »

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
Last edited by alex on Sat Feb 20, 2016 8:20 pm, edited 1 time in total.
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: No bluetooth connection after flashing NRF

Post by chad »

Hi alex,

I'm a little confused...

Did you run:

Code: Select all

make BLE=0 all
and then you ran:

Code: Select all

make cload BLE=1
'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.

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.
alex
Expert
Posts: 137
Joined: Mon Feb 18, 2013 11:36 am
Location: Germany

Re: No bluetooth connection after flashing NRF

Post by alex »

Ok, obviously I didn't know what exactly I was doing, thanks for bringing me on track.

Code: Select all

make clean
make all
make cload
This did the job!

Can you recommend some basic reading about make files and related stuff in general?

-alex
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: No bluetooth connection after flashing NRF

Post by chad »

alex wrote:This did the job!

Can you recommend some basic reading about make files and related stuff in general?

-alex
Awesome! Glad you got it fixed!! :)

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. :oops:

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.
alex
Expert
Posts: 137
Joined: Mon Feb 18, 2013 11:36 am
Location: Germany

Re: No bluetooth connection after flashing NRF

Post by alex »

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. :oops:

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.
Exactly what I was looking for, thanks again, chad.
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: [SOLVED] No bluetooth connection after flashing NRF

Post by chad »

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.
Post Reply