logo elektroda
logo elektroda
X
logo elektroda

Flash NAND Lite Memory Programmer! TSOP48

funak 407658 558

TL;DR

  • Built a low-cost Flash NAND Lite programmer for TSOP48 NAND chips, aimed at reading and programming memory from sticks, routers, televisions, modems, and navigation devices.
  • The board runs from USB 5.0V, generates 3.3V with a TPS781330220 LDO, and uses an XMEGA-A4U plus FT245 USB converter with a parallel data bus.
  • The design exposes four CE lines and four RB lines, while the LDO’s 150mA overcurrent protection helps prevent damage if a chip is inserted backwards.
  • Measured throughput reached 980kB/s from FT245 to XMEGA and 2.7MB/s from NAND to XMEGA, showing much faster direct NAND communication.
  • The main limitation is cost-cutting simplicity: only one permanently soldered TSOP48 socket is included.
Generated by the language model.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • #301 18416959
    acsz
    Level 16  
    Posts: 326
    Help: 10
    Rate: 81
    Board Language: polish
    The "NAND01GW3B2BN6" memory is also missing.
    I sent the report.
  • ADVERTISEMENT
  • #302 18422761
    Reider
    Level 9  
    Posts: 18
    Rate: 5
    Won't work with emms?
  • ADVERTISEMENT
  • #303 18422789
    funak
    Level 27  
    Posts: 1074
    Help: 98
    Rate: 455
    Board Language: polish
    Version 1.0 will not be.

    And v2.0 will work with eMMC.
  • #304 18423240
    Reider
    Level 9  
    Posts: 18
    Rate: 5
    When it will be, promised in 2019
  • #305 18423281
    funak
    Level 27  
    Posts: 1074
    Help: 98
    Rate: 455
    Board Language: polish
    Hello

    We will see, for now, the epidemic in China may delay shipments from China, so the planned date for the second half of February is still in question.
  • #307 18449250
    funak
    Level 27  
    Posts: 1074
    Help: 98
    Rate: 455
    Board Language: polish
    In order not to stress you, the premiere of the NANDLite v2.0 programmer has been moved to March.

    Due to the coronavirus, the PCB factory declares to start production from February 11. We'll see what comes out of it. The case is still problematic in connection with the transport, so I will determine in mid-February what and how to send it to Poland.
  • #308 18449265
    tomasz wojcicki
    Level 23  
    Posts: 848
    Help: 26
    Rate: 346
    Board Language: polish
    And what is so expensive with us so as not to earn money for domestic producers?
  • #309 18449653
    funak
    Level 27  
    Posts: 1074
    Help: 98
    Rate: 455
    Board Language: polish
    Quality costs us. I know that TechnoService makes very good tiles and of course you can order production from them, but unfortunately for 10 pieces, it's just cheaper for me to order in China in comparable quality.
    I am at the stage where ordering 100 pieces simply misses the goal - no sufficient capital.

    I also appreciate the prototypes in Satland, but I don't like drilling with them.

    In addition, the v1.0 version was also ordered in China and Poland, and it suited me better in terms of quality in China.
  • #310 18457232
    kabi5766
    Level 11  
    Posts: 95
    Rate: 20
    Board Language: polish
    Hello colleagues,
    I would like to program a K9F4G08UOF SCBO from a Sharp LC-40fg5342E TV. The programmer when detecting the system informs that it has no signature. Is there any possibility to program it?
    Regards.

    Added after 58 [minutes]:

    I tried again because I thought that one of the pins did not connect and I noticed that it is
    ID: EC DC 10 95 56 C6 EC DC
  • ADVERTISEMENT
  • #311 18457595
    fachura
    Level 17  
    Posts: 187
    Help: 11
    Rate: 111
    Board Language: polish
    What is this programmer?
  • #312 18457611
    kabi5766
    Level 11  
    Posts: 95
    Rate: 20
    Board Language: polish
    NandLite r1.0
  • #313 18457634
    fachura
    Level 17  
    Posts: 187
    Help: 11
    Rate: 111
    Board Language: polish
    Ok talk to your friend funak maybe next time you update the program maybe this chip will be on the list.
  • #314 18457654
    kabi5766
    Level 11  
    Posts: 95
    Rate: 20
    Board Language: polish
    Ok, thanks, I think he will definitely read these posts and give him some advice. Regards.
  • ADVERTISEMENT
  • #315 18457918
    funak
    Level 27  
    Posts: 1074
    Help: 98
    Rate: 455
    Board Language: polish
    Hello, of course he can do it, so:

    We start with the documentation, in the appendix: K9F4G08U0F.

    We open the PDF and read on page 10 on the organization of memory:

    Page: 2k + 64 Bytes = 2048 + 64 bytes
    Block: 64 Pages
    Device: 4096 Block

    Well, we set the NANDLite manually:
    Flash NAND Lite Memory Programmer! TSOP48

    If you do not want to enter the parameters by hand, instead of using the Detect layout button, search the list for a memory replacement with the same layout geometry.

    For K9GAG08U0F, the replacement will be:
    - EN27LN4G08
    - MT29F4G08ABADAWP

    but in total the fastest to choose EN27LN4G08-25TCP because it is 5th from the top.
    Attachments:
    • k9f4g08uxf_1.2.pdf (582.68 KB) You must be logged in to download this attachment.
  • #316 18458009
    kabi5766
    Level 11  
    Posts: 95
    Rate: 20
    Board Language: polish
    Thanks a lot funak, everything works and you are already reading your memory. Thanks again for the quick help. Regards.
  • #317 18465763
    acsz
    Level 16  
    Posts: 326
    Help: 10
    Rate: 81
    Board Language: polish
    So for NAND01GW3B2BN6
    https://pdf1.alldatasheet.com/datasheet-pdf/v...131854/STMICROELECTRONICS/NAND01GW3B2BN6.html
    for reading, you can use EN27LN1G08-25TIP - the second on the list (the programmer has read it).
    Only how to determine the algorithm and whether NAND01GW3B2BN6 can be replaced with the MX30LF1G08AA-TI chip (different algorithm).
  • #318 18480937
    Krzysiek007
    Level 20  
    Posts: 528
    Help: 13
    Rate: 53
    Board Language: polish
    Hello.
    Is v2.0 still available?
    What is the approximate price ?.
    Regards.
  • #319 18529608
    mikrosha
    Level 10  
    Posts: 6
    Rate: 7
    Dear author of the topic, there is a production scheme for the 1.2 and 2.0 programmer?
  • #320 18531271
    funak
    Level 27  
    Posts: 1074
    Help: 98
    Rate: 455
    Board Language: polish
    Scheme of version 1.2 is the same as 1.0, the difference is only in the additional miniUSB connector.
  • #321 18533204
    Reider
    Level 9  
    Posts: 18
    Rate: 5
    And how to get files for creating an array? Can I ask?
  • #322 18534738
    funak
    Level 27  
    Posts: 1074
    Help: 98
    Rate: 455
    Board Language: polish
    The PCB design is intellectual property and not publicly available.
  • #323 18569209
    Reider
    Level 9  
    Posts: 18
    Rate: 5
    Does the developer skip and count the table with bad blocks? The question is for K9GAG08U0E
  • #324 18571209
    funak
    Level 27  
    Posts: 1074
    Help: 98
    Rate: 455
    Board Language: polish
    Yes, it counts and modifies an array of bad blocks. Finally, it updates the ECC code of the entire page.
  • #325 18571293
    Reider
    Level 9  
    Posts: 18
    Rate: 5
    Which version is new and current?
  • #326 18578769
    tomasz wojcicki
    Level 23  
    Posts: 848
    Help: 26
    Rate: 346
    Board Language: polish
    Hello
    What is the issue of the emmc memory programmer?
  • #327 18600954
    Reider
    Level 9  
    Posts: 18
    Rate: 5
    The author either doesn't know what to answer or doesn't want to.
  • #328 18601198
    funak
    Level 27  
    Posts: 1074
    Help: 98
    Rate: 455
    Board Language: polish
    Ladies and Gentlemen, the project is currently temporarily suspended. I have to allocate all of my processing capacity to the maintenance of the company in which I work. I answer questions after a long time, please be patient.

    As for the question: NANDLite v1.0
    Current online version: 1.0.1014.89.
    Firmware: NANDLite! _R1.0v1.0b1024a.
  • #329 18601421
    tomasz wojcicki
    Level 23  
    Posts: 848
    Help: 26
    Rate: 346
    Board Language: polish
    Regards funak. Unfortunately, sometimes I have it too :) Breaking away from one reality to another, who did not survive does not know ... :)
  • #330 18669925
    Tertomium
    Level 8  
    Posts: 4
    Board Language: german
    Hi there,
    does the D5700 share the same Bad-Block handling as the D5500 so you can use nandlite for correction?
📢 Listen (AI):

Topic summary

✨ The discussion centers on the development and use of a low-cost Flash NAND memory programmer designed specifically for TSOP48 packaged NAND Flash chips. The programmer targets applications such as reading and programming NAND Flash from devices like flash drives, TVs, routers, and modems, offering an affordable alternative to expensive professional tools. The design includes a permanently soldered TSOP48 socket and uses an FT245 USB interface combined with an Atmel XMEGA microcontroller for flexible control and hardware timing measurements. Software development focuses on supporting various NAND Flash memory types, including multi-die ("4 die") memories, and implementing error correction algorithms such as BCH capable of correcting multiple bit errors per 512-byte sector. The NANDLite application supports reading, writing, erasing, and batch uploading of NAND dumps for analysis and algorithm improvement, including handling bad block tables (BBT) and ECC data correction. Specific NAND Flash models like Samsung K9GAG08U0E and Toshiba TC58NVG6T2FTA00 are extensively tested, especially in relation to Samsung D5500 series TVs. Challenges discussed include addressing discontinuous memory spaces, bad block management, different addressing schemes (e.g., Toshiba's additional page addressing commands), and the complexity of NAND file systems like UBIFS. The project is evolving with plans for faster data transfer rates (up to 50MB/s in future versions), improved software interface, multilingual support, and expanded memory support including eMMC in the future. Comparisons with commercial programmers such as RT809H and Lens-Men highlight differences in speed, functionality, and openness of software. The community contributes NAND dumps for analysis to enhance error correction and bad block handling algorithms. The discussion also touches on hardware considerations like the quality of Chinese TSOP48 sockets, USB driver compatibility (including Windows XP support), and the limitations of TSOP48 packaging as industry shifts toward BGA and FBGA packages, suggesting ISP programming as a future direction.
Generated by the language model.

FAQ

TL;DR: NANDLite v1 erases 512-MBit chips at 4.8 MB/s, “the TV came to life” after one flash [Elektroda, funak, post #16067358][#16667571] First-time users need <3 min setup. Why it matters: hobbyists get pro-level NAND support without €900 lab gear.

Quick Facts

• Firmware: NANDLite! _R1.0v1.0b1024a [Elektroda, funak, post #18353353] • Max measured write speed: 2.7 MB/s NAND→XMEGA, 980 kB/s PC link [Elektroda, funak, post #15973950] • Auto-erase rate: 4.8 MB/s on 69 MB ST NAND512W3A [Elektroda, funak, post #16067358] • Supported IC signatures: 70 + (SLC, MLC, ONFI) [Elektroda, funak, post #16449394] • Kit price: approx. PLN 450; worldwide shipping PLN 21 [Elektroda, mailo, post #17314701][#17949208]

Which Windows versions run the current NANDLite software?

The online release 1.0.1014.89 runs on Windows XP, 7, 8, 10 (32 / 64-bit). SmartScreen blocks can be bypassed via “More info → Run anyway” [Elektroda, funak, post #18359665]

How fast can I dump a 2 GB K9GAG08U0E?

With v1 hardware set to 750 kB/s link speed, a full 2 GB read finishes in about 45 minutes; v2.0 (USB 3.0 + FPGA) targets 40 MB/s, cutting time to ≈55 s [Elektroda, funak, post #18250769]

What error level is acceptable during verify?

SLC devices allow 1-4 bit errors per 2 kB page; MLC K9GAG08U0E tolerates up to 24 bit flips—verify will flag but ECC corrects them in-device [Elektroda, funak, post #17878605][#16649962]

Can I add an unsupported NAND ID myself?

Yes. Pick a chip with matching geometry from the list, edit LUN-, block- and page-sizes, then save as a custom XML entry. Example: TC58BVG0S3HTA00 added by user in 5 min [Elektroda, bolvan, post #18061891]

How do I prepare a Samsung D5500 dump?

  1. Detect K9GAG08U0E.
  2. Press “Prepare file D5500”; select source dump and output file.
  3. Click “Erase”, then “Write”. The wizard remaps all bad blocks and recreates the BBT automatically [Elektroda, funak, post #16649962]

Does NANDLite handle eMMC or SPI NOR?

v1.0: only parallel NAND. v1.2 will add SPI/I²C via EXT header; v2.0 will add eMMC and NOR through USB 3.0/FPGA adapter [Elektroda, funak, post #18223831]

What is the largest page size validated?

16 384 + 1 280 B pages (Hynix H27UCG8T2BTR-BC, 64 Gbit). Verify reports <130 flipped bits per page—well within the 640-bit ECC budget [Elektroda, funak, post #16876251]

How do I flash chips that need 1.8 V I/O?

Use NANDLite v2.0 or v1.0 with the dual-voltage adapter; set supply to 1.8 V and leave VCC at 3.0 V as per ONFI [Elektroda, funak, post #17298560]

Where can I buy genuine TSOP48 sockets?

Original Yamaichi TSOP48 cost ≈PLN 180 at Semicon; tested Chinese clones work but lose spring tension after ~100 insertions [Elektroda, tplewa, post #15976786][funak, #15979863].

Statistic: how many bad blocks are typical on a blank 8 GB MLC?

Four bad blocks (0.2 %) per die is typical; sample K9GAG08U0E showed 8 bad blocks right after erase [Elektroda, funak, post #16656035]

Failure fact: what causes endless verify loops?

If geometry is unset (page = 0), the app enters an infinite verify loop—select a matching chip definition first [Elektroda, funak, post #18400138]
Generated by the language model.
ADVERTISEMENT