Cellular IOT Fundamentals course, lesson 7 - modem trace

Hi,

Currently doing the Cellular IOT Fundamentals course (great having this as a resource!), but lesson 7, making a modem trace, is not going as planned. Using SDK 2.7.0

Doing excercise 7.1 according to the course results in a compile error. I've worked around this by adding this to cmakelists.txt;

if(NOT nrf91-modem-trace-uart IN_LIST SNIPPET)
  set(SNIPPET nrf91-modem-trace-uart ${SNIPPET} CACHE STRING "" FORCE)
endif()

This seems to work (it compiles and runs), but the resulting trace only contains LTE RCC DL_DCCH and NAS-EPS protocol lines. Looking at excersize 7.2, there should be all sorts of other usefull info, AT, IP stuff. I'm not getting those. What am I missing? The application on the board otherwise seems to run correctly, it connects to the COAP server and does it's thing.

Thanks,

Parents Reply Children
  • Hi Abhijith,

    I'm doing the exercises on an nRF9160DK.

    Building the project from the exercise as-is results in an error from the linker.

    I had the relevant part of the build-log here, but somehow the devzone forum kept popping up an error message when i tried to post, "An error occurred. Please try again or contact your administrator.'. Weird. Posting without the build-log text does work, as you can see..

    But, as i said, i could work around this by adding the nrf91-modem-trace-uart snippet.

    The thing I haven't worked out yet is that the resulting trace only contains LTE RCC DL_DCCH and NAS-EPS protocol lines, while excersise 7.2 shows all sorts of other lines (AT, IP, DTLS, ...).

  • Hello,

    I took over this case from my colleague.

    You should use probably use NCS 2.6.0 for this course for now.

    Also, are you using the Cellular Monitor for reading the traces?

    We have a blog post about it as well:  Introducing the Cellular Monitor

    Could you post screenshots of the resulting traces?

    As for the build log, have you tried to add id using the "Insert->Code" button in the bottom menu?

    Best regards,

    Michal

Related