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. Replies
    4
    Views
    26

    which Teensy is in use might be important.

    which Teensy is in use might be important.
  2. Replies
    2
    Views
    20

    There is an active thread looking into T4's...

    There is an active thread looking into T4's analogRead() : pjrc.com/threads/58387-Teensy-4-0-which-pins-for-which-ADC

    That is a WIP you might try.
  3. Replies
    94
    Views
    1,024

    Cool - will have to give it a look.

    Cool - will have to give it a look.
  4. Replies
    17
    Views
    326

    Downloaded and installed TD 1.49b2 for some...

    Downloaded and installed TD 1.49b2 for some reason this time it gave this on first run - I did not pick "Run":
    18414
    Looked at properties and it offered 'UNBLOCK', I did not check that and re-ran...
  5. Replies
    30
    Views
    1,449

    re: post #27 above { fail at 24 and 150 MHz } -...

    re: post #27 above { fail at 24 and 150 MHz } - it may be a clock setting issue : pjrc.com/threads/58567-Teensyduino-1-49-Beta-1
    Resolved perhaps in TD 1.49 by release.
  6. Replies
    30
    Views
    963

    Follow up to post #27. There is a problem at 24...

    Follow up to post #27. There is a problem at 24 MHz startup speed switching from power up reset speed - this may explain failed SDIO on SDFat Beta code?

    EDIT UPDATE: Building at 150 MHz start...
  7. Replies
    30
    Views
    963

    Indeed it is likely a rare not 'generally' easy...

    Indeed it is likely a rare not 'generally' easy to hit problem - and easy to work around. In doing the work on MICROS() using the millis() + CycleCounter timing I never triggered it. If the clock...
  8. Replies
    30
    Views
    963

    Paul - this millis() issues on certain...

    Paul - this millis() issues on certain set_arm_clock transitions. See: pjrc.com/threads/58053-T4-set_arm_clock-and-micros()

    Title says micros() but that is because it tracks on millis() clocking.
  9. Replies
    7
    Views
    337

    Paul - TeensyDuino 1.49 fixable? Certain passes...

    Paul - TeensyDuino 1.49 fixable? Certain passes through set_arm_clock() with clock speed transition depending on current settings leave the clocking for millis() not properly set.

    Post #2 the...
  10. That isn't part of std WIRE lib it seems - so...

    That isn't part of std WIRE lib it seems - so adding may have complications.

    Looking at : \hardware\teensy\avr\libraries\i2c_t3 included in TD it does note non-blocking version details.

    For...
  11. Replies
    30
    Views
    963

    This came to mind:...

    This came to mind: github.com/ftrias/TeensyThreads/pull/21



    Also note :: This branch [ PaulStoffregen/TeensyThreads {Latest commit on Aug 22, 2017} ] is 19 commits behind ftrias:master.
  12. Replies
    30
    Views
    963

    I saw github CORES has first pass of T4 USB...

    I saw github CORES has first pass of T4 USB Keyboard checked in followed by mouse and joystick - likely out with Beta 2 when it is ready:


    Add USB keyboard for Teensy 4.0

    Add USB mouse &...
  13. Replies
    10
    Views
    128

    The T4 or T_3.6 SDIO interface to an SD card can...

    The T4 or T_3.6 SDIO interface to an SD card can write perhaps 10 MB per second - depending on the driver library used. Also 5-15 MB/sec writes to disk or flash drive are possible with USB Host...
  14. The info on the part in use would be needed to...

    The info on the part in use would be needed to give a complete answer.

    The ones used by PJRC are on the website and are a Electret Condenser Microphone. Unless the MEMS mic in use presents the...
  15. opps - that explains my thinking it wasn't...

    opps - that explains my thinking it wasn't compiling the right code - I saw the IMXRT file which was obvious - but ignored the WireKinetis file :(
  16. at a glance it looks like that should prevent the...

    at a glance it looks like that should prevent the compiler from saying that - assuming it is called with no (params)? - confirm in verbose console output it is building with the sources from that...
  17. Replies
    13
    Views
    127

    That sounds great Paul. Other simple test done...

    That sounds great Paul. Other simple test done here looked good and reliable - even if it was not built for speed - it was reliable. And as noted dumping some @luni_LATIN text quickly pushed to 10...
  18. Replies
    94
    Views
    1,024

    IDE 1.8.9 builds much faster AFAIK - 1.8.10 does...

    IDE 1.8.9 builds much faster AFAIK - 1.8.10 does mega rebuild on the tiniest change on Audio sketch.
  19. Replies
    13
    Views
    127

    I did use you inbuilt firmware upload - same...

    I did use you inbuilt firmware upload - same speed 4.86? Seems to go to Panic flash after 1 iteration with send of 0.02MB?

    It finds a single T4 nicely on hub or left front port - but not on right...
  20. Replies
    13
    Views
    127

    @luni - Nice. I took a quick look 'software' -...

    @luni - Nice. I took a quick look 'software' - 'firmware' - looks like usable files are there somewhere for both CPU's :) I grabbed the first line of the latin text 930+ bytes and threw that in the...
  21. 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...
  22. 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...
  23. 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. ...
  24. 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...
  25. @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...
  26. 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?
  27. 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...
  28. 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...
  29. 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...
  30. 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...
  31. 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...
  32. 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...
  33. 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...
  34. 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...
  35. 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?
  36. 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.
  37. 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...
  38. 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
  39. 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. ...
  40. Replies
    30
    Views
    468

    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;

    ...
  41. Replies
    30
    Views
    468

    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...
  42. Replies
    30
    Views
    468

    +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...
  43. Replies
    30
    Views
    468

    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...
  44. Replies
    30
    Views
    468

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

    Looking across the forum these notes came up in T4 Beta thread:
  45. 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...
  46. Replies
    30
    Views
    468

    @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...
  47. Replies
    63
    Views
    15,213

    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...
  48. Replies
    63
    Views
    15,213

    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...
  49. Replies
    63
    Views
    15,213

    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...
  50. Replies
    4,361
    Views
    482,901

    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...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4