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. Replies
    29
    Views
    237

    If designed for 12V direct connect would expect...

    If designed for 12V direct connect would expect they will have resistors to work at that voltage. Measure current against 12V if one handy not connected to Teensy.
  2. Is there a simple repro case with the _isr()...

    Is there a simple repro case with the _isr() timing and data coming into Serial2? For the test sending from Serial1 crossed to Serial2 would be easy. Also details on what is sent out Serial7 for...
  3. Replies
    783
    Views
    25,258

    Not sure where it will be in the end with regard...

    Not sure where it will be in the end with regard to PJRC - but there is this thread: T4-1-Ethernet-Library that has current details.
  4. Replies
    783
    Views
    25,258

    Is that the sketch from : Teensy-4-1-Beta-Test...

    Is that the sketch from : Teensy-4-1-Beta-Test that post Paul posted 5/13?
    >> github.com/PaulStoffregen/teensy41_psram_memtest/blob/master/teensy41_psram_memtest.ino

    If so it would start like:
    ...
  5. Replies
    783
    Views
    25,258

    Thanks @jwatte,@KurtE Cache is disabled on...

    Thanks @jwatte,@KurtE

    Cache is disabled on the RAM1==ITCM/DTCM regions because it runs at CPU speed - no coherency problems there
    Currently the ITCM is left writable - that area can be...
  6. Replies
    4
    Views
    106

    is latest TeensyDuino 1.52 installed?

    is latest TeensyDuino 1.52 installed?
  7. Upload timing was just a query to get a picture. ...

    Upload timing was just a query to get a picture. Not seeing general setup details - is this Windows or other?

    On windows when TeensyLoader isn't running it has been taking 15 secs to start on...
  8. is it link or has upload started? Large sketches...

    is it link or has upload started? Large sketches need to erase a lot of FLASH.

    wHAT IS THE BOTTOM LINE ON THE COMPILE FOR USAGE?
  9. Not yet seen Harm from 15s Restore. It reloads a...

    Not yet seen Harm from 15s Restore. It reloads a no USB Blink factory sketch.

    Then like new - the first upload takes a Button press to get to bootloader and facilitate upload as it comes as noted...
  10. That encoder sounds like a different problem to...

    That encoder sounds like a different problem to solve - good luck.

    If the loop() were changed to remove the delay(4) and instead use an elapsedMillis Foo to: if ( Foo>4000) {Foo=0; { rest of the...
  11. Replies
    7
    Views
    174

    Cool update here included T_4.x's !!! - but...

    Cool update here included T_4.x's !!! - but change to T_3.6 looks like copy paste error?? : pjrc.com/store/


    Teensy 4.1 – Teensy 4.1 with Pins – Extreme 600 MHz Speed, with USB Host, SD Card,...
  12. What are the interrupt priority levels of the...

    What are the interrupt priority levels of the encoder versus the IntervalTimer? If the encoder is the same or lesser - the encoder will also have interrupts queued {like p#4} and not be able to act...
  13. Replies
    23
    Views
    1,058

    Sticky: @immortalSpirit - one thought ... given no idea...

    @immortalSpirit - one thought ... given no idea of sketch behavior WRT to the following ...
    How does setup() start before printing - is there a 'no print' before connect like below? On Windows this...
  14. @wwatson did a USBHost lib for USB using a dongle...

    @wwatson did a USBHost lib for USB using a dongle to wired ethernet that worked well. Not sure if that experience relates?

    That example used the TeensyThreads to periodically call some check...
  15. Replies
    783
    Views
    25,258

    Indeed very cool - great that the dimensions were...

    Indeed very cool - great that the dimensions were right and the board was made(routed) to spec and it worked! With GND and 3V3 on that board and vBat or On/Off that extra half inch could to a lot -...
  16. Replies
    783
    Views
    25,258

    That would be way easier to document and...

    That would be way easier to document and implement.

    What would it look like if it could be inverted? A user wanting PSRAM would just declare: uint8_t external_psram_size;
  17. Would it be too much to have each SerialX Rx code...

    Would it be too much to have each SerialX Rx code set a flag?

    And a way to put the same in the weak code - obviously always false.

    When real code gets loaded on use - on Rx event the flag goes...
  18. Replies
    783
    Views
    25,258

    Too late here to unzip and see current code for...

    Too late here to unzip and see current code for pointer. But - as noted above p#751 - there are just three functions to access [read, write, format] Flash - once it is enabled. These are...
  19. The T_4.0 with a free running [not blocked]...

    The T_4.0 with a free running [not blocked] loop() cycles very fast - it starts at ~11 million cycles per second before adding code - but can drop to just a couple million quickly. There is a...
  20. Replies
    783
    Views
    25,258

    I should look at the current setup to say for...

    I should look at the current setup to say for sure - but as developed the PSRAM wasn't configured before setup until done as TD 1.52 released.

    There is a SPIFF files system element and a separate...
  21. Replies
    3
    Views
    66

    In order to work with Audio Board...

    In order to work with Audio Board it would share the #7 common pin.
  22. Works as well on T_3.6! Moved 5 jumpers to the...

    Works as well on T_3.6!
    Moved 5 jumpers to the T_3.6 topside pins with minor edits for array declare and #define of number of ports to loop.

    Results below when using Events - look to be worse.
    ...
  23. Interesting - Serial1-6 shouldn't be a factor...

    Interesting - Serial1-6 shouldn't be a factor conflicting with any other - if i2c is on pins 18&19? - though the Serial buffers may overflow during long SD writes?

    Using the T_3.6 native SD card...
  24. Code behaving and working as expected!!! It is...

    Code behaving and working as expected!!!

    It is best not to use serialEvent() processing! But this improves the situation.

    Code below for this and prior post. Adding a single :: void...
  25. Starting a sketch with JUMPER plugs on all T_4.1...

    Starting a sketch with JUMPER plugs on all T_4.1 Serial#'s. So far all 8 ports work without Event checking.

    Every second it prints 'ii' from loop to each Serial#[1-8]
    Every 2+ seconds if reads...
  26. I just swapped one T_4.1 for another and had a...

    I just swapped one T_4.1 for another and had a moment of confusion finding the new one - said it wasn't there ... it worked after a button push or two or something ...

    <edit>: Turns out I'm...
  27. @Kurt - did you make a #ifdef''d sketch that...

    @Kurt - did you make a #ifdef''d sketch that iterates the valid : if (serial_event_handler_default) Serial.print( "port USER Event" ); else Serial.print( "port NULL" );

    oppps - found that is...
  28. Replies
    783
    Views
    25,258

    @mjs513 - opps forgot the branch link ....

    @mjs513 - opps forgot the branch link ....
  29. Replies
    783
    Views
    25,258

    @MartyMacGyver ... Paul noted in TD 1.52 release...

    @MartyMacGyver ... Paul noted in TD 1.52 release the PSRAM clocking was set to 88 Mhz to assure all would be well for new hardware going out with such chips installed - since it was done in startup.c...
  30. Pulled the few hours old CORES to 2nd IDE 1.8.12...

    Pulled the few hours old CORES to 2nd IDE 1.8.12 folder.

    LOOKS AWESOME KURT!!!! That set of QUICK EXIT changes to yield processing looks to MATCH user added private 'void yield()' !!! :)
    ...
  31. Replies
    47
    Views
    595

    Looking at this off and on - it seems the trouble...

    Looking at this off and on - it seems the trouble here is from the __STREXW code :(

    Have filled SD cards a couple times on two T_4.1's using the nointerrupt() prior code:


    noInterrupts();...
  32. Wondered how many cycles in and out of loop() -...

    Wondered how many cycles in and out of loop() - runs, but CYCCNT won't work on T_LC:


    const char szTeensy[] = "Teensy 4.1";
    #if 1
    void yield() {}
    const char szTest[] = "TD 1.52 :: PRIVATE ...
  33. That makes more sense of the numbers and where...

    That makes more sense of the numbers and where the state of progress was for 4.x and 3.x.

    Testing below on stock TD 1.52 - will wait for github update for 3.x and make sure 4.x is settled.
    ...
  34. Replies
    16
    Views
    252

    Great news!

    Great news!
  35. Replies
    16
    Views
    252

    Rev D audio board uses pin 13 for SCK with Teensy...

    Rev D audio board uses pin 13 for SCK with Teensy 4.x?
  36. Not sure I'm making sense of the test numbers? ...

    Not sure I'm making sense of the test numbers?

    One simple real test would be monitor of count of loop() per second:
    >> Yield as it was
    >> User sketch :: void yield() {}
    >> Yield as it is...
  37. Replies
    16
    Views
    252

    Solder braid ... ds-solder wick - is a cool thing...

    Solder braid ... ds-solder wick - is a cool thing ... but gets really hot using it.

    Touchscreen: Did it get its own CS pin unique and not used by anything else - one for display and one for...
  38. That looks cool KurtE - reading the PR comment...

    That looks cool KurtE - reading the PR comment provides good info
  39. Replies
    783
    Views
    25,258

    usb_desc.c has this code for T_4.x serial number...

    usb_desc.c has this code for T_4.x serial number presented:


    void usb_init_serialnumber(void)
    {
    char buf[11];
    uint32_t i, num;

    num = HW_OCOTP_MAC0 & 0xFFFFFF;
    // add extra zero to work...
  40. If that lets yield() processing more quickly do...

    If that lets yield() processing more quickly do less or nothing when those things are not in user code that is very cool.

    What dies the resultant yield() processing look like?
  41. Moving? A new residence - or getting out for...

    Moving? A new residence - or getting out for exercise moving?

    Stay well, looking forward to your next posts.
  42. Referring to this work Frank? - just posted on...

    Referring to this work Frank? - just posted on similar thread :: T4-0-Memory-trying-to-make-sense-of-the-different-regions
  43. Frank B posted an alternate linker script that...

    Frank B posted an alternate linker script that leaves all code in the 1900+KB of T_4.0 Flash (may have been demo'd for T_4.1?) - unless marked FASTRUN. That can hurt perf unless the right active...
  44. Any program that runs on the T_3.6 should/can be...

    Any program that runs on the T_3.6 should/can be able to be made to run on a T_4.

    The Instruction and Data portions are 512 MB in size. The default configuration ( see the...
  45. The T_3.6 uses no external crystal - RTC support...

    The T_3.6 uses no external crystal - RTC support is built in when the Teensy is powered - when powered the RTC gets proper power as needed.

    The vBat pin specifies 3V coin cell - not sure putting...
  46. too picky Frank :) ... full context: Teensy 4.0...

    too picky Frank :) ... full context:
    Teensy 4.0 is the latest Teensy ... in the Teensy 1.4 by 0.7 inch form factor

    And to update for the T_4.1::
    Teensy 4.1 is the latest Teensy ... in the Teensy...
  47. This product page has lots of 4.0 details that...

    This product page has lots of 4.0 details that generally apply to 4.1 as well for the 1062 aspects:: pjrc.com/store/teensy40.html

    It gives a larger explanation of memory on the 1062 processor
  48. T_4 uses pin 13 for SCK - so pin blink needs to...

    T_4 uses pin 13 for SCK - so pin blink needs to move to another pin and supplied LED.

    Is this a T_4.0 with a Rev D Audio board? Rev C or before won't work on T_4

    If so then the SPI for SD...
  49. IP camera? Wired ethernet?

    IP camera? Wired ethernet?
  50. CycCnt - Indeed it shouldn't be reset with...

    CycCnt - Indeed it shouldn't be reset with wrapping int32_t math - but the first example I found showed it used that way ... years back on the forum. But better they fix their code indeed.

    Prior...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4