awneil Beginner

  • Member since Apr 20th 2018
Last Activity

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • awneil -

    Replied to the thread Error when added segger RTT to a Keil project.

    Post
    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…
  • awneil -

    Replied to the thread Excluding folders/files from build.

    Post
    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…8ebb577ce1a0b7e281adf87c5
  • awneil -

    Replied to the thread strlen bug?.

    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!
  • awneil -

    Replied to the thread Error importing eclipse project STM32.

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

    Replied to the thread listview widget skin problem.

    Post
  • awneil -

    Replied to the thread support for regular expressions.

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

    Replied to the thread strlen bug?.

    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.
  • awneil -

    Replied to the thread Target Connection Has Been Lost - but why?.

    Post
    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…
  • awneil -

    Replied to the thread Error importing eclipse project STM32.

    Post
    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 !
  • awneil -

    Replied to the thread Target Connection Has Been Lost - but why?.

    Post
    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…
  • awneil -

    Replied to the thread Target Connection Has Been Lost - but why?.

    Post
    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…
  • awneil -

    Posted the thread Target Connection Has Been Lost - but why?.

    Thread
    While debugging, I am getting 'Target connection has been lost' after a while: forum.segger.com/index.php/Att…8ebb577ce1a0b7e281adf87c5 The trouble is, the debugger then closes immediately - so all the RTT debug output, etc, up to that point is…
  • awneil -

    Replied to the thread strlen bug?.

    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…
  • awneil -

    Replied to the thread SES, CLANG compilation Database and SourceTrail.

    Post
    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. ”
  • awneil -

    Replied to the thread strlen bug?.

    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…
  • awneil -

    Replied to the thread strlen bug?.

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

    Replied to the thread Simple project using libopencm3 in SES.

    Post
    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…
  • awneil -

    Replied to the thread [SOLVED] Jflash - Error connecting to ATSAML11E15A after programming.

    Post
    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…