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

  1. The 'Multiple libraries were found for ...' is a...

    The 'Multiple libraries were found for ...' is a bogus message where the IDE broke that reporting feature with release of 1.8.10.

    It also seems to do extra recompiling on a rebuild that 1.8.9...
  2. Interesting - not sure if I tested with vBat...

    Interesting - not sure if I tested with vBat either - though it seemed that when USB stayed connected there was power to maintain low power when I was abusing the reserved dWords I found before ...
  3. Replies
    8
    Views
    74

    It looks like the ADC library can be used for...

    It looks like the ADC library can be used for single reads see this example :: ...\hardware\teensy\avr\libraries\ADC\examples\analogRead\analogRead.ino
    after setup() has this code:


    void loop()...
  4. the general idea AFAIK is that the code is...

    the general idea AFAIK is that the code is compiled more in order as written so stepping through sources matches execution order. And some optimizations that would obfuscate walking the code during...
  5. Replies
    9
    Views
    115

    post #15 on this thread: Soft-reboot-on-Teensy4-0...

    post #15 on this thread: Soft-reboot-on-Teensy4-0


    It was working on first beta 1050 when this was linked: https://github.com/tonton81/Watchdog_t4

    Didn't come across the note by Paul about...
  6. Replies
    2
    Views
    55

    Very cool looking. I don't have an MPU6050 to...

    Very cool looking. I don't have an MPU6050 to watch - wondering what happens if it just watches any random i2C transfers?

    Looks like this external file is really needed - not on my system:
    >>...
  7. Replies
    7
    Views
    118

    Awesome - glad I was reading and thought to...

    Awesome - glad I was reading and thought to mention it and it made such a dramatic difference! I've spent the last year with the T4 beta to release and it runs code from RAM by default.

    Just read...
  8. Replies
    199
    Views
    3,671

    Was that with the latest just released...

    Was that with the latest just released TeensyDuino 1.49? If you can post a simple sketch that works for T_3.2 that fails on T_4.0 with TD 1.49 that would be the first step.
  9. Replies
    9
    Views
    115

    This thread ::...

    This thread :: forum.pjrc.com/threads/58484-issue-to-reporogram-T4-0

    Next post has a LIB version for that delayed 'boomerang' restart. It works - just have to be sure the LP restart is...
  10. Replies
    9
    Views
    115

    Open issue AFAIK … Yes - T4 just goes offline to...

    Open issue AFAIK … Yes - T4 just goes offline to Bootloader - no restart.

    Closest solution was set the wake up timer for 2 seconds then SLEEP the T4 - it then auto wakes to setup() in 1-2 seconds....
  11. Have you got a minute to test ? My efforts were...

    Have you got a minute to test ? My efforts were wrong or it doesn't work as expected.




    That looks nice Frank - I can't test it just now. One comment - you might #ifdef it to have those...
  12. Okay - so I read the code right - though when...

    Okay - so I read the code right - though when _isr triggers I never see that bit #17 set with the HEX print of the register - until power on? Would be nice to have a way for the user callback to...
  13. Built here in 7 min 21 secs - a long time - but...

    Built here in 7 min 21 secs - a long time - but no abusive looking CPU / RAM / or DISK usage? An i7 with 4*2 cores showed 20% - with no core pegged - 8 sets of jaggies. All building on SSD drive T:...
  14. Frank - I see the _isr() trigger and reset NOT as...

    Frank - I see the _isr() trigger and reset NOT as :: SNVS_LPSR |= (1 << 17); // PG 1313 clear interrupt
    But as this coded above p#11:: SNVS_LPSR |= (1 << 18); // PG 1313 : Write SPO bit to clear...
  15. Replies
    6
    Views
    97

    How much current does that LITE pin expect to...

    How much current does that LITE pin expect to work?

    Does this work?


    pinMode(TFT_LITE,OUTPUT);
    digitalWrite(TFT_LITE,HIGH);

    And pinMode(,OUTPUT) isn't needed for analogWrite()
  16. I had an ili9341 go white - it was a display...

    I had an ili9341 go white - it was a display failure. YMMV: Mine came back closing J1 - AFAIK that bypasses the 5V part - so then it could only run at 3.3V?
  17. Replies
    7
    Views
    118

    Not sure what current code looks like ... If...

    Not sure what current code looks like ...
    If the _isr() did this stop() on end then bDone test is not needed at top of _isr() :: if (!bDone && last_portb != current_portb)


    if...
  18. Frank - this edits the upper WORD? Not sure to...

    Frank - this edits the upper WORD? Not sure to what effect - did not use :: // SNVS_HPCOMR |= (1 << 4);

    Also page number 1313 in Rev1 RM would have been a good link :)

    Here is a run of code...
  19. Thanks Frank - here is a starter sketch: ...

    Thanks Frank - here is a starter sketch:


    void setup() {
    // put your setup code here, to run once:
    Serial.begin(115200);
    while (!Serial && millis() < 4000 );
    Serial.println("\n" __FILE__...
  20. Replies
    8
    Views
    74

    It is now ... with @AlexisJohn a first time...

    It is now ... with @AlexisJohn a first time poster with no example code or specifics posted it seemed like a good starting point to clarify :)

    ADC was just updated to support T_4.0 in latest TD...
  21. Replies
    8
    Views
    74

    If using on the same pins there will be a...

    If using on the same pins there will be a conflict as the ADC library needs to be in control of those pins. Is that the desired use case?
  22. Replies
    12
    Views
    266

    Teensy 4.0 does have USB Host software code...

    Teensy 4.0 does have USB Host software code working for ps4 controllers and Bt dongle if that was the goal - there is a thread on that with test usage - titled as USB Host T_3.6 in some fashion...
  23. Would be nice to have notice of Power OFF start. ...

    Would be nice to have notice of Power OFF start. Of course starting a timer to notify if the Power OFF was cut short and not actualized, or having it be a CHANGE interrupt where the return to HIGH...
  24. Give this article by Paul a read :...

    Give this article by Paul a read : https://www.pjrc.com/better-spi-bus-design-in-3-steps/

    CS pins should be pulled HIGH when the device is not to be addressed. The CS pin to a single device must...
  25. Replies
    3
    Views
    52

    resolved ...

    resolved ...
  26. Replies
    25
    Views
    810

    Sticky: Can you post a simple repro example/steps? Not...

    Can you post a simple repro example/steps? Not sure how '@ 2M baud' relates as USB Serial is always at USB max throughput - and that was stepped up between TD 1.48 and 1.49.


    Does this change...
  27. Replies
    29
    Views
    2,414

    Looking at INPUT_DISABLE it changes the...

    Looking at INPUT_DISABLE it changes the hysteresis handling of the pin. That explains why it was resistant to change mid-value as shown in post #10


    } else { // INPUT_DISABLE
    *(p->pad) =...
  28. Replies
    115
    Views
    7,983

    Frank - assuming the public details are limited...

    Frank - assuming the public details are limited to the NXP link on p#1. There is the same single DOCUMENTATION on that link that was there with minor added details to the main page. Looking there...
  29. Replies
    29
    Views
    2,414

    Assuming Paul had an idea to know to suggest this...

    Assuming Paul had an idea to know to suggest this and follow-up is coming. Perhaps a change to be made in pin setup in analog read usage so it just works ...
  30. this is a duplicate thread to...

    this is a duplicate thread to pjrc.com/threads/59109-How-to-read-the-output-from-a-preprogramed-teensy

    Closing it
  31. If the Teensy is setup to print data out the USB...

    If the Teensy is setup to print data out the USB port that will show with a terminal program on USB - the Arduino IDE has such a Serial Monitor program. If the TeensyDuino software is installed...
  32. Sounds nice and makes sense if it speeds...

    Sounds nice and makes sense if it speeds re-compile time. Though something seems worse in handling between IDE 1.8.9 and 1.8.10 where it seems some things get rebuilt more often - but that hasn't...
  33. Replies
    29
    Views
    2,414

    With Teensduino 1.49 released - if this...

    With Teensduino 1.49 released - if this reproduces on that version like in post #10 - this would be worthy of a new thread perhaps with notes and observations summarized there for investigation.
    ...
  34. Replies
    9
    Views
    130

    analogRead() blocks for some short time doing the...

    analogRead() blocks for some short time doing the read - not sure if it has any other side effects - but apparently as used it is bad to have in an _isr() and that isn't surprising.

    For fast and...
  35. Replies
    9
    Views
    130

    Indeed the " __IMXRT1062__ " signifies the...

    Indeed the " __IMXRT1062__ " signifies the Teensy_4.0 processor.

    As for extra hardware - if it can repro in a simple case just dropped into IDE and run on a nearly bare T_4 that would allow anyone...
  36. Replies
    115
    Views
    7,983

    Very interesting to see how it resolves. With...

    Very interesting to see how it resolves. With twin CPU's one each of M4 and M7 core type and speed - versus two equivalent same speed cores like ESP32 where they built with a version of RTOS to hide...
  37. Replies
    9
    Views
    130

    Can a demonstrative sample be posted - minimal...

    Can a demonstrative sample be posted - minimal and complete to work without extra hardware? Details on timing frequency and such may be an issue.

    Changing the period only happens at the end of a...
  38. Replies
    25
    Views
    810

    Sticky: Good info. Didn't know the upgrade cleanup was...

    Good info. Didn't know the upgrade cleanup was limited to core files.

    I was going to note that personal edits of added files will not be touched, and that library adds/edits should be done in...
  39. Replies
    25
    Views
    810

    Sticky: Yes, A newer installer will properly overwrite...

    Yes, A newer installer will properly overwrite prior versions with all the new code and utilities.
  40. Replies
    4
    Views
    77

    T_4.0 has a fully operational RTC Hardware...

    T_4.0 has a fully operational RTC Hardware section - and running from vBat power maintains operation when Teensy otherwise Off.
  41. I just swapped out 256GB SSD on PC labelled 5V...

    I just swapped out 256GB SSD on PC labelled 5V 1.7A. I put in a new 512GB SSD that said writes take 3.3W or 0.66A if at 5V. The 2011 Teensy Test 120GB SSD says 5V at 1A. So none of these would run...
  42. Indeed - only needed with a HUB - and except...

    Indeed - only needed with a HUB - and except FLASH drives or powered external drives - my bare HDD's and SSD's all require a HUB for power.

    I just bumped buffer from 8 to 32 with uint32_t array of...
  43. Wow - so long ago ... Latest commit on Dec 11,...

    Wow - so long ago ... Latest commit on Dec 11, 2016

    This was used to use Teensy to pass through Serial as Arduino programmer for the ESP8266 - then share data with ESP over serial when running:...
  44. Replies
    30
    Views
    894

    Minor indeed ... Maybe memory will be better then...

    Minor indeed ... Maybe memory will be better then :) - just thought of it again after months seeing it in 1.48 beta #3 ... and that is not in github code to post a fix ......
  45. Replies
    30
    Views
    894

    @Paul - Boards.txt still shows this Just...

    @Paul - Boards.txt still shows this


    Just checked again that still the gives 996 MHz at runtime:


    35C loopTime=357230 run mins=0.157983 F_CPU=996000000


    with this:
  46. Replies
    100
    Views
    151,978

    Sticky: Look at photo images on PJRC.com for the Teensy...

    Look at photo images on PJRC.com for the Teensy 4. A bit soon and complex for it to be cloned - and if so not likely to have the exact layout and colorization and silkscreen.

    Did it come with a...
  47. Replies
    30
    Views
    894

    No problems here in the couple of things I've...

    No problems here in the couple of things I've done. The i2c twin ssd1306's on a T_4.0 are running fine:


    Used the IDE to compile and upload a few sketches more than a few times after 1.49b5 on...
  48. USBHost thread has a decent usable library for...

    USBHost thread has a decent usable library for Flash/HDD/SSD drive attachment and access.

    It seems that was updated to TeensyDuino release copy?

    Though that thread uses MSC and uSDFS libraries.
  49. With more console output that could be seen where...

    With more console output that could be seen where it shows what libraries are used from where.

    IDE's "ctrl+comma" shows file/prefs and 'sketchbook' folder - that folder with be where 'libraries'...
  50. Given Paul's post above - it might be resolved...

    Given Paul's post above - it might be resolved with an update to the latest TeensyDuino. 1.48 has been released and 1.49 is in Beta and likely to be released in the next day - with no changes so far...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4