acassis commented on issue #9200:
URL: https://github.com/apache/nuttx/issues/9200#issuecomment-1537132235

   Hi @kistlin I already used JLinkGDBServer to debug NuttX but not with system 
awareness: 
https://acassis.wordpress.com/2015/06/29/debugging-nuttx-on-atmel-sam-l21-microcontroller-with-j-link-programmer/
   
   Looking your error message I can see that it is failing to get the idx of 
pid "ERROR: error in get_idx_from_pid return -1" and the only why to 
get_idx_from_pid() return -1 is if "get_pid()" fails.
   
   @xiaoxiang781216 do you know if there is some recent modification on 
`tcbinfo` that could have broken JLink awareness?
   
   I was trying to find a tutorial/guide about JLink aware on our documentation 
https://nuttx.apache.org/docs/latest/guides/index.html but just noticed it 
doesn't exist. @kistlin could you help us to fix it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to