nRF52840 dk does not advertise

Hello, I am going through the Bluetooth Low Energy Fundamentals provided by Nordic. 

My nrf 52840 dk could function fine after lesson1, but when I flash my board with the lesson 2 exercise 1 solution, the board does not advertise. Here is the link to the lesson I am referring to. 

https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-2-bluetooth-le-advertising/topic/blefund-lesson-2-exercise-1/ 

I am new to this chip, so I would appreciate it if you would help me out on this. 

Parents
  • Hi 

    Do you have any log from the DK? Which version of NCS and the toolchain do you use?

    Regards

    Runar

  • Thanks for the reply 

    I do not get any logs from the device. I went back to the RF Connect SDK Fundamentals course and flashed my board with lesson 4 exercise 2 solution code which was the intro to log and I was getting log messages.  I did make sure that I have log enabled in the proj.config file and use the macro LOG_MODULE_REGISTER in my BLE program. 

    I commented out everything in the program except for  LOG_MODULE_REGISTER, and a LOG_INF and still did not get anything printed. Any suggestion?

    The version of the toolchain I use is 2.5.2 

  • Hi Mohammad

    I would recommend upgrading to a either NCS 2.7 or NCS 2.6.1, 

    There is no need to flash another sample as the code in the lesson already has all the logs that we will need from it. I just tested it myself and it haveded just like how I would expect it to work. But you don't see anything in your terminal at all? 

    Regards

    Runar

  • Thanks for the reply, 

    I updated my toolchain to v2.7 and NCS to v2.6, but still nothing. I recorded my screen and reviewed different files and parts of the program. Please watch it and let me know if you see anything wrong. 

    I would appreciate the help.  

  • Hi 

    Please use the same toolchain version as the sdk version. Also I see you have the 52840dongle as the build target and not the 52840dk. Try to switch to the DK as build target, rebuild the application and flash it

    Regards

    Runar

Reply Children
No Data
Related