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

  1. Replies
    6
    Views
    129

    debug_tt.h looks like something written here ......

    debug_tt.h looks like something written here ... it can be commented out (as in p#3) or removed.

    It is not something included anywhere or that generally evolved to anything useful across the...
  2. Replies
    6
    Views
    129

    Only a few known Bluetooth dongles tested to work...

    Only a few known Bluetooth dongles tested to work well - there is a thread listing the ones used and found good.

    There is a DEBUG #define commented out in the main file, enabling that will provide...
  3. Replies
    1
    Views
    137

    The MicroMod Beta thread has development with...

    The MicroMod Beta thread has development with that version of Teensy. @KurtE of course and @mjs513 did lots of heavy lifting there. IIRC it was mjs513 that hooked up the Processing transfer and...
  4. Replies
    5
    Views
    74

    Indeed, RTOS is its own set of issues/details. ...

    Indeed, RTOS is its own set of issues/details.

    Is this RTOS running on a Teensy with an NXP 1062?

    If so, do EEPROM writes work?
  5. Replies
    5
    Views
    74

    Was wondering if it is due to 32KB code cache?...

    Was wondering if it is due to 32KB code cache? XIP or any Flash code (especially on locked/encrypted) 1062 would need to be made available/plain to run. If that code then blocks flash access during...
  6. Replies
    1
    Views
    115

    Found this one link:...

    Found this one link: electronics.stackexchange.com/questions/152075/inkjet-cartridge-control

    And: instructables.com/Make-a-Handheld-InkJet-Printer-Print-on-ANY-Surfac/
  7. Replies
    6
    Views
    129

    Most of the examples used here from the host...

    Most of the examples used here from the host thread where it developed had a line in the code to edit.

    Run the first time with a command to go into pairing mode, then rebuild with that turned off...
  8. Found this on Arduino boards:...

    Found this on Arduino boards: rugged-circuits.com/10-ways-to-destroy-an-arduino/

    perhaps this or other things apply - given 'some signs' of catastrophe in the package seems all safety margins and...
  9. Replies
    6
    Views
    192

    Posted code ref to Paul's is worst case - as...

    Posted code ref to Paul's is worst case - as CACHE or not - it runs end to end of all PSRAM writing values, then a second loop confirming those values are present as expected. So it will blow though...
  10. Replies
    11
    Views
    853

    Nice you have some T_4.1's on hand Ken. I...

    Nice you have some T_4.1's on hand Ken.

    I changed my ISP ... DSL finally made it the last mile to my home. Two miles of old wire actually bonding two 20 Mb pairs for 40 Mbps and 11ms pings from...
  11. Replies
    6
    Views
    192

    Paul made this PSRAM test sketch:...

    Paul made this PSRAM test sketch: PaulStoffregen/teensy41_psram_memtest/blob/master/teensy41_psram_memtest.ino

    It shows clock speed and tests various data patterns with write and read verify...
  12. Replies
    11
    Views
    853

    Some few with QSPI FLASH/RAM preinstalled:...

    Some few with QSPI FLASH/RAM preinstalled: protosupplies.com/product/teensy-4-1-fully-loaded/

    And showing 41 unpinned : protosupplies.com/product/teensy-4-1/ and 4 with pins
  13. Replies
    32
    Views
    2,789

    @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!
    ...
  14. Replies
    32
    Views
    2,789

    @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.
  15. 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.
  16. Replies
    32
    Views
    2,789

    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]...
  17. Replies
    32
    Views
    2,789

    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...
  18. Replies
    32
    Views
    2,789

    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
  19. Replies
    32
    Views
    2,789

    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.
  20. 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...
  21. Replies
    12
    Views
    216

    Any install of TeensyDuino brings all the sources...

    Any install of TeensyDuino brings all the sources in that directory.
  22. Replies
    12
    Views
    216

    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/
  23. 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...
  24. 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...
  25. 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. ...
  26. 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...
  27. 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...
  28. 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...
  29. 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...
  30. 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()?
  31. 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...
  32. 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...
  33. 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...
  34. 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....
  35. 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...
  36. 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...
  37. 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...
  38. @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...
  39. 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...
  40. 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"...
  41. 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...
  42. 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...
  43. 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...
  44. 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...
  45. Replies
    427
    Views
    107,075

    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...
  46. Replies
    427
    Views
    107,075

    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...
  47. Replies
    6
    Views
    405

    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...
  48. Replies
    8
    Views
    114

    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);
    ...
  49. Replies
    8
    Views
    114

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