Page 1 of 1

[SOLVED] No bluetooth connection after flashing NRF

Posted: Thu Feb 18, 2016 10:44 pm
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

Re: No bluetooth connection after flashing NRF

Posted: Fri Feb 19, 2016 8:18 pm
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

Re: No bluetooth connection after flashing NRF

Posted: Sat Feb 20, 2016 1:41 pm
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

Re: No bluetooth connection after flashing NRF

Posted: Sun Feb 21, 2016 7:50 pm
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.

Re: No bluetooth connection after flashing NRF

Posted: Sun Feb 21, 2016 9:13 pm
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.

Re: [SOLVED] No bluetooth connection after flashing NRF

Posted: Sun Feb 21, 2016 10:08 pm
by chad
My pleasure! Glad to have you back on the forum alex! :)