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

Search:

Type: Posts; User: defragster

Page 1 of 10 1 2 3 4

Search: Search took 0.06 seconds.

  1. Indeed, sounds like a Win issue - the few cmdline...

    Indeed, sounds like a Win issue - the few cmdline t_sermon dumps were garbage free output to file - it was good to see that finally.

    Security:: for sure some of the dumps of garbage could have...
  2. Indeed Win CMD output is slow - that is why I was...

    Indeed Win CMD output is slow - that is why I was doing the 1,000 batches before printing even one buffer. Though doing 10K batches did not run any faster - likely the minimal code overhead to clean...
  3. Doing this ::...

    Doing this :: T:\arduino_1.8.10\hardware\tools>teensy_serialmon.exe usb:0/140000/0/1 > seeme.txt

    The created file this way doesn't seem to show the printed corrupt messages in a couple of tries. ...
  4. Odd things noted above - using sketch with no...

    Odd things noted above - using sketch with no delays posted below.

    Not sure if any of this is T4 related - but all make at this this Win_10 PC an unreliable test bed::

    > I see garbage spew on...
  5. @Paul - modified prior PC app to read 512 bytes...

    @Paul - modified prior PC app to read 512 bytes in groups of 1,000 times - and sends each buffer back to the T4, but only prints the last buffer of the 1,000. One sign of trouble with that garbage...
  6. Indeed it is that thread. That post preceded the...

    Indeed it is that thread. That post preceded the notes on T4 memory pjrc.com/store/teensy40.html

    And above was right > what speed is RAM2 that it needs to be cached?
  7. There is a memory thread - search forum for...

    There is a memory thread - search forum for imxrt-size - details there may be helpful, also that exe imxrt-size will spit out info on what is allocated where at compile time. I posted an output of...
  8. OCRAM is all open in the TD 1.48 - for pending...

    OCRAM is all open in the TD 1.48 - for pending faster USB in TD 1.49 it looks like 12 KB is allocated to USB buffers for DMA access. When that is complete USB will be optional and turning it off...
  9. The code in the link above ::...

    The code in the link above :: pjrc.com/threads/48450-uNav-AHRS?p=168449&viewfull=1#post168449

    Puts the : attachInterrupt(digitalPinToInterrupt(GPS_SRX), GPS_serialrx_isr, RISING); - Directly on...
  10. Setting up the 'Rx' as a watch pin served the...

    Setting up the 'Rx' as a watch pin served the desired purpose of seeing the Start of data bits in that case, so no need for low level UART operation was needed in that code. And with only 5 or 10...
  11. That is more than a simple blink ... so added...

    That is more than a simple blink ... so added details might be helpful. Also interesting if the same process using the standard IDE install with known TeensyDuino can reproduce - it may be T4 or...
  12. Paul - minor update ... Interedted to hear if you...

    Paul - minor update ... Interedted to hear if you try this sketch and see similar or different behavior.

    I finally stopped the tSerMon - running fine - [ except no send after the first few seconds...
  13. Cool. Seeing signs of good throughput as noted...

    Cool. Seeing signs of good throughput as noted above - but requires the indicated delay()'s in some fashion to have my Win10 PC keep running.

    Right now with the last posted 7000/700 I have two...
  14. Modified the output to show a run time time...

    Modified the output to show a run time time measure in minutes:


    Moved the two delay times to #define at the top - printed for ref in setup():

    #define LONG_DELAY_SEC 7000 // in...
  15. What sketch is running - does it do this with...

    What sketch is running - does it do this with Simple Blink - or is this a full speed write to Serial sketch for SerMon message viewing?

    What version of the IDE and TeensyDuino are in use?
  16. Make this call in setup() and see if it completes...

    Make this call in setup() and see if it completes any faster: analogReadAveraging(1);

    IIRC by default the internal hardware averaging does 4 reads per returned sample.
  17. Paul - revisiting :...

    Paul - revisiting : PaulStoffregen/USB-Serial-Print-Speed-Test

    When you get back to USB testing - maybe PJRC's IDE SerMon will work better for you than on my Win10 box. In any case this is...
  18. Looking at Post #14 code - it looks like nothing...

    Looking at Post #14 code - it looks like nothing gets pasted - but the line
    #define SDFAT_BETA 0 is removed
  19. I've posted code that puts an interrupt on the Rx...

    I've posted code that puts an interrupt on the Rx pin that triggers when the STOP bit goes to START - the interrupt records the time, and turns itself off so data bit transitions are not trapped. ...
  20. Replies
    30
    Views
    431

    This should be #ifdef ?_1062_? since it is MCU...

    This should be #ifdef ?_1062_? since it is MCU specific?

    Also we know restart times under 2 are suspect or fail - it would be good perhaps to add:


    if ( delay_secs <2 ) delay_secs=2;

    ...
  21. Replies
    30
    Views
    431

    No, that as .a doesn't work as I tried it. ...

    No, that as .a doesn't work as I tried it.

    Normal code as :: sketchbook\libraries\reboot holding the reboot.h and .cpp instead of .a does work with this sketch:

    #include "reboot.h"

    void...
  22. Replies
    30
    Views
    431

    +Not: Thread titles are set in stone as they are...

    +Not: Thread titles are set in stone as they are the root of any link I suppose … Sorry the 'o' stays :(

    I wasn't sure about the _isr() - it fires immediately on/at EXIT? Maybe that is the MCU...
  23. Replies
    30
    Views
    431

    When I turned on the _isr() "Alarm" I was seeing...

    When I turned on the _isr() "Alarm" I was seeing it with prior code - but timing may have changed and USB may get lost on exit?

    Good to see it pared down some and working - I wasn't sure how much...
  24. Replies
    30
    Views
    431

    Looking across the forum these notes came up in...

    Looking across the forum these notes came up in T4 Beta thread:
  25. Paul - used Serial.peek() for the first time and...

    Paul - used Serial.peek() for the first time and it works.



    No, to get SerMon to send it typically pushes what was typed follwed by "ASCII code 10 = LF ( Line feed )". So a single character...
  26. Replies
    30
    Views
    431

    @WMXZ - above I noted this { post #12 } with a 2...

    @WMXZ - above I noted this { post #12 } with a 2 second turnaround could be a way to RESET/Restart the T4 - which I've not seen yet?

    There is a thread pjrc.com/threads/29607-Over-the-air-updates...
  27. Replies
    62
    Views
    15,110

    The manual is a headache at best. That code was...

    The manual is a headache at best. That code was from @WMXZ and whatever it does works - the only oddity in that thread was that Power button shares the Low Power restart segment of the RTC - and...
  28. Replies
    62
    Views
    15,110

    Just triggered the overtemp detection and it...

    Just triggered the overtemp detection and it seems to just halt. Other than this RTC restart that does an automated Power Off and Restart not recalling anything else worked.

    It'll work for now if...
  29. Replies
    62
    Views
    15,110

    Good to know nothing 'tweaked' your T4 in the...

    Good to know nothing 'tweaked' your T4 in the process! I usually have my speakers off too - especially when it sits there beeping over and over 4 times a minute :) - there are those times that...
  30. Replies
    4,360
    Views
    480,929

    Paul: Just notice triggering a 15 sec Restore on...

    Paul: Just notice triggering a 15 sec Restore on T4. Press button - Red LED dark - Red BLIPS at 15 seconds. I held it some time after that expecting it to bypass the RESTORE and when released it...
  31. Replies
    62
    Views
    15,110

    Yeah - it just needed a cast to stop the warning...

    Yeah - it just needed a cast to stop the warning - it was working so was ignoring that :: setSyncProvider((getExternalTime) Teensy3Clock.get);

    Odd the USB isn't good and right? That should...
  32. Replies
    62
    Views
    15,110

    Is that in ref to post #48 code? Came working...

    Is that in ref to post #48 code? Came working from IDE 1.8.10 install with TD 1.49b1. Yes there is 'THAT' warning about a type I didn't clean up - but it runs to T4 - that is a warning and the...
  33. Replies
    53
    Views
    2,300

    Guessing the disconnect from interweb was a...

    Guessing the disconnect from interweb was a special/specific request so that the test package would run in ANY case as properly signed and approved. When it can see the interweb it will have a...
  34. Replies
    62
    Views
    15,110

    Opened the sample for that RTC_Sleep code, here...

    Opened the sample for that RTC_Sleep code, here is where I left it in loop() there is a normal 20 second cycle and sleep 10 secs. If during the 20 secs push over Serial 'Enter' it does a RESET and...
  35. Replies
    62
    Views
    15,110

    Round about way to Reset :...

    Round about way to Reset : issue-to-reporogram-T4-0

    That code works to SLEEP the T4 with a timer to wake. When it wakes it enters setup() after fresh load from flash in ResetHandler(). Not seen...
  36. Replies
    1
    Views
    59

    this post 11/21 speaks to the issue:

    this post 11/21 speaks to the issue:
  37. Replies
    4
    Views
    102

    Those tests are generic showing suspicious...

    Those tests are generic showing suspicious behavior, pins to check or evaluate. They may be influenced by soldering itself or what it may be soldered to.

    Ideally a fresh Teensy would not find any...
  38. Replies
    1
    Views
    35

    Check this post / Thread :...

    Check this post / Thread : Problem-with-Teensy-3-2-Serial1-and-HC-06

    Legit quality HC05's seem to work - not sure of the source of ones in use.
  39. void setup() { pinMode (outputA,...

    void setup()
    {
    pinMode (outputA, INPUT_PULLUP);
    pinMode (outputB, INPUT_PULLUP);
    Serial.begin(9600);
    while( !Serial ); // Add this when seeing output is needed // or to wait 2 seconds...
  40. Does the coding account for the amplitude limits...

    Does the coding account for the amplitude limits on adding multiple sounds at once?

    If total signal combined hits over 1 you'll hear distortion. Seems there are notes in the Audio tool - or the...
  41. Replies
    4
    Views
    102

    There is a sketch here to test for shorts:...

    There is a sketch here to test for shorts: Possible-new-shields

    and this one that sets pins HIGH or LOW and then using a wire to PULL LOW or HIGH it will show the changes to Serial Monitor:...
  42. Replies
    10
    Views
    573

    Installed 1.49b1 over github cores on 1.8.10 :...

    Installed 1.49b1 over github cores on 1.8.10 : All seems good and well.

    Improved USB Serial Receive code working fine.

    RAM report looks different and about right - showing cross ref of...
  43. I was wondering about readBytes - (and any other...

    I was wondering about readBytes - (and any other class parts?) - especially when the .available() didn't match the while(read) count.



    Seeing 600 makes me wonder about running at least this...
  44. Paul - he did that before I posted the same about...

    Paul - he did that before I posted the same about 'private lib' - from this thread he is using the newest by @mjs513 in post #7 ::...
  45. That looks pretty much wonderful/good - using the...

    That looks pretty much wonderful/good - using the now current updated github\cores - at least to above sketch - updated below. So the change updates the count on each 512 packet - which moves above...
  46. See post #1 :: "NOTE: you will need to...

    I wonder if my setting is wrong? since so many people using both encoder libray without such problem, how can I check?[/QUOTE]

    See post #1 :: "NOTE: you will need to incorporate the Update imxrt.h...
  47. It is MUCH better in the right direction. ...

    It is MUCH better in the right direction.

    Assumed it was a WIP - if it was that easy you would have it done already. Saw the github update and wanted to see if the sketch was a decent test ......
  48. Paul - I saw github Update - it passes the above...

    Paul - I saw github Update - it passes the above post #16 code test it seems?

    Just room for TWO large buffers so far?



    Though it doesn't seem to like it if the send is a large 2800 bytes?...
  49. Paul Noted on other fixed thread about 'this'...

    Paul Noted on other fixed thread about 'this' thread:



    With that other issue fixed based on post #12 by Paul
    I'll write something much better this weekend. Will need as much help as possible...
  50. That looks Very Cool! Useful extension of touch...

    That looks Very Cool! Useful extension of touch and well played on the drum line/stick/bar ...

    What is in the drum bar for sensors?
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4