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.08 seconds.

  1. Indeed, KurtE caught the 'new thread' note before...

    Indeed, KurtE caught the 'new thread' note before I saw it - moved those long 'repro' posts over ... New thread is: Arduino-IDE2-Serial-Monitor-sometimes-does-not-work-continue-from-Upload-Thread
    ...
  2. Replies
    3
    Views
    48

    No pins - except VIN - are 5V tolerant on T_4.1...

    No pins - except VIN - are 5V tolerant on T_4.1 or T_4.0
  3. Thanks @KurtE - missed that post passing ... ...

    Thanks @KurtE - missed that post passing ...



    OPPPS - just checked - this was done with IDE SerMon NOT_ PJRC Port selected Teensy SerMon : Update below

    - IDE 2.0.2 just restarted.
    Opened...
  4. Replies
    7
    Views
    122

    Not seeing any code - assuming 'something...

    Not seeing any code - assuming 'something happens' and sometime after that further response is needed?

    That's what that code does: Waits for event "if ( time to wait 3300 milliseconds)" then...
  5. Replies
    7
    Views
    122

    Trying to reset the global system milliseconds...

    Trying to reset the global system milliseconds value can only cause trouble.



    Above code, here using elapsedMillis that seems to be linked in above link?
    Same net effect - usage is cleaner -...
  6. Replies
    7
    Views
    122

    Best is to use relative offsets on millis() for...

    Best is to use relative offsets on millis() for each timer involved.
    A uint32_t will always give the offset even after rollover of the millis() return value

    No idea what the usage for each looks...
  7. The T_4.1 on board SD socket is QSPI interface -...

    The T_4.1 on board SD socket is QSPI interface - actually SDIO 4 bit.
    Using latest TeensyDuino 1.57 the SD code includes an included version of SdFat that gives much better I/O speed for reads and...
  8. Replies
    5
    Views
    173

    Yes, the Forum inserting the '...' on auto...

    Yes, the Forum inserting the '...' on auto converting URL's is problematic for quick copies.

    The Blog post has good detail Paul wrote up. It could use some cross linking - but between the build up...
  9. Replies
    5
    Views
    173

    Correct, the 1.8.x Teensy Installer for...

    Correct, the 1.8.x Teensy Installer for TeensyDuino isn't needed when using IDE 2.0.

    Given the PJRC path to the boards and using Board Manager allow full install of the needed TeensyDuino files as...
  10. Glad the lazy data reported - that is what is...

    Glad the lazy data reported - that is what is showing here.

    @W5ZZO - Might view this issue for tycomm working simple task for IDE 2.0 integration: github.com/Koromix/tytools/issues/103
  11. Teensy loader doesn't have access to that like a...

    Teensy loader doesn't have access to that like a custom sketch would.

    Would take writing a sketch to upload to spit out the values in some fashion for manipulation, then perhaps another...
  12. More details needed. Seems there are some...

    More details needed.
    Seems there are some number of historical variations of the code - perhaps each with evolving settings stored in EEPROM?
    EEPROM is not erased on the upload - but if the...
  13. USB and all seem to run even at 24 MHz - so not...

    USB and all seem to run even at 24 MHz - so not sure of any reason 48 MHz would be problematic.

    Setting the clocks is on some even MHz chunk and during the calculation it is rounded up from the...
  14. ARM_DWT_CYCCNT was enabled early in T_4.0 Beta...

    ARM_DWT_CYCCNT was enabled early in T_4.0 Beta development as a tool to calculate micros() offset from last millis().
    Millis is run from a slow clock (24 MHz IIRC?) and that would not provide good...
  15. See thread :...

    See thread : forum.pjrc.com/threads/71588-Arduino-IDE2-Serial-Monitor-sometimes-does-not-work-continue-from-Upload-Thread?p=316529#post316529
  16. See thread :...

    See thread : forum.pjrc.com/threads/71588-Arduino-IDE2-Serial-Monitor-sometimes-does-not-work-continue-from-Upload-Thread?p=316529#post316529

    As far as behavior noted here this demonstrates it...
  17. @Paul - can you post that simple sketch - easy to...

    @Paul - can you post that simple sketch - easy to type but IDE and Boards need updating first it seems ...

    I'll build and run that and some other sketch and see if I can get a repro of any...
  18. Replies
    3
    Views
    154

    The T_3.5 is 5V tolerant but I/O are the same...

    The T_3.5 is 5V tolerant but I/O are the same 3.3V responsive, so no scaling needed.

    Indeed, in general they are pin for pin the same as far as I/O. Would have to confirm each pin comparing 'card...
  19. That looks like what was envisioned here. Too...

    That looks like what was envisioned here.

    Too late last night to go beyond answering the question posted.

    Now too early to except a quick glance.
  20. Not seeing it indicated - which Teensy? Assuming...

    Not seeing it indicated - which Teensy? Assuming T_4.x it can set one or more outputs quickly and then do any needed delay in delayMicroseconds() or delayNanoseconds() as needed before changing the...
  21. With IDE 2, been finding here that open SerMon...

    With IDE 2, been finding here that open SerMon working before upload will not 'reconnect' after upload. Requires SerMon Close and re-open then it connects and runs fine.

    So, closing SerMon and...
  22. Check the build menu for USB Type: Serial when...

    Check the build menu for USB Type: Serial when building the blink app.

    If no type including USB Serial is selected the board will not show as a serial device.

    With that, a healthy Teensy should...
  23. Lower right corner of 'Post Quick Reply' is 'Go...

    Lower right corner of 'Post Quick Reply' is 'Go Advanced'. On Advanced post there is an icon for 'attach file'.

    190KB may be close to MAX size and fail attach during 'upload file' after it is...
  24. Replies
    9
    Views
    519

    Indeed by 'Beta' I was talking about the...

    Indeed by 'Beta' I was talking about the Pre-Release hardware beta.

    Paul - I boxed two T_4.1's back to PJRC - not sure what they might show if you have looked at them - been a while delivered...
  25. The processor priority levels go in groups of 16...

    The processor priority levels go in groups of 16 from 0 highest to 255 lowest. 0-15 are all the same 'level', and so on.

    Found this web comment that describes the levels in the PJRC NXP chips, K64...
  26. Replies
    9
    Views
    519

    Paul@PJRC has noted a few times the pins should...

    Paul@PJRC has noted a few times the pins should NOT be held high when the Teensy is off.

    Though, during Hardware Beta for T_4.0 two units were set side by side with all 7 UART Serial connected:...
  27. Replies
    9
    Views
    594

    The Audio library controls the volume in...

    The Audio library controls the volume in software.
    The Analog input is just read to see where it should be set using the software.
  28. Replies
    69
    Views
    19,777

    KurtE docs shared on...

    KurtE docs shared on github.com/KurtE/TeensyDocuments
  29. Replies
    66
    Views
    6,138

    Sticky: Not finding any mention of IDE 2.0 on PJRC.com...

    Not finding any mention of IDE 2.0 on PJRC.com either - except HOME shows the BLOG post info: www.pjrc.com/

    Wow this is OLD - "How Does Teensy 2.0 Compare With Arduino?" - it is Left pane 'Main":...
  30. Replies
    66
    Views
    6,138

    Sticky: With p#49 steps followed IDE 2.x will have Teensy...

    With p#49 steps followed IDE 2.x will have Teensy boards available in Board Manager

    In Board Manager left edge Tab search for 'Teensy'

    It will so the PJRC Teensy board option and in that the...
  31. same problem in any other IDE If you post a...

    same problem in any other IDE
    If you post a sketch that reproduces this on IDE 1.8.19 or IDE 2.0.1 (current) and with current TeensyDuino 1.57 or 1.58Beta that could lead to a resolution.
  32. Triggering the sensors only? Not reading them? ...

    Triggering the sensors only? Not reading them?

    200 and 20 Hz are very 'casual'

    An interval timer could be used for the 200 Hz ( 5 ms ) and count every tenth and trigger the slower sensor.
    ...
  33. Replies
    14
    Views
    495

    If the notes are followed using the ELF file - it...

    If the notes are followed using the ELF file - it should show the affected line of code directly.

    Indication is the Interrupt is abusing a NULL pointer
  34. Good work/play :)

    Good work/play :)
  35. Replies
    18
    Views
    622

    Happy shooting! This post shows/links to...

    Happy shooting!

    This post shows/links to sample BreadCrumb code: pjrc.com/threads/70639-T4-CrashReport-Debugging-on-a-Mac?p=309275&viewfull=1#post309275
    ... links to...
  36. What happens with the 512 byte message? All the...

    What happens with the 512 byte message? All the flow is examined/exposed correct? Is there an odd packet and a second packet or no packet at all?

    @KurtE was doing MTP file transfer and there was...
  37. Replies
    18
    Views
    622

    By default, T_4.x code is all FASTRUN - unless...

    By default, T_4.x code is all FASTRUN - unless marked for storage in flash.

    Put a CrashReport test and print in setup() after Serial is online and before starting the timer.

    Not sure how fast...
  38. Good luck. Yes, it is that simple. Not sure...

    Good luck. Yes, it is that simple.

    Not sure how or where the number is to be used - but it will be captured with good precision with the cycle counter.

    Hopefully the notes are helpful to fit...
  39. Another way could be to find the number of...

    Another way could be to find the number of F_CPU_ACTUAL cycles (600M/sec) between calls to _isr().


    void _isr () {
    static uint32_t cycLast;
    uint32_t cycDiff = ARM_DWT_CYCCNT - cycLast;
    cycLast...
  40. Replies
    16
    Views
    487

    Running @KurtE p13 code on T_4.1 on a 64GB...

    Running @KurtE p13 code on T_4.1 on a 64GB SanDisk Ultra A1 card:
    Results agree as posted there



    C:\T_Drive\tCode\FORUM\SDcreate512\SDcreate512.ino Nov 14 2022 11:44:47
    SD card is present ...
  41. Is this a 'unit in operation' failing to function...

    Is this a 'unit in operation' failing to function at some point while running previously? Or is this from a 'cold start'?

    When in this state is it the case that removing and repowering the T_3.2...
  42. As @KurtE said : {local...

    As @KurtE said : {local install}\hardware\teensy\avr\libraries\SD\examples\listfiles\listfiles.ino seems to show the common code linked above.

    And indeed SD.H wraps the PJRC specific version of...
  43. Not sure if this is a good example of a Dir Walk...

    Not sure if this is a good example of a Dir Walk directory print for SD code? It works on LittleFS drives.
    ...
  44. They have been working together on...

    They have been working together on github.com/GrumpyOldPizza/ArduinoCore-stm32wb - selling on Tindie.
  45. Replies
    3
    Views
    244

    done .....

    done .....
  46. Replies
    5
    Views
    242

    Maybe you remember the device at hand? A display...

    Maybe you remember the device at hand? A display or Camera and if T_4.x or T_MM? Seems it got pushed to 72 or 84 and seemed to be functionaing - but no faster than at the ~60 number.

    Was going to...
  47. Replies
    5
    Views
    242

    There have been some anecdotal notes in prior...

    There have been some anecdotal notes in prior threads - seems it is near 60 MHz - it can clock a bit higher but seems the returns were diminishing or limited.

    Can't say if it was the device at...
  48. Looked at another STM platform @OneHorse was...

    Looked at another STM platform @OneHorse was working on - only 64 MHz.

    The @Grumpy guy behind that was doing DMA for ALL peripherals it seemed. Not sure if the architecture was diff than the NXP...
  49. Replies
    5
    Views
    307

    Teensy UART reads use interrupt support of the...

    Teensy UART reads use interrupt support of the hardware for FIFO to Empty on Rx or Fill on Tx.

    This happens using the Serial# {#=1,2,3,4,5,6} functions.

    In both cases a circular RAM buffer...
  50. second quick post - diff questions - same answer?...

    second quick post - diff questions - same answer?

    Other thread
    pjrc.com/threads/71465-UART-interrupt-for-teensy-3-5
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4