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
  • Hello,

    Will you be able to share the error message you are getting while trying the Developer academy exercises? I recommend sharing the entire log, if possible.

    Also, are you trying this on our nRF9160DK, or is this a custom board?

    Kind Regards,
    Abhijith

  • 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, ...).

Reply
  • 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, ...).

Children
Related