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

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

    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...
  4. 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
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. OPPPS - just checked - p#13 above was done with...

    OPPPS - just checked - p#13 above was done with IDE SerMon NOT_ PJRC Port selected Teensy SerMon : Update below

    Changing to Teensy Ports _ Teensy-Monitor { updated just now from other IDE 2 SerMon...
  10. OPPPS - just checked - this was done with IDE...

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

    Only this big here - IDE 2.0.2 just restarted.
    Opened SerMon to T_4.1 and exising code...
  11. @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...
  12. Replies
    3
    Views
    121

    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...
  13. 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.
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. Replies
    9
    Views
    458

    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...
  19. 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...
  20. Replies
    9
    Views
    458

    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:...
  21. Replies
    9
    Views
    526

    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.
  22. Replies
    69
    Views
    19,564

    KurtE docs shared on...

    KurtE docs shared on github.com/KurtE/TeensyDocuments
  23. Replies
    62
    Views
    5,674

    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":...
  24. Replies
    62
    Views
    5,674

    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...
  25. 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.
  26. 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.
    ...
  27. Replies
    14
    Views
    427

    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
  28. Good work/play :)

    Good work/play :)
  29. Replies
    18
    Views
    511

    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...
  30. 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...
  31. Replies
    18
    Views
    511

    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...
  32. 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...
  33. 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...
  34. Replies
    16
    Views
    409

    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 ...
  35. 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...
  36. 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...
  37. 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.
    ...
  38. They have been working together on...

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

    done .....

    done .....
  40. Replies
    5
    Views
    218

    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...
  41. Replies
    5
    Views
    218

    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...
  42. 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...
  43. Replies
    5
    Views
    269

    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...
  44. 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
  45. Replies
    7
    Views
    400

    Generally quite true - though it can work at...

    Generally quite true - though it can work at times with usable words that cover the topic ...
    Bing used here would look like:
    bing.com/search?q=site:pjrc.com%20pwm+phase

    Here top results show...
  46. The last code in p#13 matches the change that...

    The last code in p#13 matches the change that fixed the noted 'for' issue from your post #12 code where static byte i seems to match the new counter behavior:


    if (currentTime - lastSwitchDelay...
  47. >> Opps - crossposted now - ... watching TV over...

    >> Opps - crossposted now - ... watching TV over dinner ...
    Not sure everything is clear with short code snippets but seems that the IF(TIME) conditional is simple causing the for loop to skip the...
  48. just a glancing guess? The time to wait after...

    just a glancing guess?

    The time to wait after each setting of the 'digitalWrite(switchCols[i], LOW);' Would need to be some consistent wait on each change of the control/measure lines?

    The...
  49. Replies
    3
    Views
    220

    re p#3: That thread was about a DIY 1062 PCB -...

    re p#3: That thread was about a DIY 1062 PCB - and yes that is why it blinks twice. This is on a PJRC Production T_4.0. It represents the same issue - but isn't on DIY hardware so resolution isn't...
  50. Replies
    2
    Views
    385

    This is long and old thread using T_3.6 :...

    This is long and old thread using T_3.6 : pjrc.com/threads/48856-uNav-INS?highlight=unav

    It was doing GPS at 10/sec and IIRC could sustain 500 9 DOF at 500+ cycles per second (A T_3.5 IIRC was...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4