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. Updated MakeFiles...

    Updated MakeFiles

    It now scans ALL DIRS! And checks any file with fileSize as start of name to match reported length.

    Byte check of file blocks not started.

    Other tidbits added - KB/sec on...
  2. Quick search shows it isn't used often "lfs.h" -...

    Quick search shows it isn't used often "lfs.h" - just one copy in "info struct" for each file:


    // Maximum name size in bytes, may be redefined to reduce the size of the
    // info struct. Limited...
  3. Replies
    8
    Views
    127

    Respect is always appreciated. When not enough...

    Respect is always appreciated. When not enough info is given to see a path to the answer seeing the code can be essential.

    Never used but this shows up: github.com/PaulStoffregen/X-Plane_Plugin
    ...
  4. Thanks for the RAM Stream code link - saw it in...

    Thanks for the RAM Stream code link - saw it in passing ... and a lot has been passing by.

    Yes, if ( !MTP.loop() ), or anything like that bool or other 'status' value as helpful could be useful....
  5. Some good questions. Could MTP.loop() have a...

    Some good questions. Could MTP.loop() have a return value indicating status? It is always called and state of it could be tracked easily.

    Would be nice to know when Serial is really .available()....
  6. Yes, byte by byte compare after the fact - with...

    Yes, byte by byte compare after the fact - with human readable index# blocks to allow one to easily see where pieces went missing or where they came from as early failures were files holding data...
  7. Indeed, for 256MB media thousands of files...

    Indeed, for 256MB media thousands of files doesn't make sense.

    Numbers in p#1011 for Flash seem reasonable for usable space and number of files if it gives more timely responsive system.

    I...
  8. With existing LFS disk params: Edited...

    With existing LFS disk params:

    Edited MakeFiles here to make files on the 2Gb flash:

    Total 127 files of Size 7766016 Bytes
    Bytes Used: 17301504, Bytes Total:265289728

    That is 6 4KB files...
  9. That is a Huuge difference ... space (50% free...

    That is a Huuge difference ... space (50% free versus over 700% short!) utilization and speed!

    BTW: I bugged koromix for 1062 uploads timing out ( long erase times or MTP online ) - he upped the...
  10. Cool ... I'm in the yard - truck loaded twice...

    Cool ... I'm in the yard - truck loaded twice more so far ... and two new computers to unbox today and update and recover old ... and seems somebody else needs a new printer
  11. Replies
    7
    Views
    131

    Thanks @joepasquariello was hoping somebody with...

    Thanks @joepasquariello was hoping somebody with a clue might see the added messages ...
  12. Replies
    7
    Views
    131

    All sources are installed by TeensyDuino...

    All sources are installed by TeensyDuino installer in the chosen Arduino install folder.

    Going to that install folder this should be the source for the 1062 AnalogWrite:...
  13. So Current - beyond TD 1.56 - is : ...

    So Current - beyond TD 1.56 - is :
    github.com/PaulStoffregen/LittleFS.git : updates including SPI clock change and flash strings
    KurtE/MTP_Teensy/tree/cache_storage_records : cache speed up trial...
  14. Replies
    7
    Views
    131

    Pending knowing useful reply ... It seems this...

    Pending knowing useful reply ...

    It seems this question was once answered ... maybe Bing or g00gle can find it?

    bing.com/search?q=site:forum.pjrc.com%20pwm+synchronization << With proper key...
  15. Cool - nice when I provoke a wealth of info with...

    Cool - nice when I provoke a wealth of info with an off key note :)

    I was not in SPI mindset ... Still thinking of turbo QSPI speeds ... that was a good wakeup!
  16. Glad that is pinpointed - though odd and not...

    Glad that is pinpointed - though odd and not ideal.

    I wonder if Paul could put those two 2Gbit chips onto TWO PCB's? And on at least one not put pins on? Then you could cut custom wires to...
  17. Oppps - was editing old post without refresh :...

    Oppps - was editing old post without refresh : THIS WORKS



    //#define SPICONFIG_NAND SPISettings(55000000, MSBFIRST, SPI_MODE0)
    #define SPICONFIG_NAND SPISettings(45000000, MSBFIRST,...
  18. Mike/All: I put 4XSPI on PJRC_MM - with SPI.ino...

    Mike/All: I put 4XSPI on PJRC_MM - with SPI.ino and it came up:
    <EDIT>: Sanity check unzipped 1.8.16 and installed TD 1.56 to fresh folder - Get the SAME behavior on that 2Gbit SPI chip on...
  19. Sorry, code not included - those are with defines...

    Sorry, code not included - those are with defines outside the func() - cannot use PROGMEM within a func()

    New var char szSZ2 in one case conflicted with independent szSZ, The second szSZ...
  20. Some variations are causing errors like: ...

    Some variations are causing errors like:


    error: section attribute cannot be specified for local variables

    error: known_chips causes a section type conflict with SzSZ

    Odd not that they...
  21. Extended the last two strings beyond 4 characters...

    Extended the last two strings beyond 4 characters and both still sit sequentially in ITCM:


    0x200008ac - abcd
    0x200008c0 - efgh
    0x200008dc - ijkl
    0x200008c8 - efghIJKLMN
    0x200008d4 -...
  22. Good tool - Good work Mike! I don't even have...

    Good tool - Good work Mike! I don't even have the right 4X board in place I see :(

    Found PJRC board and SPI.ino is WORKING ... will T_MM test next.


    Here is edited 27206

    Did a quick EDIT...
  23. Using the Integrity SPI.INO - I cannot get...

    Using the Integrity SPI.INO - I cannot get TEST_SPI or TEST_SPI_NAND chips to show anything but "Error starting SPI_?????" for CS of 3,4,5,, or 6 with the PJRC 4X SPI breakout and T_4.1 ???

    Was...
  24. Replies
    2
    Views
    139

    Never heard of that before ... Can code be added...

    Never heard of that before ... Can code be added to the emulator?

    You could always use this code: {local install}\hardware\teensy\avr\cores\teensy4\debugprintf.c
    with edits to have a Teensy...
  25. Bummer the work didn't seem to have good payoff -...

    Bummer the work didn't seem to have good payoff - I only got a quick glance at some git updates and never enough to follow.

    Better luck with the next effort. Hopefully I'll get to look into it.
    ...
  26. ... Morning full of chores into afternoon - and...

    ... Morning full of chores into afternoon - and another ahead - woodstove not even started yet ...

    Will look to test on T_MM on return.

    Test: Current main T_MTP, T_MM or T_4.1 with PJRC 2GB...
  27. There is a 32KB processor cache on the PSRAM...

    There is a 32KB processor cache on the PSRAM dataspace as well, so speed for localized access can be fast.

    Also IIRC tested in Beta and there is no problem/limit or problem on word boundary...
  28. That's very odd Mike! So that is just T_4.1...

    That's very odd Mike!

    So that is just T_4.1 .vs. the PJRC MMod breakout for SPI access - not using any SFun carrier boards wired to that 4X SPI flash MemBoard?

    Wondering if there is some other...
  29. Verify has moved along and is updated:...

    Verify has moved along and is updated: Defragster/T4LockBeta/tree/main/MakeFiles

    Moved along but not working fully - it skips dirs as written so far

    > Does not yet verify file content
    > All...
  30. Question: How is Windows informed of new...

    Question: How is Windows informed of new files/folders to update the MTP view?
    >> MakeFiles for instance is busy making files when it starts as MTP, added delay for USB to be online, but it takes...
  31. USB Serial question with MTP: > current is...

    USB Serial question with MTP:
    > current is Seremu? Not standard USB Serial?
    > Serial can work - but still slow to start IIRC?
    > Wondering if DUAL_Serial could be used and that might allow a...
  32. Mike - sorry this should have pointed to: void...

    Mike - sorry this should have pointed to: void MakeDeepDirs( char* szRoot, int numDirs, int numFiles, uint32_t startSize, uint32_t growSize, int compoundGrow ) {

    LIKE: MakeDeepDirs( szStart[ 0...
  33. Indeed, reading bottom up and 15 minutes late as...

    Indeed, reading bottom up and 15 minutes late as it was ... - just wanted to confirm there wasn't something uncaught in MakeFiles.ino.

    Good you are set up to test that stuff as it will need it....
  34. Replies
    10
    Views
    402

    That was in response to this note: It should...

    That was in response to this note:


    It should safely work as needed withtou extra work that may save in the long run. If doing Analog readings from a 5V max that would be an issue. And while...
  35. Agree this is basic expected use and priority....

    Agree this is basic expected use and priority.
    The system needs to be robust enough to not fail/fault when some odd situation is encountered.
    Populating a 'WebServer' folder for Ethernet use might...
  36. The SD2202 was updated to allow media swap with...

    The SD2202 was updated to allow media swap with the #define DISK ...
    > It could then even test that and have code to pick the begin based on the 'DISK'
    > given that it could also make different...
  37. For Normal/general use MTP seems a way to OFFLOAD...

    For Normal/general use MTP seems a way to OFFLOAD data from a logging device, or to update configuration file(s) for the device in use.

    Not seeing it as a device to replace a FLASH storage drive...
  38. Replies
    10
    Views
    402

    On this page it is made clear the Teensy 4.1 is...

    On this page it is made clear the Teensy 4.1 is 3.3V MAX : pjrc.com/store/teensy41.html
    > the same applies to T_3.6 and T_4.0

    It is printed on the card that is to come with every Teensy 4.1:...
  39. Very AWESOME 'bottom line' with working...

    Very AWESOME 'bottom line' with working transfers. No fun having trashed data on an 'opaque' FLASH chip that is harder to DIFF and debug.

    Though I expect the 'simple' stuff will work - based on...
  40. Win 10 laptop building and running - seems the...

    Win 10 laptop building and running - seems the same on above repro 993 and 995.

    Re #993 Repro on Win 10 laptop: YES
    > Put SD2202 on SD into T_4.1 {Also copy of SD2201}
    - copy folder and the...
  41. Interesting to see how it helps. Bulk testing...

    Interesting to see how it helps. Bulk testing here so far not likely to help given once and done Moving data Off or Onto?

    Bumped laptop to 2021 Fall Win 10 from Spring. Arduino drive copied...
  42. FYI: Anyone not updated to Win 11 - good plan to...

    FYI: Anyone not updated to Win 11 - good plan to stay on Win 10 a bit perhaps. New i7 w/SSD is really painfully sluggish for File Explorer work :(

    Powered up Win 10 laptop - will update and try...
  43. Indeed - not simple cases. > #933 is From T_4.1...

    Indeed - not simple cases.
    > #933 is From T_4.1 to PC
    > #935 is From PC to T_4.1

    Was hoping setup (or sermon output) triggered some knowing speculation or limited guesswork, 'Sheer' is a...
  44. Replies
    6
    Views
    212

    Whatever you find to work for the pin state...

    Whatever you find to work for the pin state setting might be done with this for T_3.x and 4.x:


    void startup_late_hook(){
    // void InitAllPins()
    for (uint8_t i = 0; i < CORE_NUM_DIGITAL;...
  45. Starting again empty SDIO SD on T_4.1 Just copy...

    Starting again empty SDIO SD on T_4.1
    Just copy of SD2202 underway From PC to T_4.1:
    > Started saying some few minutes? 4 or 6
    > after 6 minutes Win Explorer now suggesting 30 minutes for the...
  46. Recent copies have all been FROM MTP Teensy SD...

    Recent copies have all been FROM MTP Teensy SD card to PC.

    Time to go the other way : PC to T_4.1 SD card.
    > started BIG of course since the SD was empty copied LOTS of folders of all recent TEST...
  47. Indeed those 500 byte anomalies are GONE! ...

    Indeed those 500 byte anomalies are GONE!

    Speed good - back to 4 minutes total to HDD not the 35 minute problem. ALSO to RAMDRIVE it was under 2 minutes with SD2202 image on fresh start including...
  48. Did a sync of the latest - just the MTP sources? ...

    Did a sync of the latest - just the MTP sources? Saw this new bad behavior:

    500.txt files of 500 bytes - and those of 500B + multiple of 512B all ended up on PC from T_4.1 copy with 12 bytes of...
  49. Quote Originally Posted by defragster :: This...

    Quote Originally Posted by defragster :: This made a change ??? Test was the Simple_SD reading files to PC ....
    This was something Paul suggested be done in email/github comments or ...

    That was...
  50. MoreFD Copy Glitch

    Yes, too early to expect perfection - but a testpoint to return to.
    > Mike, Kurt: would be nice to have a repro on Windows (perhaps linux) - to know the repro is not from my PC.

    Not Fixed yet -...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4