Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: defragster

Search: Search took 0.02 seconds.

  1. This link into the header file on github shows a...

    This link into the header file on github shows a single param for setBreakPoint( func );

    If any SerMon has the COM port attached that is expected to be used to program - that will prevent upload...
  2. Working on another forum post with ADC I get one...

    Working on another forum post with ADC I get one cycle through loop() then it dies? Perfect chance for using GDB - EXCEPT::


    Reading symbols from...
  3. Staring at the 'error=2' line now - assuming...

    Staring at the 'error=2' line now - assuming Windows looking to run a known file type for "teensy_debug" and teensy_debug.py doesn't count?

    I just went to the folder CMD line and ran :...
  4. FYI: When I tried the installer it was older -...

    FYI: When I tried the installer it was older - but the adds to boards and platforms seemed to mess up TSET usage as the new menu options were not set - I assumed and didn't look for what they were to...
  5. I saw speed increase when removing this from...

    I saw speed increase when removing this from sketch :: #pragma GCC optimize ("O0") ... noted in prior post.

    >> But sample debug was unaffected in that case without that :: #pragma GCC optimize...
  6. With today's github code it seems to be fixed:...

    With today's github code it seems to be fixed: #define ASSERT(expr) if (!(expr)) { asm volatile("svc #0x11");}


    Reading symbols from T:\TEMP\\arduino_build_testOut.ino\testOut.ino.elf...done....
  7. This works amazingly easily and well - if only...

    This works amazingly easily and well - if only for a quick enable to detect code Faults! Rather than a mystery hang - you end up on a line of code with some ability to examine the system and...
  8. Pulled code into github desktop to glance at...

    Pulled code into github desktop to glance at changes - what fun.

    This is semi-redundant but harmless since delay() as noted calls yield() - in gitstub.cpp:

    delay(1);
    yield();
    Even if...
  9. Arduino ... TeensyLoader (or TyCommander, other)...

    Arduino ... TeensyLoader (or TyCommander, other) load the hex onto the Teensy as normal and it runs monitoring the port indicated in the sketch - sketch starts and runs as normal/programmed ......
  10. Wow - Fresh Code! ... it was 8 minutes old. ...

    Wow - Fresh Code! ... it was 8 minutes old.

    Put it on the T_4/4.1 combo - each under GDB

    Broke into the T_4 and did

    And the count was now passing 60/sec instead of just 10 { though full...
  11. Just installed IDE 1.8.13 and Beta 1 of TD 1.53...

    Just installed IDE 1.8.13 and Beta 1 of TD 1.53 and same GDB on Windows working.

    I commented the :: //#pragma GCC optimize ("O0")
    >> And it still 'seems' to work - without the drop from 9M to 5M...
  12. @ftrias - very good work indeed! That's what...

    @ftrias - very good work indeed! That's what multimon is for - running on one screen and debugging on the other. Very nice for catching faults and showing where and even having the code on hand -...
  13. It does work! I didn't put 'monitor' on the...

    It does work! I didn't put 'monitor' on the front - I worked from the summary list of commands - not reading the leading example in the text before :(
  14. That's with Python version running right? Tried...

    That's with Python version running right? Tried that on Windows where Python not native or right with included xxxGDB-py.exe and they are not known.

    <EDIT> :: It does work with proper syntax...
  15. GDB lib seems to be good and robust to CmdLine

    Edited github sketch to try to write a value to Address 0x0 and it faults when I send over Serial USB characters.

    Was running the sketch normally - then I hit SerMon 'Send' and it stops and shows...
  16. On Windows ran :: teensy_debug.exe ... BAD IDEA?...

    On Windows ran :: teensy_debug.exe ... BAD IDEA? ... as used here it with Command Line build from TSET.

    It asked for Arduino folder as it is a ZIP install

    It completed and Nothing would Build! ...
  17. Note sure what the installer does? Tie in Python...

    Note sure what the installer does? Tie in Python for 'add in commands' that don't seem to work now ? - digitalRead, digitalWrite, ...

    The above works without Python or anything else 'installed'...
  18. SUCCESS!!! Got the latest from github - Using...

    SUCCESS!!! Got the latest from github -
    Using library included example :: ...\libraries\TeensyDebug\examples\breakpoint_test\breakpoint_test.ino



    Reading symbols from...
Results 1 to 18 of 18