Search Results

Search results 1-20 of 150.

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.

  • Quote from MWet123: “how can I exclude single files from building? ” In the Project Explorer: 1. Right-click the file 2. Edit Options ... 3. Code > Build > Exclude From Build forum.segger.com/index.php/Att…90e24210825f2f5598751b8ca

  • strlen bug?

    awneil - - SEGGER Embedded Studio related

    Post

    Quote from TxCodeMonkey: “make those variables in question volatile (and or static). ” Yes - that can help. Another option is to simply turn off optimisation!

  • Where, exactly, do you get that error? Which file does it apply to? Copy & paste the full text!

  • listview widget skin problem

    awneil - - emWin related

    Post

    Duplicate: forum.segger.com/index.php/Thr…tview-widget-skin-problem

  • Is that actually a GCC thing, or just a 3rd-party library? This pubs.opengroup.org/onlinepubs/7908799/xsh/regex.h.html ? EDIT See: stackoverflow.com/questions/30…ch-file-or-directory?lq=1 - suggests this is not a compiler thing?

  • strlen bug?

    awneil - - SEGGER Embedded Studio related

    Post

    Quote from samsam: “Locals Window in debug mode is useless ” I disagree. Sure, as with any tool, it has limitations. It is important to understand the tools you're using.

  • 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?

  • Quote from SEGGER - Nino: “when moving from one toolchain to the internal ones of Embedded Studio we recommend to do this manually ” I would second that - not just for SES, but for any IDE !

  • 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…90e24210825f2f5598751b8ca 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!…

  • strlen bug?

    awneil - - SEGGER Embedded Studio related

    Post

    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. ”

  • strlen bug?

    awneil - - SEGGER Embedded Studio related

    Post

    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.

  • strlen bug?

    awneil - - SEGGER Embedded Studio related

    Post

    Quote from samsam: “Cant use strlen(stringxx) ” Is that in your 'C' source code, or just in the SES debugger 'Quick Watch' window? Is the SES debugger 'Quick Watch' window even supposed to be able to evaluate the result of a function call?

  • Quote from tpimh: “I tried compiling it with SEGGER compiler ” I thought Segger just uses the GCC Compiler ? Quote from tpimh: “It is a big complicated project ” Are you familiar with working on big complicated tools with other IDEs ? Have you been able to build simple projects using SES ? It's always best to start with simple projects to learn how to use a new tool ... Quote from tpimh: “couldn't get it built ” What problem(s) did you have? It's hard to help you solve the problems when you don'…

  • Quote from dacrites: “The error does not occur on the eval board ” So there's a clue - look at what's different between the eval board and your board. Quote from dacrites: “no issues when programming with the ATMEL-ICE ” similarly. Also check the configuration of your Atmel-ICE vs the configuration of the JLink. One frequent cause of such problems is that your code is doing something to disable the debug link; eg, going to sleep, or putting pins into some alternate mode ...

  • I heard the inventor of auto-correct died recently. May he rust in piss.

  • Quote from SEGGER - Nino: “propitiatory ” * proprietary