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

  1. Replies
    472
    Views
    8,136

    Well I managed to name a FORK after making a...

    Well I managed to name a FORK after making a Clone and it seems right ...



    ...
    github.com/Defragster/LittleFS
    ...


    Heads up - I've been posting LittleFS::quickFormat() when I meant to say...
  2. Replies
    472
    Views
    8,136

    Yes, this is stored in Volatile memory :: ...

    Yes, this is stored in Volatile memory ::

    uint32_t iiblk = 1+(config.block_count /8);
    if ( checkformat == nullptr) checkformat = (uint8_t *)malloc( iiblk );

    If the processor restarts...
  3. Replies
    472
    Views
    8,136

    Note sure if I missed anything in your post -...

    Note sure if I missed anything in your post - except even if background lowlevel formatting is done - this code provides a 'bit' Formatted { Yes/No }. So if a background formatter were to know which...
  4. Replies
    472
    Views
    8,136

    ... the work is done now ... and, at the cost of...

    ... the work is done now ... and, at the cost of 512 bytes in this case, when activated it does a bit test rather than a partial read. A full block read at time of write adds back 581461 us / 4096 ...
  5. Replies
    472
    Views
    8,136

    @Paul - does that look like a better direction...

    @Paul - does that look like a better direction for faster FLASH writes when logging? The only reformats before the disk is full would be if file/directory creation alters in place metadata - AFAIK:...
  6. Replies
    472
    Views
    8,136

    Cell phones are good at seeing the unseen. I had...

    Cell phones are good at seeing the unseen.
    I had to watch a Server boot - where it sits forever doing NOTHING - then you get a couple seconds to respond before it flashes away.
    So I took a video...
  7. Replies
    472
    Views
    8,136

    Another idea for tracking Pre-Formatted Blocks: ...

    Another idea for tracking Pre-Formatted Blocks:

    Same 'method' as before - except alternate implementation:


    Do what Paul does during lowLevelFormat() - read the full block for 0xff with :...
  8. Replies
    472
    Views
    8,136

    Indeed FRAM's not huge and more expensive for...

    Indeed FRAM's not huge and more expensive for sure.

    The LilttleFS No Re-Format on SPI gave 452 KB/sec (2 pages back - 16728000Bytes in 37 seconds - before KB/sec printed) - so Fram's (no QSPI...
  9. Replies
    472
    Views
    8,136

    Okay - the reason for the big file fail on the...

    Okay - the reason for the big file fail on the RAM is increased overhead of the small blocks on RAM - which may make sense when not using 8 or 16 MB of PSRAM. Moving to larger blocks should be...
  10. Replies
    472
    Views
    8,136

    @Paul - did you see the note about considering an...

    @Paul - did you see the note about considering an alternate set of params for LARGE LittleFS_RAM p#424? I didn't get them right in my edit - but larger blocks will minimize wasted 'metadata'...
  11. Replies
    472
    Views
    8,136

    That seems to be a digikey packaging notation ::...

    That seems to be a digikey packaging notation :: W25Q128JVSIQTR-ND - Tape & Reel (TR)

    The rest of the main part# and info appears the same.
  12. Replies
    23
    Views
    1,088

    Seems to have made it right. For Windows ZIP...

    Seems to have made it right.

    For Windows ZIP extract the file is :: {arduino}\lib
  13. Replies
    472
    Views
    8,136

    Back to the real issue in #422 (tiny alloc blocks...

    Back to the real issue in #422 (tiny alloc blocks in BIG PSRAM) doing this for LittleFS_RAM() { } :: bool begin(()
    > it runs maybe 3-5X faster - but I get LFSintegrity file verify failure so...
  14. Replies
    472
    Views
    8,136

    opps for the big interruption to find something...

    opps for the big interruption to find something that was obvious ... Large RAM needs larger blocks ... and not knowing the file sys functions returned 64 bit values :( :mad:

    back to the point of...
  15. Replies
    472
    Views
    8,136

    @Paul if you look at this - things have changed -...

    @Paul if you look at this - things have changed - mostly the details printed in samples sketch - current copy below, AND the print format strings used ????
    >> Just seeing the LittleFS functions...
  16. Thread: Teensy Qt

    by defragster
    Replies
    448
    Views
    142,119

    Downloaded on Win10 - did UnBlock the exe and it...

    Downloaded on Win10 - did UnBlock the exe and it runs and seems okay.

    DONE :: Went to first post and placed:

    You can find it on my GitHub page at : github.com/Koromix/tytools (and the release...
  17. Replies
    10
    Views
    185

    Post #2 here linked to Paul's post #4 on the...

    Post #2 here linked to Paul's post #4 on the other thread. There is more info in the rest of that thread - post #2 has a mapping of the pins doc courtesy of @KurtE - and indicates the swap 1-4 goes...
  18. Replies
    472
    Views
    8,136

    Got the current github LittleFS - knew my gated...

    Got the current github LittleFS - knew my gated changes only applied to Q/SPI :: and RAM showed the same .size()==0 but with that and edit above here is output on one T_4.1 with RAM then QSPI:

    ...
  19. Replies
    472
    Views
    8,136

    Interesting to see you got the ZERO file.size()...

    ...

    So I wonder why the Beta board is about 1.5 times faster then the two I soldered up. The recent board chip came from PJRC, the 2nd one came from Digikey, and not sure where Paul got them for...
  20. @jensa - did forum search on vbat and this post...

    @jensa - did forum search on vbat and this post by Paul was in the early list.

    @drewhamiltonasdf - check this post::

    Teensy40-only-3-3V-power-supply

    Good memory @BriComp - not even 2 weeks -...
  21. Replies
    472
    Views
    8,136

    Getting the 64MB Flash from ProtoSupplies - Ken...

    Getting the 64MB Flash from ProtoSupplies - Ken noted the center open solder pad - making sure it didn't get shorted during assembly - so as long as not too close in the middle - and soldered square...
  22. Replies
    10
    Views
    185

    With some forum searching example will show...

    With some forum searching example will show usage. All the registers are already named and pointed to in TeensyDuino installed header files. Bing and google can find forum stuff as well or better...
  23. Replies
    10
    Views
    185

    Best to use native ARM register access rather...

    Best to use native ARM register access rather than the ported attempt to support the old way.

    Made a GPIO summary note here to recent info maybe it helps:

    ...
  24. Replies
    6
    Views
    107

    I saw this item on the new Teensy Distributor...

    I saw this item on the new Teensy Distributor page: Proto Supplies : MP2315 Mini Adjustable DC-DC Step-Down Module
    It is adjustable and step down only - but has onboard resistors to solder to get...
  25. Replies
    472
    Views
    8,136

    Ahhh Beefy ... nice it had a unique name...

    Ahhh Beefy ... nice it had a unique name SublimeText found it.

    I need to put the github fresh copy of LittleFX to confirm that issue I noted on file.size() from local copy corruption ...
  26. Replies
    472
    Views
    8,136

    ARGHH - in editing code to post ... I set it...

    ARGHH - in editing code to post ... I set it back to RAM with 16 MB request on a board with QSPI Flash and only 8MB PSRAM - that is why it was dying on start ... opps ...

    As noted the code...
  27. Replies
    472
    Views
    8,136

    See post following - in editing code to...

    <EDIT> See post following - in editing code to post ...

    @Paul - post #401 didn't end where it started ... in the ruin should be steps to run a RAM based BigFile LittleFS that if halfsize...
  28. Replies
    472
    Views
    8,136

    BTW @KurtE, mjs513, allcon: koromix posted fixed...

    BTW @KurtE, mjs513, allcon: koromix posted fixed version of TyCommander to work on new TD1.54 USB Serial type change new release done: file3.size()=2054847098[/COLOR][/B]
    Use 1 PSRAMs with 8MB

    ...
  29. Replies
    472
    Views
    8,136

    Will look into the "config.lookahead_size =" -...

    Will look into the "config.lookahead_size =" - but the real issue is 24ms stall on every added/redone block - of course this can only go away with pre-formatting for 'purposeful faster logging' -...
  30. Not sure about website - seems a local issue - it...

    Not sure about website - seems a local issue - it is working today - machine updated and restarted overnight.

    Digikey Flash and Headers - that is Fast - yes you can hold that and I'll update...
  31. Replies
    472
    Views
    8,136

    That wasn't a question - and not properly phrased...

    That wasn't a question - and not properly phrased either : 4096/128 == 32 byte blocks. ( that was from hard coded LittleFS_Program )

    Seeing the chipinfo explains it with regard to FLASH.

    ...
  32. One user did replace a lost cap - and on the...

    One user did replace a lost cap - and on the thread Paul posted the association of the parts - it has been months ... not sure if that got linked anywhere more easily found though.
  33. Replies
    472
    Views
    8,136

    Thanks - I've been chasing circles looking for...

    Thanks - I've been chasing circles looking for the root of those defines - even just grepping the LittleFS folder I was not getting to the actual number part. Then seeing odd 128's - now I assume...
  34. Replies
    472
    Views
    8,136

    'block' seems to be the single unit of tracking...

    'block' seems to be the single unit of tracking and allocation?

    Indeed this is only 'safe' if every "used" 'block' starts with some header tagging/info that assures somewhere in the first 16 bytes...
  35. Replies
    472
    Views
    8,136

    If anyone looks the PR DIFF is TINY ... writing...

    If anyone looks the PR DIFF is TINY ... writing the code much easier than testing ... have Three Teensy testing again ...

    Changed LFSintegrity to have a TOGGLE 'Z'ippy to request no reformat of...
  36. Replies
    472
    Views
    8,136

    Update on Q/SPI prevention of re-Format after...

    Update on Q/SPI prevention of re-Format after lowLevelFormat - coding put into both SPI and QSPI and tested as follows:


    QSPI:
    108.1 secs :: lowLevelFormat
    27.5 secs :: Big File write >...
  37. I went ahead and placed first order - don't...

    I went ahead and placed first order - don't really need anything but didn't want to lose the cart - so will order again next week to get 4 of the 64MB Flash chips when I see they are there.

    AT&T...
  38. Since I got some of the peconnectors.com they are...

    Since I got some of the peconnectors.com they are good to use ( thanks @mjs513 ) - not as cheap as the run of the mill tall ones, but they work, and segmented female nicer that the solid wall type...
  39. Replies
    23
    Views
    1,088

    DONE! And tested to work with TSET in SublimeText...

    DONE! And tested to work with TSET in SublimeText - I already lost my prior edit with Beta5 install and had to look it up. Thanks for the reminder to do the .local. ::...
  40. Replies
    23
    Views
    1,088

    It has seemed the % used calc is accurate and...

    It has seemed the % used calc is accurate and fails when RAM abused and no room for stack - not included in those calcs.

    @luni showed this the other day - an edit to boards.txt on the .ld line:
    ...
  41. Replies
    472
    Views
    8,136

    Opps : of course...

    Opps : of course LittleFS_SPIFlash::erase(lfs_block_t block) is it own function and would take alternate code to implement the byte read test for 'unsafe'.

    For fun here is a unedited current...
  42. Replies
    472
    Views
    8,136

    Added to LFSintegrity is a 'B'ig file write {...

    Added to LFSintegrity is a 'B'ig file write { uint32_t xx, toWrite = (16 * 1024 * 1024) - myfs.usedSize() - 40960; }

    Using a fresh lowLevelFormatted QSPI drive (NO Dir root folders)
    'B'big file...
  43. Replies
    472
    Views
    8,136

    First glance using the 'unsafe=1' hack to skip...

    First glance using the 'unsafe=1' hack to skip formatting if the first 64 bytes were 0xff - after a LLformat seems to works safely and avoid having the format before use when not needed saving 100...
  44. Replies
    475
    Views
    49,025

    Nice, and the English non translated version ::...

    Nice, and the English non translated version :: docs.microsoft.com/en-us/windows-hardware/test/hlk/testref/bbfe7dc4-8ccf-4d8d-b68e-5b6ccab11f0f
  45. Yeah the static memory options are smaller...

    Yeah the static memory options are smaller 128KB'ish at $10'ish each. So hooking a second Teensy to buffer and push to SD would be a decent alternative. And the glance seen showed them to be i2c or...
  46. Short male as well are nice - I see it was back...

    Short male as well are nice - I see it was back in Feb @mjs513 shared some short headers he got from a forum post about that time - not finding the maker that was linked - but even the females were...
  47. Replies
    472
    Views
    8,136

    Will give that a look - thanks for the insight. ...

    Will give that a look - thanks for the insight. Was considering doing a heat map array of blocks formatted to see the pattern - having that will give a way to alter and see the diff. But bottom...
  48. Replies
    472
    Views
    8,136

    ... And you did Very Well! Not proposing...

    ... And you did Very Well!

    Not proposing anything - just noting that the complete LLformat did not actually set the QSPI Flash up for one full pass across the media of no Format access as...
  49. Replies
    240
    Views
    12,552

    Just a quess because of a post that passed by ......

    Just a quess because of a post that passed by ...

    One update to the library involved allowing times specified in words ... including hours

    Seems that is indicated with this line :: typedef...
  50. When SPIFFS was testing in PSRAM it would survive...

    When SPIFFS was testing in PSRAM it would survive a restart IIRC. I don't think that changed with the check for chip to exist and do the setup.

    I looked at it wondering about using 3V3 when...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4