DevAcademy : Cellular ioT Fundamentals Lession 7 - Tracing issue with the example

Hello,

I am following the cellular IoT fundamental course with nRF9151-DK.

I didn't have any issue until Lesson 7, but I found that the screen shot of the lesson is different from mine.

Environment

1. DK : nRF9151-DK

2. Modem : 2.0.1

3. SDK version : 2.6.1


- Test and issue -

1. Firmware : Lesson 7-1 (I also tried Lesson-7-1 solution, but the same result)

   (1) First of all, I followed the instruction including Wireshark installation, then I started monitoring with Cellular monitor.

        - Modem trace database is "Autoselect"

        - I got the error "Error when creating trace: unable to locate db directory plugin path:c:\users\.......

   (2) As the modem version is 2.0.1, I selected the modem trace database as 2.0.1

         - It didn't have error, and the "Trace" on Connection Status was passed.

         - But the connection status is stuck at "TRACE" and it doesn't move to the SIM or LTE Connection.

         - All parameters in LTE Network, Device, Sim, Connectivity Statistics and Power Saving features are "Unknown"

         - Packet Event Viewer shows only IP event (No AT or RRC or NAS event)

         - I also opened the Wireshark, so I can see the protocol and length.

            -> But it has only DTLSv1.2 protocols.

  

2. Firmware : Lesson 4-2 (added the trace configuration in PJT.CONF)
    (1) As Lesson 7-1 firmware doesn't look working, I decided to try it with another firmware which is from Lesson 4-2. (MQTT)

    (2) I added the trace option on PJT.CONF, then flashed new firmware to nRF9151-DK.

    (3) When I started the cellular monitor, it had the same error if Modem trace database is auto-select.

    (4) But when I selected the correct modem version, it started tracing.

    (5) it looks like working even though I couldn't see full information about LTE Network, Device, Sim, connectivity statistics and power saving features.

    (6) Connection status also shows that Trace, SIM and LTE connection are good.

    (7) Packet event viewer also shows some operation in AT, RRC NAS and IP. RRC has the most of action.


So, I wonder if the screen shots in Cellular IoT Fundamentals are wrong, or I still have some problem with firmware lesson 7-1.
If the screen shots of Lesson 7.1 on the Devacademy are correct and I might make any mistake, can anyone help what I should check and rectify this issue?

Parents
  • Hello,

    If the screen shots of Lesson 7.1 on the Devacademy are correct and I might make any mistake, can anyone help what I should check and rectify this issue?

    The screenshots may be outdated, but should vary too much from what is available today. What version of cellular monitor are you using? Most importantly what configurations did you add to your prj.conf? 

    Do you get the same results if you are using a precompiled image from the nRF9151DK precompiled package e.g. img_app_bl/debug/nrf9151dk_asset_tracker_v2_debug_2024-05-08_eef645c4.hex   ?

    Kind regards,
    Øyvind

  • Hello,
    1) Cellular Monitor version : I tried 2.4.1 (Official) and 2.3.0, and the same result.
    2) What configurations did I add to my prj.conf?
        - Is this question about what I added to my prj.conf for lesson 4-2? 
        - I added

                CONFIG_NRF_MODEM_LIB_TRACE=y
                CONFIG_AT_HOST_LIBRARY=y
        - I used the solution of Lesson 7-1 which already has these configurations in its prj.conf.
    3) I just tried precompiled image : nrf9151dk_asset_tracker_v2_debug_2024-05-08_eef645c4.hex
        - The result is like the below. It seems to work after sending the AT%XMODEMTRACE=1,2

    So, it looks like cellular monitor, Wireshark and precompiled image seem to work.
    Then can I consider that images on exercise 1 of lesson 7-1 are outdated?
    And my tracing result only shows the IP when I tried lesson 7-1. Can you confirm that is correct?
    (I wonder if anyone can try lesson 7-1 solution and let me know if you have the different result)
  • Sounds like you have fixed the issue and got it running. I'm not fully aware of what images you are referring to. Could you please provide a side by side comparison? This will allow me to update our DevAacdemy team. 

    Thanks!

    Kind regards,
    Øyvind

Reply Children
Related