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

  1. Replies
    32
    Views
    2,765

    @KurtE - Teensy_loader_cli.sln works to build...

    @KurtE - Teensy_loader_cli.sln works to build setting Debug x86:



    Usage: teensy_loader_cli --mcu=<MCU> [-w] [-h] [-n] [-b] [-v] [-f] <file.hex>
    Hello World - Defragster was here!
    ...
  2. Replies
    32
    Views
    2,765

    @KurtE - I'll give it a go to confirm it builds...

    @KurtE - I'll give it a go to confirm it builds here and check back.
  3. Looking at the T_4.1 card here pin 8 is not...

    Looking at the T_4.1 card here pin 8 is not labelled as SDA/{SDA0}. SDA/{SDA0} is pin 18? And that is on the opposite side of pin 8, the same side as pin 35.
  4. Replies
    32
    Views
    2,765

    Kurt - works to build fine as x86: ...

    Kurt - works to build fine as x86:


    D:\Tim\downloads\Teensy_loader_cli\Debug>Teensy_loader_cli.exe
    Filename must be specified

    Usage: teensy_loader_cli --mcu=<MCU> [-w] [-h] [-n] [-b] [-v]...
  5. Replies
    32
    Views
    2,765

    Didn't restart yet - opened and build gave this:...

    Didn't restart yet - opened and build gave this:


    Severity Code Description Project File Line Suppression State
    Error LNK2019 unresolved external symbol __imp_SetupDiGetDeviceInterfaceDetailW...
  6. Replies
    32
    Views
    2,765

    It was asking for some specific 1.45 (?) tool...

    It was asking for some specific 1.45 (?) tool pack. Rather than see if an update would grab it (or it could be found) - the Install of VS2022 Enterprise is done - ready for a reboot
  7. Replies
    32
    Views
    2,765

    For the heck of it thought I'd see it work ......

    For the heck of it thought I'd see it work ... opps ... VS 2019 ... updating to 2022

    Seems last update was to VScode ... not VS.
  8. Made edits to...

    Made edits to github.com/Defragster/T4LockBeta/tree/main/MakeFiles

    > added #define && #ifdef options for LFS:


    //#define USE_SDIO_SD
    //#define USE_PSRAM
    #define TEST_QSPI // Typical NOR...
  9. Replies
    12
    Views
    184

    Any install of TeensyDuino brings all the sources...

    Any install of TeensyDuino brings all the sources in that directory.
  10. Replies
    12
    Views
    184

    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/
  11. 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...
  12. 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...
  13. 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. ...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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()?
  19. 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...
  20. 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...
  21. 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...
  22. 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....
  23. 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...
  24. 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...
  25. 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...
  26. @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...
  27. 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...
  28. 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"...
  29. 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...
  30. 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...
  31. 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...
  32. 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...
  33. Replies
    427
    Views
    106,945

    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...
  34. Replies
    427
    Views
    106,945

    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...
  35. Replies
    6
    Views
    349

    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...
  36. Replies
    8
    Views
    112

    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);
    ...
  37. Replies
    8
    Views
    112

    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...
  38. 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:...
  39. 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,...
  40. Replies
    7
    Views
    210

    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...
  41. ... 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...
  42. 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...
  43. 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
  44. Replies
    6
    Views
    550

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

    Wow from "250+" it has dropped. Clicking the circled item:
    28358
  45. Replies
    6
    Views
    550

    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 :...
  46. 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...
  47. 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...
  48. 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...
  49. 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...
  50. 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...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4