This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

West and debug issue in nrf9160 feather board

Hello,

This is regarding the problem faced while flash and debug the nrf9160 feather,
1) Build and flash using the west 
we are using nrf 9160 feather so it has a different technique to compile and flash the code into it. 
Please check the below link for how to compile and flash the code using west.(https://docs.jaredwolff.com/nrf9160-programming-and-debugging.html)
To understand I tried to compile and flash the blinky code. and it worked properly.
Then I tried to compile and flash GPS code with the same process but I got the error.
https://imgur.com/undefined (link of error image)
(https://docs.jaredwolff.com/nrf9160-agps-sample.html). I am enclosing the photo of the error. (file name is GPS error)
The question is I used the same process to flash both the code but got an error in the GPS code.
2) debug the code using visual code
As we are designing our firmware to load and debug the code we have to connect to visual code.
The Process is explained in the below Link. To understand the process I was using the blinky sample code.
I followed all the steps mentioned in the documentation but at step 8 where we compile the code in visual code, I am getting an error. (Enclosed - file name is visual code error)
I don't know what needs to change to resolve the error.
Let me know if you can help me out to resolve the above error.
With Regards,
Rahul Kidecha
Parents
  • Hi Jonathon,

    I never used visual code to debug any microcontroller. I do not understand where exactly you want to add path.OR else you can let me know how to debug the feather using external board with other software.

    Can you be more specific ?

    I am sharing the location which you mentioned and made same changes as per my understanding  but still giving me same error.

    Question:

    setting in launch.jason are correct ?

Reply
  • Hi Jonathon,

    I never used visual code to debug any microcontroller. I do not understand where exactly you want to add path.OR else you can let me know how to debug the feather using external board with other software.

    Can you be more specific ?

    I am sharing the location which you mentioned and made same changes as per my understanding  but still giving me same error.

    Question:

    setting in launch.jason are correct ?

Children
Related