Search Results
Search results 21-40 of 175.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Quote from satheesh: “From the Error I understood that there is a multiple definition and I need to get rid of one ” community.arm.com/developer/to…rror-l6200e/162495#162495 You're welcome. Please be sure to update that thread to point here - so that anyone else there will be able to find the resolution here. And mark that thread as Resolved.
-
Thanks for the reply. Use of sleep mode hasn't changed, so that leaves the illegal memory access. That is possible; is there a way to catch it - rather than the debugger just "disappear" completely without trace? But shouldn't illegal memory access be caught as a Hard Fault?
-
Hmmm ... now a new behaviour: The RTT trace has stopped, the Target has restarted - but the J-Link is still showing as 'Connected' so the SES Debug view is still there, but doing nothing. BTW This is SES 3.40 and a Nordic nRF52832. It's only started since recent code changes - but what could my code be doing that would break the debug connection and/or stop the RTT trace ?
-
OK, so I found the option to enable a J-Link Log file. In the log file, I see this pattern repeating: Source Code (12 lines) which, I guess, is the J-Link polling for RTT data? Towards the end of the log, it changes to: Source Code (10 lines)which then continues to: Source Code (13 lines)I guess this at least gives a record of the time at which the connection was lost - though it doesn't seem to have anything to tie this into what the code was actually doing at the time. Can you tell anything fr…
-
While debugging, I am getting 'Target connection has been lost' after a while: forum.segger.com/index.php/Att…e01a9d9dbb3ad90a0327f62ce The trouble is, the debugger then closes immediately - so all the RTT debug output, etc, up to that point is lost. How can I retain this information to see where, exactly, the problem is occurring? Or get more information on why, exactly, the connection drops? It makes it very hard to debug when the debugger just disappears completely & throws away all evidence!…
-
What optimisation setting are you using? It is possible (even likely) that "useless" variables will be removed by the optimiser, or that their values may not actually be set until "needed" I wouldn't expect any IDE's 'Watch' facility to be able to just run an arbitrary function, and display the result.
-
Have you seen this: Quote from Sourcetrail documentation: “ Supported Languages C C support is powered by Clang 8.0.1. For issues loading C code, please have a look at Clang language compatibility or report a bug in our bug tracker. ”
-
If there were a problem in the source, then you would get a build error or warning. Remember that all the 'C' language str... functions require a NUL-terminated string to work. Again, are you sure that the SES debugger 'Quick Watch' window is even supposed to be able to evaluate the result of a function call? I would guess that it's not.