Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: defragster

Search: Search took 0.02 seconds.

  1. Replies
    158
    Views
    3,275

    Lots of chatter there ending in RTOS - that could...

    Lots of chatter there ending in RTOS - that could just be an implementation detail.

    just got adaF NRF's that have 2 MB QSPI NOR Flash - they seem to refer to littleFS usage - though no examples...
  2. Replies
    158
    Views
    3,275

    Funny - looking for NAND info months back I found...

    Funny - looking for NAND info months back I found a few things - none like this : flashdba.com/2014/06/20/understanding-flash-blocks-pages-and-program-erases/

    Summary: to erase a page takes...
  3. Replies
    158
    Views
    3,275

    Bummer - Blocks are like 64 times bigger! ...

    Bummer - Blocks are like 64 times bigger!

    You are correct on the timeoutAt usage.

    Also it would NEVER timeout as NOW always equals millis() inside that while(), so it will be zero or at most...
  4. Replies
    158
    Views
    3,275

    More like these two lines when swapped? ...

    More like these two lines when swapped?


    uint32_t now = millis(); // outside while()
    while (!w25n01g_t4::isReady()) {
  5. Replies
    158
    Views
    3,275

    Cool - good to see PROOF of life - though the...

    Cool - good to see PROOF of life - though the illusion looked good while it lasted :)

    Updated from github - old sketch gone - have new folder with examples.

    So the Block format/Erase is not...
  6. Replies
    158
    Views
    3,275

    With myNAND.eraseSector(0); I can put the values...

    With myNAND.eraseSector(0); I can put the values of choice on that page.

    Looks similar to @mjs513 with ::

    for (uint16_t i = 0; i < 2048; i++) buffer[i] = i%256;//page;
    const uint8_t...
  7. Replies
    158
    Views
    3,275

    Good to have added focus - hoping to add some...

    Good to have added focus - hoping to add some soon :) If only extended samples to track working versus other points.

    Where does NAND's format before write happen?
    What happens if the cache is...
  8. Replies
    158
    Views
    3,275

    Didn't look much at the code - but unpacked a new...

    Didn't look much at the code - but unpacked a new T_4.1 - loaded an SD Test sketch that worked logging values to new SD card.

    Soldered a NAND and a PSRAM - brushed clean with 90% ISO - dried with...
  9. Replies
    158
    Views
    3,275

    Indeed a print of 0x0 breaks the output copy...

    Indeed a print of 0x0 breaks the output copy paste. I put in an IF() case for altered print somewhere once when it wanted to print zero.

    Not getting time to test/work on this :( - phone calls and...
  10. Replies
    158
    Views
    3,275

    This :: int w25n01g_t4::readBytes(uint32_t...

    This :: int w25n01g_t4::readBytes(uint32_t Address, uint8_t *data, int length)

    doesn't have any:: return int_??;

    After a run leaving the 42 on NAND - a Power Off/On fails to find the 42's after...
  11. Replies
    158
    Views
    3,275

    @mjs513 - got the latest 2hr old changes. Will...

    @mjs513 - got the latest 2hr old changes. Will get it built and at least a quick look shortly.

    @KurtE - I made sure to test T_4.1 before - did skip that once - always a bit of wonder while...
  12. Replies
    158
    Views
    3,275

    Such a change from prior results though on the...

    Such a change from prior results though on the same chip? If code is now actually doing more complete read write perhaps?

    Should add each block timing recording to track average and extreme?
    ...
  13. Replies
    158
    Views
    3,275

    Got the latest just now ... Busy a couple hours...

    Got the latest just now ... Busy a couple hours here ...

    I see the startup issue compare fail? Maybe something different here ?? Below - only on POWER UP? The Comapre loop and err print needs...
  14. Replies
    158
    Views
    3,275

    @wwatson - My tag in the NAND's had blue on too -...

    @wwatson - My tag in the NAND's had blue on too - I didn't bother looking given they just got here double or triple wrapped. Are they usually pink?

    Good luck with soldering! Mine went...
  15. Replies
    158
    Views
    3,275

    @mjs513 - keep up the good work/effort. Just...

    @mjs513 - keep up the good work/effort.

    Just noted that IDE won't build that without the FOLDER name matching sketch - so github could be re-organized? And as noted using TSET Frank_B's CmdLine...
  16. Replies
    158
    Views
    3,275

    @mjs513 - how are you building? Have been using...

    @mjs513 - how are you building? Have been using TSET and it just finds .INO without needing matching directory name like IDE requires - problem when wrong INO picked up :(

    Updated github - saw...
  17. Replies
    158
    Views
    3,275

    Yeah - post #80 and #81 were touching on that...

    Yeah - post #80 and #81 were touching on that page crossing and page++ writes.

    As noted the Check42() can be left perhaps safe and simple for reference, and add a version of check24() that crosses...
  18. Replies
    158
    Views
    3,275

    Nice - That is a better read write diff! Read is...

    Nice - That is a better read write diff! Read is 43.7 MB/sec and write at 26 MB/sec.

    The test loop on 42 fail looks unclean for counted stop printing - so just return after first error. It would...
  19. Replies
    158
    Views
    3,275

    Quick update to the sketch - goes spew nuts on...

    Quick update to the sketch - goes spew nuts on errors if the 0x42's are missing
    Check42() seems to work for starting on buffer boundary 'zero' and incrementing by 2048==W25N01G_PAGE_SIZE?

    ......
  20. Replies
    158
    Views
    3,275

    I went to see about block read details ... and...

    I went to see about block read details ... and this code seems confusing?


    int w25n01g_readBytes(uint32_t address, uint8_t *data, int length)
    {
    ...

    if (length > W25N01G_PAGE_SIZE -...
  21. Replies
    158
    Views
    3,275

    Wow 10X - something not perfect? The check42()...

    Wow 10X - something not perfect?

    The check42() code does read in 2048 blocks - maybe the low level code does lesser parts:

    w25n01g_readBytes(ii * 2048, x42, 2048);


    ...
  22. Replies
    158
    Views
    3,275

    After all the 'heavy lifting' you did ... it was...

    After all the 'heavy lifting' you did ... it was the 'least' I could do :) Have not even looked under the covers of the "magic" calls ...

    Any understanding why the writes are so close to reads in...
  23. Replies
    158
    Views
    3,275

    Awesome work @Mjs513! This is more work than was...

    Awesome work @Mjs513! This is more work than was done to prove and show usage of the NOR_Flash - except for SPIFFS.

    Amazing it takes 5.2 sec for 128MB write of #42, and the READ compare is 4.7...
  24. Replies
    158
    Views
    3,275

    On and off here today - missed this by 3 hours...

    On and off here today - missed this by 3 hours ... awesome groundwork - There Is Life!

    And we have three T_4.1's with NAND's on board and no solder casualties! Seems Paul picked a suitable first...
  25. Replies
    158
    Views
    3,275

    Got it - after spare ' ' in 4 000 from post fixed...

    Got it - after spare ' ' in 4 000 from post fixed


    Begin Init
    Found W25N01G Flash Chip
    0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x00,...
  26. Replies
    158
    Views
    3,275

    Got github updated file. Extended the beefy[] as...

    Got github updated file. Extended the beefy[] as it was less than 20 so compiler warning.

    And in either case it isn't reading it back right :( - but it compiles.

    Begin Init
    Found W25N01G...
  27. Replies
    158
    Views
    3,275

    Back and got github ... Opps:

    Back and got github ... Opps:
  28. Replies
    158
    Views
    3,275

    YES @ECURTZ ... Awesome work! ... I thought of...

    YES @ECURTZ ... Awesome work! ... I thought of that as soon as I hit 'post reply' - but didn't see the change yet :)
  29. Replies
    158
    Views
    3,275

    @mjs513 - github NAND update pushed? Let me...

    @mjs513 - github NAND update pushed?

    Let me know where you are on Sublime Text integration. The batch files are easy - the work to trigger their execution hopefully documented - it is a bit of...
  30. Replies
    158
    Views
    3,275

    Awesome work @mjs513 See:...

    Awesome work @mjs513

    See: github.com/Defragster/Tset

    I think it links to Forum?

    Let me know ...
  31. Replies
    158
    Views
    3,275

    updated from github. Not sure it adds anything...

    updated from github. Not sure it adds anything but after print loop in setup() the following was added. Changed the offset address to 4004 and output the same as with 4000:


    for(uint16_t i...
  32. Replies
    158
    Views
    3,275

    Not sure if this is relevant - had an edit to...

    Not sure if this is relevant - had an edit to startup.c to comment out the call to :: configure_external_ram();

    Without that done the NANDflash code sample died after : Begin Init

    This T_4.1...
  33. Replies
    158
    Views
    3,275

    @mjs513 - Was suggesting more Dprint() just in...

    @mjs513 - Was suggesting more Dprint() just in case there is a surprise failure in the manipulation.
    Maybe prints for status or other without too much code clutter:


    #define DHprint( a ) {...
  34. Replies
    158
    Views
    3,275

    @mjs513 - updated from github. Looked through the...

    @mjs513 - updated from github. Looked through the code assuming low level stuff right - found some few questions ...

    Just browsing lines. The buffer[] to write is zeroed then values set 0x19,...
  35. Replies
    158
    Views
    3,275

    :) Did first pass and looked and there were...

    :) Did first pass and looked and there were pulled solder hairs on all four pad far ends - using newer finer wire solder.

    Made a 30 gauge wire solder paste applicator and touched a tad on each and...
  36. Replies
    158
    Views
    3,275

    I found this result: Begin Init 0 18...

    I found this result:


    Begin Init
    0
    18
    Status of reg 0xb0:
    (HEX: ) 0x18, (Binary: )11000

    Found W25N01G Flash Chip
  37. Replies
    158
    Views
    3,275

    From prior post - and info this is what was...

    From prior post - and info this is what was ordered:

    Post #1 and copied over Paul post #4 matches part Number.

    digikey.com... winbond-electronics/W25N01GVZEIG-TR/W25N01GVZEIGCT-ND/7393545
  38. Replies
    158
    Views
    3,275

    @mjs513 - in github section for extRAM...

    @mjs513 - in github section for extRAM - made a folder there for extNAND_t41 so code is available and can be source controlled? ... rather than forum hacking.



    USPS says the NAND's ordered will...
  39. Replies
    158
    Views
    3,275

    Awesome :)

    Awesome :)
  40. Replies
    158
    Views
    3,275

    REF >> From thread ::...

    REF >> From thread :: Teensyduino-1-53-Beta-2/page3

    Paul posted this - link to chip/source and notes on potential timeline and where it goes on T_4.1 and ... "improved file & filesystem...
Results 1 to 40 of 40