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

  1. Replies
    7
    Views
    114

    Understood - p#1 suggested USB and other things...

    Understood - p#1 suggested USB and other things working and p#2 was to suggest USB isn't trivial code as Paul has noted it was a big dev task.

    Pointing out there isn't a known boilerplate solution...
  2. -0s doesn't disable floating point math,...

    -0s doesn't disable floating point math, functions, instruction or calculations - just the formatting code for printing.
  3. Looking at:...

    Looking at: ...\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\boards.txt

    It shows these lines that seem to match the indicated for compiling and linking commands in boards.txt (for...
  4. Replies
    30
    Views
    3,145

    If programmed with simple BLINK (No USBHost...

    If programmed with simple BLINK (No USBHost activation) does anything still get hot? If no hot spots when no USBHost it might point to that switch chip being trashed - and self heating rather than...
  5. Interesting point. @MichaelMeissner worked in...

    Interesting point. @MichaelMeissner worked in that world - I mistook it for a subset of LTO options.
  6. Great news if the code builds/uploads and runs as...

    Great news if the code builds/uploads and runs as expected. Until recent TeensyDuino update (1.59 Beta?) the use of LTO was not functional.

    Seeing notes on results or modifications to the build...
  7. Followed that and see: #define LFS_VERSION...

    Followed that and see: #define LFS_VERSION 0x00020004
    Here at line #25: github.com/lorol/LITTLEFS/blob/master/src/lfs.h

    The integrated to ESP32 version of LittleFS seems to be using the same on...
  8. Replies
    30
    Views
    3,145

    Not sure about the chip and what could stress it...

    Not sure about the chip and what could stress it beyond over voltage. AFAIK it is a switch that controls current flow on startup to conform to USB spec and prevent VIN from a surge that would...
  9. Replies
    7
    Views
    114

    as for The Common Microcontroller Software...

    as for The Common Microcontroller Software Interface Standard (CMSIS) is a vendor-independent abstraction layer for microcontrollers that are based on Arm Cortex processors.

    Web search shows:...
  10. Replies
    7
    Views
    114

    Install TeensyDuino in the IDE (paths below on...

    Install TeensyDuino in the IDE (paths below on Windows). This provides the gcc toolchain and all the needed header and processor startup code for void ResetHandler(void) that calls main().
    See this...
  11. LittleFS as included was customized to Teensy...

    LittleFS as included was customized to Teensy usage (hardware pin access interface to storage media) from a common source at some version ##.

    Using the same source for one that supports ESP32...
  12. Replies
    30
    Views
    3,145

    Have used USB Host here direct and with powered...

    Have used USB Host here direct and with powered hub - never on batteries and have not seen this on T_4.0 or T_4.1.

    There is a chip onboard that switches the power pin on the USB Host and feeds...
  13. Just did that to post and it gave build error so...

    Just did that to post and it gave build error so posted that ... Seems to have built and worked fine but some linkage to altered file location is missed and triggered 'error'.

    So that should give...
  14. teensy_secure error reading: IDE 2.1 Export Compiled binary

    @PaulStoffregen - when build of sketch Export it seems the updated path may not be used at some point?

    Did the Sketch/Export on Windows and got this that worked as expected - first time tried and...
  15. Not saying mutex interaction can't cause trouble...

    Not saying mutex interaction can't cause trouble ... just that the by design Threads won't switch during normal interrupts that default to mid level PRI.

    UART code is fed by interrupts which would...
  16. Just looked - seems this is #ifndef...

    Just looked - seems this is #ifndef __IMXRT1062__:


    IntervalTimer context_timer;
    ...
    /*
    * Implementation strategy suggested by @tni in Teensy Forums; see
    *...
  17. Didn't check, but wondered what priority...

    Didn't check, but wondered what priority TeensyThreads uses for what is assumed an interrupt for task switching? If that were lower, then higher PRI interrupt code would be safe to complete and exit....
  18. simple "int func()" here the other day was...

    simple "int func()" here the other day was CrashReport'ing when it had no 'return intX;' - didn't see the build warning for far too long ...

    Used the addr2line that was on the computer that used...
  19. yeah - the breakout socket re-routed for T_4.0 to...

    yeah - the breakout socket re-routed for T_4.0 to have audio with Rev B/C was ... 'unique'
  20. Replies
    3
    Views
    81

    Either of these should work. From:...

    Either of these should work. From: ...\libraries\LittleFS\examples\Test_Integrity\QSPI\functions.ino



    case 'F': // Low Level format
    Serial.print( "\nFormatting Low Level:\n\t" );...
  21. Good to know. The Hack showed it wasn't as...

    Good to know. The Hack showed it wasn't as 'hoped' the same underlying buffer used for IP-based TCP.

    Is there a solution to the p#12 lost/delayed TCP data? Or is that the nature of TCP that items...
  22. Seems like it should, Yes. Per the notes left...

    Seems like it should, Yes. Per the notes left above it might reduce overhead of TCP and quick testing shows no problem sending 28 bytes in 10us from one and received fine on another Teensy.

    Seems...
  23. Indeed forum search can be lame - when it doesn't...

    Indeed forum search can be lame - when it doesn't work. Though with usable keywords - as in this case - it did find and narrow well enough.

    I use BING and have the browser do site ref when it...
  24. If the scanner was set up to use UDP? then using...

    If the scanner was set up to use UDP? then using that would be an option. Seem that TCP messages still being used?

    As for how to use the '.setReceiveQueueSize' - that just came up in a text search...
  25. Using the UDP the default queueSize had to be...

    Using the UDP the default queueSize had to be increased that was with:

    // UDP port.
    EthernetUDP udp(32); // (##)-packet buffer allocate for incoming messages

    Looking at:...
  26. recalled and found this thread:...

    recalled and found this thread: pjrc.com/threads/68148-Teensy-4-x-RTC-battery-life?p=294269&viewfull=1#post294269

    Search that worked was: RTC Battery Life
  27. Stored here: github.com/KurtE/TeensyDocuments...

    Stored here: github.com/KurtE/TeensyDocuments
  28. In IDE 2.1.0 w/TD 1.58.1 here Plugged a T_4.0...

    In IDE 2.1.0 w/TD 1.58.1 here Plugged a T_4.0 with a 64GB ADATA 'A2' card in the REV D Audio Card [ Never got an R2 here ]

    Using unedited p#1 code it ran first time:

    SD Card Test
    ------------...
  29. Quick guess: The passed pointer is saved at time...

    Quick guess: The passed pointer is saved at time of .addThread( ..., TEMP). So subsequent calls to blinkLed() are pointing to that space on the stack that was in use during setup().

    Make " ...
  30. Replies
    11
    Views
    332

    The out of the box Teens is running Blink code -...

    The out of the box Teens is running Blink code - assuming at default 600 MHz. Adding alternate code at 600 MHz not making any difference doesn't suggest the Teensy itself is the problem ... the next...
  31. Yes this code will stop for writes: void...

    Yes this code will stop for writes:


    void loop()
    {
    ..
    if(active == true)
    {
    logData();
    ...
  32. Is it stalling because the ring buffer is full?...

    Is it stalling because the ring buffer is full?
    Is there a file write in another location needing?: !file_accel.isBusy()

    Just with a quick glance maybe in logData() repeat on this while() there?...
  33. Lesson Learned: CHECK console output for...

    Lesson Learned: CHECK console output for WARNINGS!
    - talked about UDP Chat example mod was failing ... called out to class member that expected 'int' return and func() had no return
    >> Resulted...
  34. ... Missed again ... ???

    ... Missed again ... ???
  35. And if the Flash were removed and the stored...

    And if the Flash were removed and the stored program area copied to a 'stored file' that would not be a complete solution.

    The Teensy Loader wouldn't facilitate programming that to other Teensys?...
  36. There were notes on a thread some time back about...

    There were notes on a thread some time back about alternate extensions of the Single Button function. Not sure the suggestions touched on this.

    If the Teensy is available to reach the prog Button,...
  37. Replies
    15
    Views
    1,237

    Congratulations on getting a good build with that...

    Congratulations on getting a good build with that chip not seen tested yet. Good to know the bootloader chip can work with them and offer the extended temp range, or when needed fill in for the 600...
  38. Replies
    15
    Views
    1,237

    Yes, T_4.0 came out with 10x10 and Pin#...

    Yes, T_4.0 came out with 10x10 and Pin# silkscreen easy large type fit to the MCU. T_4.1's went 12x12 for extra I/O pins and those to on board PHY to MagJack and QSPI needed larger bga pitch to run...
  39. Replies
    15
    Views
    1,237

    Very cool they got tested to work. Not cheap -...

    Very cool they got tested to work. Not cheap - but perhaps available.

    Those are smaller 10x10 size like on the T_4.0 instead of the 12x12 on the T_4.1?
  40. Replies
    4
    Views
    124

    Try this WDT @tonton81 designed/tested with the...

    Try this WDT @tonton81 designed/tested with the Teensy's 1062 in mind: github.com/tonton81/WDT_T4

    Forum search should show development and use if the github examples are insufficient.
  41. Never read much of the manual ... but there is a...

    Never read much of the manual ... but there is a Low Power element to the MCU with some cute name. That element {in practice} is powered by the main power and runs RTC and maintains the On/Off state,...
  42. bare T_4.1 105.5 mA : running some sketch...

    bare T_4.1

    105.5 mA : running some sketch
    0.26 mA : seconds after holding On/Off to GND

    Same T_4.1

    135.5 mA : running a simple print time with busy calc'ing RND number between seconds...
  43. Desire is understood - not seen it called out as...

    Desire is understood - not seen it called out as noted.

    There is a low power section that controls the On/Off and it is AFAIK also related to the RTC section which is powered any time the unit has...
  44. Not recalling having seen that as measured ......

    Not recalling having seen that as measured ... suppose it keeps the related RTC unit powered so will be some small current ... maybe my new cheap meter can measure that ...
  45. Glad you are working again! Got 91% isopropyl...

    Glad you are working again!

    Got 91% isopropyl here - and after cleaning ... hairdryer there is used to help evaporate that and push out any fluid trapped under SD socket or other. Bake it in hand...
  46. Agreed - but it has an integrated T_4.1 on the...

    Agreed - but it has an integrated T_4.1 on the PCB so it must be quite something ....
  47. Replies
    22
    Views
    258

    As long as power is maintained the prior...

    As long as power is maintained the prior CrashReport data is maintained in a small piece of RAM2/DMAMEM that is not cleared on Warm Restart.

    You likely didn't add breadcrumbs either - but some 32...
  48. Replies
    22
    Views
    258

    Is there a check and Serial.print(CrashReport) in...

    Is there a check and Serial.print(CrashReport) in setup() with a wait for Serial when if(CrashReport) is found?

    That is the first thing to check for a clue/guide.
  49. Just saw this post linking to an example for...

    Just saw this post linking to an example for logging ...
  50. Good eye Spencez - saw that too and wondered what...

    Good eye Spencez - saw that too and wondered what was there. Other soldering looks nice on pins - not seeing any other odd splatter showing. But if it was working after soldering before then that...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4