Products > Test Equipment
Hantek - Tekway - DSO hack - get 200MHz bw for free
tv84:
--- Quote from: DC1MC on November 04, 2021, 05:43:21 pm ---Relatively simple :'(, the u-boot there seem to not have been the original or at least the one that the documents were referring, now I can either forget all the rest and either see if one of my J-Link clones see the NAND
--- End quote ---
I disagree. What you showed about the uboot seemed solid and valid. But I don't have experience with Hantek stuff.
Nonetheless, in hindsight, you should have done the restore using the (primitive) uboot NAND commands and forget all those fancy tools that the PDF talked about. With that you can be totally sure of what you are doing and where you're messing around.
Also, if you had taken the dump as I advised, a comparison between your uboot and kernel could have been done before crushing them all over, with the NAND dump that was provided to you.
Well, live and learn.
Now, you just have to find the way to mount the NAND in your JLink (that is a matter of config files regarding the specific NAND datasheet). With that done, I think it becomes easy to restore the NAND. I have no experience in adjusting config files for NAND support in JLink.
morris6:
@DC1MMC:
In case you do want to try to restore:
Found my old notes on restoring after I bricked the thing with a faulty update. Memory came back: I did restore it once with a Chinese software called H-JTAG. I found the manual on my old computer HDD. Also I found the LPT port Jtag adapter cable in the old project parts box. Now this software is still downloadable on H-JTAG's website. And it runs on Windows 7, it says. It supports the S3C2440 chip. Also the manual is available. The manual has a schematic for the LPT adapter. Only one HC244 and an npn transistor. My old Win7 box has an LPT connector, so, I could try to dump this MSO I have in storage.
Furthermore, I found complete NAND dump from two Voltcraft DSO on the old HDD. Maybe you can bring some live back with that?
DC1MC:
@morris6 Unfortunately I throw away the last computer with an LPT port long ago :(, but I'm very interested in the memory dumps if you could dump them somewhere ;D, maybe I'll not cannibalize yet the parts and give it another try.
I did a bit of analyzing of what went wrong on my side, it seems that there are TWO very different, but valid NAND dumps, one that contains the checksum control OOB data and one that doesn't, and they're fully incompatible :'(, this why I've always hated raw NAND :rant:.
If I'll ever put a new U-Boot on this think it will have to also boot from tftp and NFS. BTW, is it worth to get an solder the network socket (the Voltcraft box has a covered cutout and the PCB has the footprint of the RJ45 socket), but I don't know what animal is, with or without magnetics, if I'll disassemble it fully to solder the JTAG connector I could as well solder the network connector.
DC1MC
morris6:
OK, @DC1MC: Once more from my old notes: The Linux kernel for the MSO-5062B is 2.6.30.4. The complete NAND dumps I mentioned yesterday are from DSO version, Voltcraft DSO-3062 or something and Linux on that was 2.6.13, so not proper for your patient. However, the dumps I send you earlier are from MSO-5062B as mentioned.
About adding the network connection: You would need the special firmware for that. Also some hardware, the DM9000 chip and magnetics that go on the daughter board and the socket on the main board. Also the FPGA firmware for the daughter board is different. It needs to provide a 25 MHZ clock for the DM9000. That was all part of the conversion project. IMHO the thing is not worthy for all this trouble.
Some more notes about NAND Flash: the 64Mb NAND has 4096 blocks of 32 pages of 528 bytes (512 data and 16 OOB bytes). Exactly where, in which blocks the backups have to be flashed I can't find in my notes. I have info for the DSO but that is different because the sizes of the dumped files don't match. I would have to get the MSO out of storage to check what the boot log gives. Would that help you further?
DC1MC:
@morris6 I did a bit of research and it seems that OpenOCD and J-Link supports the CPU and could flash the NAND, the only complication is that the PCB has a 10pin connector one signal is missing and it doesn't support variable clock rate. It seems that it exists a config file for NAND writing even so.
So when I'm opening it again I'll solder the JTAG connector and give it a try.
Cheers,
DC1MC
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version