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
    60

    Any install of TeensyDuino brings all the sources...

    Any install of TeensyDuino brings all the sources in that directory.
  2. Replies
    7
    Views
    60

    if the number of bytes .available() is known,...

    if the number of bytes .available() is known, See: arduino.cc/reference/en/language/functions/communication/serial/readbytes/
  3. Look at TeensyThread perhaps? With the devices...

    Look at TeensyThread perhaps?

    With the devices being on separate SPI buses it isn't guaranteed to fail - but it may not work reliably having the processor pulled away and interrupted during an...
  4. Got update to MTP_Storage.cpp : Not back at it...

    Got update to MTP_Storage.cpp : Not back at it for another couple hours.

    reminder: The MakeFiles.ino sketch has the 'v'erify for files it makes for testing on non-removable media.
    > should be...
  5. Quick NOTE: Repeated w/MakeFiles >> Empty SD card...

    Quick NOTE: Repeated w/MakeFiles >> Empty SD card ('W'ipe files), CP_HDD_USB copy to T_4.1_MTP. all files (1_Primes, 't', 'b') copied 2min 9 sec, 'v'erify on T_4.1 GOOD on all 'checked' files. ...
  6. Next steps: Using SD with 1Primes folder and 't'...

    Next steps:
    Using SD with 1Primes folder and 't' I did 'b':


    About 2+ minutes to copy, said it would take much longer, so I looked away and missed completion time. Src SD to PC copy under 30...
  7. Kurt, using that and your sample with no...

    Kurt, using that and your sample with no LFS_Prog.
    > it got further along with FULL SD_MTP copy to PC_HDD.
    --> 8 directories done (3 to go) instead of just 4 (IIRC) - but more dirs copied before...
  8. That built and ran. I see it uses MTP.begin()....

    That built and ran. I see it uses MTP.begin().
    > in makefiles.ino the MTP.begin is first in setup() before Serial.begin wait
    > in mtp-test-integrity.ino it is the other way around ... the...
  9. Rebuilt MakeFiles.ino without the MTP.begin() :: ...

    Rebuilt MakeFiles.ino without the MTP.begin() :: // MTP.begin();
    But using the LFS_Prog :: MTP.addFilesystem(lfsProg, "PgmIndx");

    Full SD from MTP to PC completed VERY QUICKLY!

    Full SD from...
  10. Looking at Kurt's sample I see: //...

    Looking at Kurt's sample I see:


    // mandatory to begin the MTP session.
    //MTP.begin();


    So the problem is that MTP.begin()?
  11. Thanks Kurt, built that sample and it ran until...

    Thanks Kurt, built that sample and it ran until it hit the 'pool' ERROR, will need to add the LFS_PROG.

    Enabled the debug in MTP.cpp

    If I navigate to "This PC\Teensy\SD Card\ManyD10\D0.5" those...
  12. Noted compiling with MTP_Experimental, have made...

    Noted compiling with MTP_Experimental, have made no edits to CORES - including the USB Descriptors
    Indeed the 1_Primes issue cleared up with LFSProg for MTP.addFS(), but the bad xfer of 500 Byte...
  13. RE: p#1203 Moved T_4.1 to front panel USB from...

    RE: p#1203
    Moved T_4.1 to front panel USB from HUB.
    Started timer and it was minutes ... so long I forgot it was running so not sure when it finished.
    > CodeCompare results show the same...
  14. So you ran the bat - the entirety of it was the...

    So you ran the bat - the entirety of it was the one line shown in the post.
    > Seems like the indicated steps show your system having the MTP transfer integrity I'm not seeing with the same process....
  15. Made the p#1197 LFS PROG edit and it created that...

    Made the p#1197 LFS PROG edit and it created that drive.
    Removed 'mtpindex file' from SD card while in PC
    Programmed T_4.1 with that SD card in it - so on Restart, first seen with MakeFiles.ino...
  16. Thanks, that is a good tip and needs attention to...

    Thanks, that is a good tip and needs attention to work right for dynamic file create and utility.

    Seemed something like that {beyond my under the covers inattention} given the 1_Primes folder...
  17. Updated to the fs_integration_part2 branch of...

    Updated to the fs_integration_part2 branch of USBHost_t36.

    Seems to have made some change?

    > Full disk copy interrupted 5 times with p#1186 Error dialog "... pool is empty"
    - > deselected...
  18. @mjs513: That looks like an old fileset pre...

    @mjs513: That looks like an old fileset pre MakeFiles "2204", please Purge and recreate with "t" command on start.
    The verify scheme and mechanics of file content have evolved. Old file sets are not...
  19. RE: Posts 1188,1190,1191,1192 I'll sync to the...

    RE: Posts 1188,1190,1191,1192
    I'll sync to the latest and confirm when I get back to it ... later today.

    > assume Mike/Kurt are running Win 10? : Win 11 here on desktop, will have to try on Win...
  20. Only change to...

    Only change to github.com/Defragster/.../MakeFiles.ino was an #ifdef.
    Starting a T_4.1 with a usably empty SD card running MTP Experimental Makefile.ino create files with "t - Test Files write 2204"...
  21. The problem relates to simple Notepad text file...

    The problem relates to simple Notepad text file open using MTP when size is 500 bytes.

    SD card on T_4.1 holds files created up to Jan/Feb 2022. The Makefiles folders and files.
    > Going to set...
  22. Does this mean anything as a complete issue...

    Does this mean anything as a complete issue indication:


    $$$ Failed to read Index record: 15 bytes Read: 0
    $$$ Failed to read Index record: 16 bytes Read: 0
    $$$ Failed to read Index record: 15...
  23. Thanks Kurt, it builds. Will have to get back to...

    Thanks Kurt, it builds.
    Will have to get back to what was in progress in Feb and start with some simple Xfer examples for confirming valid file transfer.

    Browsing simple folders on T_4.1 SD...
  24. Nice work! So, to catch up using TD 1.57b1:...

    Nice work! So, to catch up using TD 1.57b1:
    MAIN :: github.com/KurtE/MTP_Teensy
    and
    github.com/kurte/USBHost_t36/tree/fs_integration_part2_format

    With optional edit to CORES to support SERIAL...
  25. Replies
    427
    Views
    106,847

    Low Profile Headers: Adafruit are good. One in...

    Low Profile Headers: Adafruit are good.

    One in p#423 are breakable Male and Female. The AdaFruit Females are solid and lose a pin when cutting to length ... with more effort to cut and clean the...
  26. Replies
    427
    Views
    106,847

    Seems these work with care:...

    Seems these work with care: protosupplies.com/?s=low+profile

    They are nice low profile PINS and Headers that are in 14, 24 pin lengths or 40 pin and Breakable to length.

    Problem might be the...
  27. Replies
    5
    Views
    286

    Does it look much like this one?...

    Does it look much like this one? www.tindie.com/products/loglow/teensy-3536-breakout-revision-a-due/
    $17 with headers and pins a USB connectors

    @loglow has done some good work ... and there is a...
  28. Replies
    8
    Views
    109

    Quick look seems the Adafruit lib doesn't include...

    Quick look seems the Adafruit lib doesn't include pin changes.

    In the Teensy SPI library is this:


    // Teensy 3.x can use alternate pins for these 3 SPI signals.
    void setMOSI(uint8_t pin);
    ...
  29. Replies
    8
    Views
    109

    Yes, that is right for pins 11 and 13. If there...

    Yes, that is right for pins 11 and 13.
    If there is a way to specify the alternate pin 14 for SCK in the software, then that can be used.
    If you chnage one alternate pin that is independant of other...
  30. Clicking github from posted link: #define...

    Clicking github from posted link:
    #define MLX90393_DEFAULT_ADDR (0x0C) /* Can also be 0x18, depending on IC */

    And here for passing Address and Alt Wire:...
  31. With one working that is a great start! The...

    With one working that is a great start!

    The product page links to learn.adafruit.com/mlx90393-wide-range-3-axis-magnetometer?view=all

    if (! sensor.begin_I2C()) { // hardware I2C mode,...
  32. Replies
    7
    Views
    206

    Given no voltage drop on Program pin pressing the...

    Given no voltage drop on Program pin pressing the Button - then a 15 sec Restore Button press would fail as well if the bootloader chip is not seeing the button?

    But won't hurt to try: Press...
  33. ... long time away from another thread ... YMMV...

    ... long time away from another thread ... YMMV ... that thread had testing of drive speed and details if it can be found ...

    How large is the USB Host write Buffer to the Flash Drive?

    seems it...
  34. Paul, posting complete code in use would be cool...

    Paul, posting complete code in use would be cool - though it is just expected to be the res(6) line before the p#1 two lines.

    with a T_4.1: Today's new DVM does Freq Hz counting and gives a...
  35. See Table: PWM Resolution (Teensy LC, 3.0 - 3.6,...

    See Table: PWM Resolution (Teensy LC, 3.0 - 3.6, 4.0, 4.1)

    Try appropriate values like analogWriteResolution( 6 );
    > 6 bits or lower allows higher frequency
  36. Replies
    5
    Views
    501

    Wow from "250+" it has dropped. Clicking the...

    Wow from "250+" it has dropped. Clicking the circled item:
    28358
  37. Replies
    5
    Views
    501

    There have been some posts by Paul in various...

    There have been some posts by Paul in various threads, a production T_4.1 run was just completed that primarily shipped to distributors.

    Check the list of distributors on this page :...
  38. PWM would allow 'unattended operation' - no...

    PWM would allow 'unattended operation' - no active code after starting to trigger cameras.

    Is the synchronized operation more important than the triggering resolution/jitter?

    Is the T_4.0 doing...
  39. Replies
    2
    Views
    129

    This coated wire came to mind - others might say...

    This coated wire came to mind - others might say if not appropriate: amazon.com/enamelled-wire

    It is coated/insulated for wrapping coils - and links above show high temp ratings. And a variety of...
  40. Is it a US purchase? Sparkfun has 12 T_4.0's at...

    Is it a US purchase? Sparkfun has 12 T_4.0's at the same $19.95 price, no T_4.1's at SFun or AdaFruit - but AdaFruit has T_4.0's at $19.95. Mouser does mark them up and DigiKey less so - and they...
  41. Check the T_4.0 and 4.1 product pages. There are...

    Check the T_4.0 and 4.1 product pages. There are units inbound, perhaps mostly destined for distributors as noted. And distributors do, or will, have stock on both in coming days/weeks.

    No usable...
  42. Good morning @KurtE, ... Only question was what...

    Good morning @KurtE, ...
    Only question was what is needed to get back to MTP current in sync with 1.57b1 ... wrongly assumed it was merged.
    > i.e. current examples for MTP and MSC, and any...
  43. TD 1.57b1 available - if IDE 2.0 tested/used...

    TD 1.57b1 available - if IDE 2.0 tested/used check the build dir the IDE uses. After 1.57b1 installed IDE 1.8.19 still used %appdata%\...\1.56.1 install, not where installed in the IDE unZip folder....
  44. Replies
    15
    Views
    788

    To confirm the IDE was closed to remove>>:...

    To confirm the IDE was closed to remove>>: C:\Users\Tim\AppData\Local\Arduino15\packages\teensy
    > could not delete the folder because Teensy.exe and Teensy_ports were still active!
    <edit>, BTW:...
  45. Replies
    15
    Views
    788

    @Paul: just thought to read the end lines of...

    @Paul: just thought to read the end lines of CONSOLE from install and build p#2:


    Multiple libraries were found for "SD.h"
    Used:...
  46. Replies
    15
    Views
    788

    Downloaded. Win 11 install on IDE 1.8.19 went...

    Downloaded. Win 11 install on IDE 1.8.19 went properly.
    <edit>: not even a system warning about file from download on execution.

    T_4.1 BUILTIN_SDCARD ListFiles built and ran properly ... all...
  47. Replies
    331
    Views
    55,174

    @clinker8 - not had that 'timeout' hit here in...

    @clinker8 - not had that 'timeout' hit here in some time. After logging back into that thread check the lower left corner of the 'reply' box for "restore" as content seems to be stored on some time...
  48. Maybe this helps?...

    Maybe this helps? quora.com/What-is-difference-between-RS232-and-UART

    UART is hardware detecting 0v as LOW or logic HIGH. It works with short wires directly feeding the MCU.

    RS232 uses +V and...
  49. Cool ... Looking forward to 1.57b1 and getting...

    Cool ... Looking forward to 1.57b1 and getting back to this. Keeping up was a chore with variety of peripheral adds ...

    Seems I found the code in progress ...
  50. Congrats. Pin headers do add challenge to the...

    Congrats. Pin headers do add challenge to the QSPI soldering. @TallDog makes some good stuff - remembering switches better than tossing a good board.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4