VOLTCRAFT DSO-1084E (Hantek DSO4084B) stuck at boot screen  - Page 1
Forum section: electronics / testgear

author: rlohmann
author_rank: Contributor
timestamp: February 09, 2019, 09:05:47 am
content: Hi there,the mentioned scope is a 4 channel / 80MHz device sold by Conrad / Voltcraft in Germany. The device and specs look similar to Hantek DSO4084B.The unit I have in hands does actually not start properly and get stuck on boot screen.I attached a serial adapter and captured the terminal during boot. (attached)It get stuck after:acq_dot_nm_of_timerange =4000,time_range=1600000000000,dso_acq.dot_factor =1,sample_rate =2500.000000dso_acq_control:1:2056, 2056,0dso_acq_control:2:2056, 2056dso_acq_control:3:102800000, 103600000dso_acq_control:4:after= 102800000, before= 103600000... hitting enter i get back to the shell:unix:path=/tmp/dbus-2Gwvd7Fgoi,guid=78229ec33879218ea98a0b54386d509c[root@Hantek ~]#Hope anybody can help me to figure out whats wrong with the unit and how to get it back to life.

author: rlohmann
author_rank: Contributor
timestamp: February 09, 2019, 11:26:23 am
content: ... looking closer at at the log, I#ve noticed:acq_dot_nm_of_timerange =4000,time_range=1600000000000,dso_acq.dot_factor =1,sample_rate =2500.000000.. which appears strange to me.So I looked for any config and found/dso/etc/system.infCode:code:Model=dso1202lVendor=hantekProduct=FGenManufacturer=hantekSerial=DSO4D143501107Pcb=1001Keyboard=11Lans=255Language=1Start=0Update=0I guess the previous owner applied a wrong update ...I've found few update files online:-dso4kb_20180831.upk(Conrad/Voltcraft)-dso4kb_20181208.upk(Hantek DSO4000B)Is here a way to apply the update form the shell or automatically during boot?Or how to extract those files and hopefully replace the according files manually within unit?Maybe someone out there with this scope could help me out with a tar of a working /dso folder ...

author: tinhead
author_rank: Super Contributor
timestamp: February 09, 2019, 11:46:13 pm
content: sure, unpack first the update bygpg --batch --passphrase-fd 0 dso4kb_20180831.upkand give as password dso4000bcand check what do_update.sh is doing (basically copying few files and setting +x permission)

author: rlohmann
author_rank: Contributor
timestamp: February 10, 2019, 11:03:59 am
content: Thanks a lot TinHead!... you made my day!The cmd line did not work out for me for some reason. But it turned me into the right direction ...with:gpg -o out.tar -d dso4kb_20180831.upk... extracting out.tar and the containing dso4kb.upk.tar I got "upend" and "package/"Then I went through package/do_update.sh and manually updated all files manually ...And merged config/root/system.inf with package/system.inf :Code:Model=80M$DSO1084EVendor=voltcraftProduct=DSOManufacturer=hantekSerial=DSO4D143501107Pcb=1001Keyboard=11Lans=65535Language=6Start=389Update=0On first reboot i got the same error, stuck at boot screen / same terminal output ...But I noticed "#rm /dso/app/etc/aslf/*" in package/do_update.sh ... so I made a backup of aslf andremoved /dso/app/etc/aslf/*...Voila, the scope finally booted and and appears to work fine!

author: tinhead
author_rank: Super Contributor
timestamp: February 10, 2019, 05:44:31 pm
content: Quote from: rlohmann on February 10, 2019, 11:03:59 amyou welcome.Out of curiosity, can you post picture of let say 50-100MHz sine one one channel with max sampling ?I hope it does not looks like this one, which from 4000C model, which is based as the B Models on multiple AD9288Your 4000Bshouldlooks much better, but i never had a chance to see them in action.

author: rlohmann
author_rank: Contributor
timestamp: February 10, 2019, 05:55:34 pm
content: I would be pleased to help ...Unfortunately, I don't own a signal generator. Let me check if I can hold on one.I'll get back to you as soon as I have a update.

author: KlausF
author_rank: Contributor
timestamp: February 11, 2019, 01:37:24 pm
content: Quote from: tinhead on February 10, 2019, 05:44:31 pmHave you tried set the trace to average? Does the trace then get clear and crispy?Did you terminate ?@rlohmannWell done, you got it back to working.Wondering, whether the DSO-1084E is as "buggy" as is this similar looking one here

author: rlohmann
author_rank: Contributor
timestamp: February 11, 2019, 02:28:20 pm
content: @KlausFThis does not look promising... till now my scope did not crash so far.Need to check view examples, but as I updated the FW during the recovery, i'm confident at least few of them got fixed meanwhile.@tinheadJust as a side note, I#m guessing the VOLTCRAFT DSO-1084E (aka Hantek DSO4084B) does have a identical PCB to Hantek DSO4000C...At least some of the wave gen stuff is on the PCB.I'm meanwhile trying to figure out if I can get wave gen to work as well.https://www.eevblog.com/forum/testgear/upgrading-the-hantek-dso4072c-osciloscope-bandwidth-from-70mhz-to-200mhz/new/?topicseen#new

author: tinhead
author_rank: Super Contributor
timestamp: February 11, 2019, 11:23:42 pm
content: Quote from: KlausF on February 11, 2019, 01:37:24 pmKlausit's not my pic, it is taken from here:https://www.eevblog.com/forum/testgear/upgrading-the-hantek-dso4072c-osciloscope-bandwidth-from-70mhz-to-200mhz/and no, it does not matter if signal has been terminated, when sampled data has been not sorted properly due to bad fpga design, clock issues or signal path skew -> which was the case in the past for some Hantek models. The DSO4xx4B/C seems however to use single ADCinstead of 8 of themInterleaving is done within ADC, so one must be a real idiot to still screw this up - but who know, and that's why i'm asking for screenshot of such 4ch model (just check pictures from above thread).And no, i don't wan't clean avg pics, this is not what i'm asking for.

author: DK87
author_rank: Newbie
timestamp: March 08, 2019, 08:35:03 pm
content: Hey there,I also own a DSO-1084E which has exactly the same problem.Recently I told a friend about that issue and he told me to take a look at the EEVBLOG Forum and voila...I just found this threadUsing another scope I inspected the mainboard for UART Pinouts, but I can only find pins that raise to 3,3V and none of them seems to be "alive" during boot.@rlohmann..can you tell me where the UART Connector pins are?In the attachment below is a picture of my pcb and the pins I probed.Am I doing something wrong?Thanks a lot

author: rlohmann
author_rank: Contributor
timestamp: March 08, 2019, 08:54:46 pm
content: Hi DK87,welcome to the forum!If I remember correctly, the connector close to the RTC battery is the one I connected the FTDI adapter.I'll open my scope and check the connections, once I'm back home on Sunday.

author: DK87
author_rank: Newbie
timestamp: March 08, 2019, 11:53:34 pm
content: Hey rlohmann,thank youBut you won't have to open it up anymore becauseIt's WORKINGYou were right, the UART pinouts are right beside the RTC battery, I think I have been too lazy in probing or I was just too late when I probed the pins.After I found the right pins, I connected with my CP2102 UART USB Bridge at 115200 baud and the consoleoutputted almost the same as in your initial thread.I decompressed the firmware image downloaded from the conrad website but i haven't updated the files, I just deleted /dso/app/etc/aslf/*and it worked!Thank you very very much!By the way:I have put my log in the attachment for interest.Parts with "##" are a new section because I messed up with vi and you don't wanna see that

author: rlohmann
author_rank: Contributor
timestamp: March 09, 2019, 08:09:52 am
content: Great to hear your scope is working again.Could you mark the serial connections in your initial photo and post it here for reference?Just in case someone else is looking for this information ...

author: DK87
author_rank: Newbie
timestamp: March 10, 2019, 10:04:11 am
content: of cause I'll do that.Here it is

author: tkoop
author_rank: Newbie
timestamp: March 14, 2019, 03:33:27 pm
content: I think there was a wrong firmware published at some point. I just received a used scope like this. The description said, that the firmware has to be reflashed in order to use it. I'll just leave the serial output here without any comments...Code:acq_dot_nm_of_timerange =4000,time_range=1600000000000,dso_acq.dot_factor =1,sample_rate =2500.000000dso_acq_control:1:2056, 2056,0dso_acq_control:2:2056, 2056dso_acq_control:3:102800000, 103600000dso_acq_control:4:after= 102800000, before= 103600000unix:path=/tmp/dbus-2cwNKRB5GT,guid=f88b9ed89c06967a785f15695c8ae710[root@Hantek ~]#cat /dso/etc/system.infModel=dso1202lVendor=hantekProduct=FGenManufacturer=hantekSerial=DSO4D143501107Pcb=1001Keyboard=11Lans=255Language=1Start=0Update=0[root@Hantek ~]#

author: KlausF
author_rank: Contributor
timestamp: March 24, 2019, 05:35:08 pm
content: Is it possible to successfully update a Voltcraft scope with a Hantek firmware?I mean, it is the same hardware, just a different label.

author: tkoop
author_rank: Newbie
timestamp: March 24, 2019, 06:52:52 pm
content: This should be possible. At least it worked on my DSO

author: Pluscrafter
author_rank: Regular Contributor
timestamp: April 22, 2019, 07:32:15 pm
content: Did anyone know which Hantek Model the Voltcraft DSO-1104E is and if the DSO-1084E or DSO-1104E is hackable ?

author: Microcheap
author_rank: Frequent Contributor
timestamp: April 22, 2019, 09:55:44 pm
content: Quote from: Pluscrafter on April 22, 2019, 07:32:15 pmApparently these Voltcraft are manufactured by Hantek with the name DSO4004C series (http://www.hantek.com/en/ProductDetail_3_12167.html) and yes they are hackable:https://www.eevblog.com/forum/testgear/upgrading-the-hantek-dso4072c-osciloscope-bandwidth-from-70mhz-to-200mhz/msg2095372/#msg2095372@tinheadI am curious, how do you get the passphrase from the .upk files? I've been looking at it during the weekend with no success until I found, by chance, that you had already posted it here. I wanted to create an update file to easily re-config the BW of these scopes without the need to open the case.

author: tinhead
author_rank: Super Contributor
timestamp: April 23, 2019, 11:35:35 am
content: Quote from: Microcheap on April 22, 2019, 09:55:44 pmthe first time (~10yrs ago) was hard, as i had to buy first proper tools to dump the NAND and read content (that was the famous 0571tekway password), later it was easier as i had lot of Tekway/Hantek gears on my desk. So generally i was always doing dumps, and guessing pwd as well - once they started to use model name as password (0571tekway, 111111, 949307, dso5000p, dso5000c, mso5074fg, dso1000e, dso4000bc, ...)The rest of update file is easy step, just remember to tar/gzip under Linux (to get +x rights), or add it into "update" script.Btw, not sure if this is still working with these models, did you checked it? ->https://www.eevblog.com/forum/testgear/hantek-tekway-dso-hack-get-200mhz-bw-for-free/msg467313/#msg467313

author: Pluscrafter
author_rank: Regular Contributor
timestamp: April 27, 2019, 09:26:49 pm
content: Would you recommend this scope for a beginner?

author: Microcheap
author_rank: Frequent Contributor
timestamp: April 27, 2019, 10:02:59 pm
content: Quote from: Pluscrafter on April 27, 2019, 09:26:49 pmhuum... yes it is a nice scope but, you being in Europe and given the small price difference I would definitely recommend that you go either for the Rigol DS1054Z or Siglent SDS1104X-E that have better specs and more mature firmware. You can check Batronix in Germany or Batterfly in Italy for prices.You can get the Hantek DSO4084C from Aliexpress cheaper than Conrad's but then you wont have local support.

author: Pluscrafter
author_rank: Regular Contributor
timestamp: May 06, 2019, 01:03:27 pm
content: So I bought the scope, but to hack it I have to unscrew it. Are these Inbusscrews inch screws ? It's too big for a 2.5 mm one and too small for a 2 mm one. And has anyone an idea to open it. I have tried it with flat screwdriver but then I would break the screw.

author: Pluscrafter
author_rank: Regular Contributor
timestamp: May 06, 2019, 02:27:58 pm
content: No need to helpa glove for more grip.

author: Pluscrafter
author_rank: Regular Contributor
timestamp: May 06, 2019, 07:15:04 pm
content: Thanks it worked on the Voltcraft one you must type in 250M$DSO1254E. And is there a method to take a screenshot without to see the save menu or is this a bug? The key reuse function in the Display menu isn't there but mentioned in the Manual.With this hack and the newest firmware of Hantek the bugs in the video does not appear.

author: Space-Patrol
author_rank: Newbie
timestamp: February 26, 2021, 04:24:39 pm
content: Hi,i got the same scope (DSO1084E with 4000B model. Does someone have a complete flash dump?I do it the first time.I attached a log file created by hterm for windows.Thank you!

author: archive
author_rank: Newbie
timestamp: December 25, 2021, 09:33:09 pm
content: Hello.I have already received the second DSO1084E oscilloscope blocked on the Voltcraft logo. I don't know when both stopped working, I don't know if they were hacked.UART normal boot:QuoteUART after pressing F2 in recovery:F2.txt(49.76 kB - downloaded 141 times.)

author: airwolf
author_rank: Newbie
timestamp: March 05, 2023, 02:42:00 pm
content: Hi,I know this thread is rather old but I also have a problem with my Hantek DSO-4084B (its a real Hantek, not Vorltcraft). It worked fine for about 4 years until last week during a measurement it started to respond slowly to inputs on the buttons, so I switched it OFF and back ON and now its not fully booting any more.Unfortunately I cannot use the serial terminal of the scope, although I did connect it to a 2102 some time ago I never got a response from the scope, not even when it was still in working condition.Does anyone know if there is a way to restore/reset it whitout the terminal? Of course I am not sure if there isn't a hardware fault but as the screen is working and the buttons are lit it could be firmware lost or damaged.

author: Oleh UA
author_rank: Newbie
timestamp: March 18, 2023, 10:50:31 am
content: Hello. How did you solve your problem? 🙂

author: airwolf
author_rank: Newbie
timestamp: March 21, 2023, 05:48:04 pm
content: I finally could fix my scope, the problem with the serial connection was the UART I used (it was one with a micro USB connector, not sure if it was the type or it was just broken). I tried with another one (with a USB A connector) and the sonnection established immediately.Now all I had to do was to delete all the files in /dso/app/etc/aslf (as described somewhere up in this thread) and the scope boots again as before. Seems to be a bug in this scope, but once you know its easy to fix.I also updated the system.inf file to get 250 Mhz, works also fine, and afterwards I installed an upgrade to 1.1.2, no problem at all. So I think its not necessary to hack the eeprom as well.By the way opening the scope I broke the power push button, and ordered 6 new ones instead of 2 (they came in sets of 3), so if anybody needs one just write me (if you are not too far away from me - Austria, of course)

author: twoexem
author_rank: Newbie
timestamp: October 30, 2023, 09:30:20 pm
content: Sorry for the bump, but this was the only usable thread I found. What config (data bytes, stop bytes, parity, baud etc.) did you all use to connect to the scope? I'm currently trying to connect to my DSO5202P and no matter which settings I choose, I always get garbled junk data. It might be an issue with my USB serial connector, though, but it worked fine before so I can't imagine it's that.

author: airwolf
author_rank: Newbie
timestamp: October 31, 2023, 10:56:45 pm
content: I used 115.200 baud, 8 data bits, 1 stop bit no parity and no flow control.As USB-serial converter I use a CP2102 based device, this kind always seems to work while the PL2303 based ones don't. I acutally installed the 2102 device in the scope (it has a standard USB A connector), and now I can connect the scope to a PC with a terminal program any time very easy.Maybe you should try to exchange the USB-serial adapter, could save you a lot of time and headache (I should have done it as well).

author: ubata
author_rank: Contributor
timestamp: January 25, 2025, 05:58:09 pm
content: I apologize for bringing up an old topic.I have a Hantek DSO4202C Oscilloscope that sticks at boot screen.below is the board picon the board there is 2 ports that maybe UART. I soldered some pins there, but I cannot connect to the scope with neither of them using CP2102 usb to serial, when connecting the CP2102 to either, the cp2102 gets hot. I used putty, and nothing show on the putty console. I used this topic help to determine the port pins.https://www.eevblog.com/forum/testgear/voltcraft-dso-1084e-(hantek-dso4084b)-stuck-at-boot-screenHow can I identify the port pins? or Exactly How can I identify which port is UART?Meanwhile, I once shared the problem of not booting with Hantek support; they sent me a compressed file containing several files with the ".bin" image and told me to make an SD memory card bootable with one of the sent bin files using a Chinese app they sent to me, and copy the rest of the files to the root of the memory card; and place it inside the oscilloscope's memory card slot. Then, I turned it on while pressing the channel 1 vol/div knob. The oscilloscope should have entered programming mode, and the images would have been burned to the oscilloscope's internal memory. Unfortunately, this did not happen, and the screen was completely black with no message or response.Here I uploaded the file sent by Hantek.https://mega.nz/file/UfgHkBZI#jQJYnK6ivxzMsXdz_oPUENA21pFG302O94VgExwMqXM

author: ubata
author_rank: Contributor
timestamp: January 26, 2025, 04:13:02 pm
content: no one can help me?

author: Oscillator
author_rank: Contributor
timestamp: January 27, 2025, 06:43:49 am
content: @ubata:thanks for posting the sd-card image.i have the same problem like you (scope is not booting) and was looking for these files a long time.so here you can see how to attach the USB serial converter:see also first post here:https://www.eevblog.com/forum/testgear/upgrading-the-hantek-dso4072c-osciloscope-bandwidth-from-70mhz-to-200mhzso please tell us about your further steps and results.

author: ubata
author_rank: Contributor
timestamp: January 27, 2025, 06:21:24 pm
content: finally, I could connect serial connector, and below is the normal boot logCode:OM*** Warning - bad CRC, using default environment##### EmbedSky BIOS for SKY2416/TQ2416 #####This Board: SDRAM is 64MB; Press Space key to Download Mode.!NAND read: device 0 offset 0x380000, size 0x8002048 bytes read: OK**************************normal start*******************************NAND erase: device 0 offset 0x380000, size 0x80000Erasing at 0x3e0000 -- 100% complete.OKNAND write: device 0 offset 0x380000, size 0x800Writing data at 0x380800 -- 100% complete.2048 bytes written: OKNAND read: device 0 offset 0x380000, size 0x8002048 bytes read: OKSaving Environment to NAND...Erasing Nand...Warning: Erase size 0x00004000 smaller than one erase block 0x00020000Erasing 0x00020000 insteadErasing at 0x80000 -- 100% complete.Writing to Nand... doneNAND read: device 0 offset 0x400000, size 0x4000004194304 bytes read: OKBoot with zImageStarting kernel ...Uncompressing Linux... done, booting the kernel.Linux version 3.2.35 (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-176) ) #220 PREEMPT Thu Dec 13 08:12:38 CST 2018CPU: ARM926EJ-S  revision 5 (ARMv5TEJ), cr=00053177CPU: VIVT data cache, VIVT instruction cacheMachine: SMDK2416Ignoring unrecognised tag 0x54410008Memory policy: ECC disabled, Data cache writebackCPU S3C2416/S3C2450 (id 0x32450003)S3C24XX Clocks, Copyright 2004 Simtec ElectronicsCPU: MPLL on 800.000 MHz, cpu 400.000 MHz, mem 133.333 MHz, pclk 66.666 MHzCPU: EPLL on 96.000 MHz, usb-bus 48.000 MHzBuilt 1 zonelists in Zone order, mobility grouping on. Total pages: 16256Kernel command line: noinitrd ubi.mtd=5 root=ubi0:rootfs rootfstype=ubifs init=/linuxrc console=ttySAC0 lcd=X480Y272PID hash table entries: 256 (order: -2, 1024 bytes)Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)Memory: 64MB = 64MB totalMemory: 59744k/59744k available, 5792k reserved, 0K highmemVirtual kernel memory layout:vector : 0xffff0000 - 0xffff1000 ( 4 kB)fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)vmalloc : 0xc4800000 - 0xf6000000 ( 792 MB)lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)modules : 0xbf000000 - 0xc0000000 ( 16 MB).text : 0xc0008000 - 0xc04ab000 (4748 kB).init : 0xc04ab000 - 0xc04cb000 ( 128 kB).data : 0xc04cc000 - 0xc04ee020 ( 137 kB).bss : 0xc04ee044 - 0xc050bd7c ( 120 kB)SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1NR_IRQS:107irq: clearing subpending status 00000002Calibrating delay loop... 198.45 BogoMIPS (lpj=496128)pid_max: default: 4096 minimum: 301Mount-cache hash table entries: 512CPU: Testing write buffer coherency: okNET: Registered protocol family 16S3C2416: Initializing architectureS3C2416: IRQ SupportS3C24XX DMA Driver, Copyright 2003-2006 Simtec ElectronicsDMA channel 0 at c4804000, irq 88DMA channel 1 at c4804100, irq 89DMA channel 2 at c4804200, irq 90DMA channel 3 at c4804300, irq 91DMA channel 4 at c4804400, irq 92DMA channel 5 at c4804500, irq 93bio: create slab <bio-0> at 0SCSI subsystem initializedusbcore: registered new interface driver usbfsusbcore: registered new interface driver hubusbcore: registered new device driver usbs3c-i2c s3c2410-i2c: slave address 0x10s3c-i2c s3c2410-i2c: bus frequency set to 9 KHzs3c-i2c s3c2410-i2c: i2c-0: S3C I2C adapterAdvanced Linux Sound Architecture Driver Version 1.0.24.NET: Registered protocol family 2IP route cache hash table entries: 1024 (order: 0, 4096 bytes)TCP established hash table entries: 2048 (order: 2, 16384 bytes)TCP bind hash table entries: 2048 (order: 1, 8192 bytes)TCP: Hash tables configured (established 2048 bind 2048)TCP reno registeredNET: Registered protocol family 1RPC: Registered named UNIX socket transport module.RPC: Registered udp transport module.RPC: Registered tcp transport module.RPC: Registered tcp NFSv4.1 backchannel transport module.s3c-adc s3c24xx-adc: attached adc drivermsgmni has been set to 116io scheduler noop registered (default)io scheduler cfq registereds3c-fb s3c-fb: window 0: fbs3c-fb s3c-fb: LCD type is TN83 800*480, default_bpp=16, pixclock=5s3c2440-uart.0: ttySAC0 at MMIO 0x50000000 (irq = 70) is a S3C2440console  enableds3c2440-uart.1: ttySAC1 at MMIO 0x50004000 (irq = 73) is a S3C2440s3c2440-uart.2: ttySAC2 at MMIO 0x50008000 (irq = 76) is a S3C2440s3c2440-uart.3: ttySAC3 at MMIO 0x5000c000 (irq = 94) is a S3C2440loop: module loadedS3C24XX NAND Driver, (c) 2004 Simtec Electronicsinfo->cpu_type=3, tacls_max=8s3c24xx-nand s3c2416-nand: Tacls=3, 22ns Twrph0=7 52ns, Twrph1=3 22nss3c24xx-nand s3c2416-nand: System booted from NANDs3c24xx-nand s3c2416-nand: NAND ECC disabledNAND device: Manufacturer ID: 0xc8, Chip ID: 0xd1 (ISSI NAND 128MiB 3,3V 8-bit)NAND_ECC_NONE selected by board driver. This is not recommended!Scanning device for bad blocksBad eraseblock 483 at 0x000003c60000Creating 8 MTD partitions on "NAND":0x000000000000-0x000000100000 : "uboot"0x000000100000-0x000000180000 : "params"0x000000180000-0x000000380000 : "logo"0x000000380000-0x000000400000 : "misc"0x000000400000-0x000000800000 : "kernel"0x000000800000-0x000004e00000 : "rootfs"0x000004e00000-0x000005200000 : "kernel_bk"0x000005200000-0x000008000000 : "recover"UBI: attaching mtd5 to ubi0UBI: physical eraseblock size: 131072 bytes (128 KiB)UBI: logical eraseblock size: 126976 bytesUBI: smallest flash I/O unit: 2048UBI: VID header offset: 2048 (aligned 2048)UBI: data offset: 4096UBI: max. sequence number: 174UBI: attached mtd5 to ubi0UBI: MTD device name: "rootfs"UBI: MTD device size: 70 MiBUBI: number of good PEBs: 559UBI: number of bad PEBs: 1UBI: number of corrupted PEBs: 0UBI: max. allowed volumes: 128UBI: wear-leveling threshold: 4096UBI: number of internal volumes: 1UBI: number of user volumes: 1UBI: available PEBs: 164UBI: total number of reserved PEBs: 395UBI: number of PEBs reserved for bad PEB handling: 5UBI: max/mean erase counter: 2/1UBI: image sequence number: 1761812910UBI: background thread "ubi_bgt0d" started, PID 329ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Drivers3c2410-ohci s3c2410-ohci: S3C24XX OHCIs3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000hub 1-0:1.0: USB hub foundhub 1-0:1.0: 1 port detectedusbcore: registered new interface driver usblpusbcore: registered new interface driver uasInitializing USB Mass Storage driver...usbcore: registered new interface driver usb-storageUSB Mass Storage support registered.g_serial gadget: Gadget Serial v2.4g_serial gadget: g_serial readys3c-hsudc s3c-hsudc: bound driver g_serialsamsung-ts s3c2416-ts: driver attached, registering input deviceinput: S3C24XX TouchScreen as /devices/virtual/input/input0S3C24XX RTC, (c) 2004,2006 Simtec Electronicss3c-rtc s3c2410-rtc: rtc disabled, re-enablings3c-rtc s3c2410-rtc: rtc core: registered s3c as rtc0i2c /dev entries driverS3C2410 Watchdog Timer, (c) 2004 Simtec Electronicss3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq disabledsdhci: Secure Digital Host Controller Interface driversdhci: Copyright(c) Pierre Ossmans3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133333333 Hz)s3c-sdhci s3c-sdhci.1: clock source 1: hsmmc (133333333 Hz)s3c-sdhci s3c-sdhci.1: clock source 2: hsmmc-if (24000000 Hz)mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMAS3C24XX_UDA134X SoC Audio driverUDA134X SoC Audio Codecasoc: uda134x-hifi <-> s3c24xx-iis mapping okALSA device list:#0: S3C24XX_UDA134XTCP cubic registeredNET: Registered protocol family 17Registering the dns_resolver key types3c-rtc s3c2410-rtc: setting system clock to 2005-12-22 16:22:02 UTC (1135268522)UBIFS: recovery neededUBIFS: recovery completedUBIFS: mounted UBI device 0, volume 0, name "rootfs"UBIFS: file system size: 47869952 bytes (46748 KiB, 45 MiB, 377 LEBs)UBIFS: journal size: 2412544 bytes (2356 KiB, 2 MiB, 19 LEBs)UBIFS: media format: w4/r0 (latest is w4/r0)UBIFS: default compressor: lzoUBIFS: reserved for root: 2261015 bytes (2208 KiB)VFS: Mounted root (ubifs filesystem) on device 0:10.Freeing init memory: 128KFailed to execute /linuxrc. Attempting defaults.../bin/sh: can't access tty; job control turned off~ #I think the problem was here:Code:Failed to execute /linuxrc. Attempting defaults.../bin/sh: can't access tty; job control turned off[code/]

author: ubata
author_rank: Contributor
timestamp: January 27, 2025, 06:26:36 pm
content: Quote from: Oscillator on January 27, 2025, 06:43:49 amThank you for replyPlease tell us that the SD card method worked for you or not. I'm still working on it

author: ubata
author_rank: Contributor
timestamp: January 27, 2025, 07:06:31 pm
content: a little more try.boot failures screenshot and files listed belowanother picafter boot failure and turn scope again. we have 3 options for boot and recover.by pressing F2 the recovery process, the log attached at the end. before confirming recovery, the list of files is belowthird option update recovery partition shows errorfor last point the recover.sh file has been attached at the end. and I think can fix it having the recover*.up file in a usb disk, notice below command in recover.shCode:/usr/gpg149arm/bin/gpg --passphrase recoveruse --output /tmp/update/recover.tar.gz -d /mnt/udisk/recover*.up

author: Oscillator
author_rank: Contributor
timestamp: January 27, 2025, 08:03:00 pm
content: good that the serial connection is working now.i can make some tests on my scope only at the weekend.so i have to wait until saturday for making some tests.maybe there is a corrupted config file which crashes the boot sequence.so you might try to delete the broken files:https://www.eevblog.com/forum/testgear/hantek-tekway-dso-hack-get-200mhz-bw-for-free/msg183459/#msg183459or try this from reply #29 in this topic:Quotebtw: your boot log looks the same like in reply #25:Quote

author: ubata
author_rank: Contributor
timestamp: January 28, 2025, 10:20:54 am
content: Quote from: Oscillator on January 27, 2025, 08:03:00 pmunfortunately, there is not "etc/asfl" under "/dso/app path"only files that shown at below pic is there:Code:/dso/app # lsdsod io_bank show_pic test_bklfpga_ctl read_adc test_beep test_msp430

author: ubata
author_rank: Contributor
timestamp: January 28, 2025, 10:54:13 am
content: new updateI maked a 16GB SD card bootable and copied the image files, as Hantek suport said in email, turned on the scope simultaneously pressing Ch1 volt/div knob. Strangely, the Scope displayed the following inverted text on its monitor:Code:#OMCard Initialization failed.SD:File System init failed!Reading kernel from sector 30955502 (8192 sectors)..

author: airwolf
author_rank: Newbie
timestamp: January 29, 2025, 12:38:29 pm
content: I see that your motherboard looks very different to mine, although the front of the Oszilloskop looks very similar (mine is 4 channel however). Could be that the software is somewhat different too? Did you look if you can find an asfl folder somewhere else? Just look around in the scope using the terminal.The problem with my scope really was only the corrupted files in that folder, deleting them fixed everything.

author: Oscillator
author_rank: Contributor
timestamp: January 29, 2025, 05:33:00 pm
content: @airwolf:its not the same scope like yours.you have the 4084B.but ubata has 4202C.just look at the front panel. you dont have an sd-card slot and ubata dont have arrow keys next to the F1-F6 buttons.so its completely different hardware!i have the 4102C. today i was very curious and decided to open my scope to take a look inside.i have exactly the same PCB like ubata. and my scope doesnt boot also.in the coming days i will add my serial USB to check my boot logs.

author: ubata
author_rank: Contributor
timestamp: January 30, 2025, 11:40:39 am
content: Quote from: airwolf on January 29, 2025, 12:38:29 pmthanks for your replyI searched the entire file system of the scope, but I couldn't find the folder and files you mentioned.

author: ubata
author_rank: Contributor
timestamp: January 30, 2025, 11:54:09 am
content: some other updates:I saw the " Press Space key to Download Mod 0!" message when the scope booted, but I didn't think it would work.But when I pressed the space bar, surprisingly it worked. The scope went into download mode and showed me the download menu in the terminal.Now I don't know how to use these options to restore the device. Because Hantek sent me the image files and I uploaded them here:https://mega.nz/file/UfgHkBZI#jQJYnK6ivxzMsXdz_oPUENA21pFG302O94VgExwMqXMBelow you can see the download mode menu:Code:##### Boot for SKY2416/TQ2416 Main Menu ########## EmbedSky USB download mode ##### Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash Download LOGO (logo.bin) to Nand Flash Erase the MISC partion Download Kernel (kernel.bin) to Nand Flash Download UBIFS image (rootfs.ubi) to Nand Flash Download Kernel_bk (kernel_bk.bin) to Nand Flash Download UBIFS image (recover.ubi) to Nand Flash normal start! recover start! Set the boot parameters Format the Nand Flash Download User Program Choice lcd type. Enter TFTP download mode menu Reboot u-boot Test Linux Image (zImage)Enter your selection:download mode.gif(39.74 kB. 887x563 - viewed 26 times.)

author: airwolf
author_rank: Newbie
timestamp: January 30, 2025, 12:12:38 pm
content: Sorry guys, you are right my scope is very different. Sorry that I can't help.

author: ubata
author_rank: Contributor
timestamp: January 30, 2025, 01:27:09 pm
content: Quote from: ubata on January 30, 2025, 11:54:09 amI think we can fix it by copying the necessary images to a udisk and reburn them to NAND flash using download mode (The same thing was done in the method recommended by Hantek -using images and a bootable SD card-.), but I still afraid to brick the scope.

author: Oscillator
author_rank: Contributor
timestamp: January 30, 2025, 01:56:26 pm
content: be careful!as far as i understand this bootloader wants to download the binary image from the PC via USB connection and flash the contents to the NAND.so dont fiddle with the uboot loader in NAND. this will brick your scope for sure!btw: in which boot mode do you get the "space bar press" option?is it the normal startup, recovery or sd-card boot?

author: ubata
author_rank: Contributor
timestamp: January 30, 2025, 02:49:49 pm
content: Quote from: Oscillator on January 30, 2025, 01:56:26 pmI only pressed space button over the putty terminal window, in serial connection, in any type of boot, because the messages appear at top of any boot process.

author: ubata
author_rank: Contributor
timestamp: January 30, 2025, 03:07:29 pm
content: below is a link to DSO4104C normal boot loghttps://sigrok.org/wiki/Hantek_DSO4004C_series/Info

author: Oscillator
author_rank: Contributor
timestamp: January 30, 2025, 03:26:32 pm
content: thanks for the "normal" boot log.thats great!i noticed already before that in your boot log there is one partition missing: "config"i am not sure if this is related to different firmware versions, but most logs look like this:Quote

author: Oscillator
author_rank: Contributor
timestamp: January 30, 2025, 06:49:36 pm
content: okay, i didnt want to wait any longer and connected my scope to the serial bridge.my logs look very similar to the logs from ubata.i dont have a "config" partition too.

author: Oscillator
author_rank: Contributor
timestamp: January 31, 2025, 07:24:11 pm
content: @ubata:how did you write your sd-card?- which windows version?- which software?i tried today without any success.but i figured out how to transfer files from PC to the scope in usb download mode!first you need this software:SMDK2416.zipit contains drivers for 32bit. it was working for me on win 7 32bit.here are drivers for 64bit (but untested, refused to install on win 11 because of missing driver signature):driver_x64.zipstart dnw.exe on the PC and make serial console settings first and then open a serial connection.when you are in usb download mode you might press "t" for "Test Linux Image (zImage)"then you are told to connect the scope to the PC with an usb cable. after plugging the cable windows wants to install the device driver for the scope.finish the driver installation and go back to dnw.exe. now you can select "transmit" in the usb menu. select your kernel.bin file which comes with the hantek sd-card.after sending this file to the scope the kernel.bin will be booted.this is just for testing the whole setup.if everything is working fine, you might send the individual files from the hantek recovery sd-card.but dont send the uboot.bin! this can brick the booting of your scope!but use flashing the NAND at your own risk! i didnt try yet. ,-)

author: Oscillator
author_rank: Contributor
timestamp: February 01, 2025, 04:58:54 pm
content: the day of success!!!today i made the big step of flashing parts of the NAND.according to my theory of my previous posting i was using "dnw.exe" and some flash files fromthe hantek recovery sd-card for flashing in usb-download mode of the scopes bootloader.so i have flashed rootfs.ubi, recover.ubi and kernel.bin to the NAND. now my scope is booting fine again.and a nice side effect: it turns my OEM branded KKmoon DSO4102S into a Hantek DSO4202C.so now i am able to get some firmware updates too!this is the boot log of the broken scope before flashing:Code:##### EmbedSky BIOS for SKY2416/TQ2416 #####This Board: SDRAM is 64MB; Press Space key to Download Mode.!NAND read: device 0 offset 0x380000, size 0x8002048 bytes read: OK**************************recover start*******************************NAND erase: device 0 offset 0x380000, size 0x80000Erasing at 0x380000 -- 25% complete.Erasing at 0x3a0000 -- 50% complete.Erasing at 0x3c0000 -- 75% complete.Erasing at 0x3e0000 -- 100% complete.OKSaving Environment to NAND...Erasing Nand...Warning: Erase size 0x00004000 smaller than one erase block 0x00020000Erasing 0x00020000 insteadErasing at 0x80000 -- 100% complete.Writing to Nand... doneNAND read: device 0 offset 0x4e00000, size 0x4000004194304 bytes read: OKBoot with zImageStarting kernel ...Uncompressing Linux... done, booting the kernel.Linux version 3.2.35 (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-176) ) #219 PREEMPT Wed Dec 5 16:30:45 CST 2018CPU: ARM926EJ-S  revision 5 (ARMv5TEJ), cr=00053177CPU: VIVT data cache, VIVT instruction cacheMachine: SMDK2416Ignoring unrecognised tag 0x54410008Memory policy: ECC disabled, Data cache writebackCPU S3C2416/S3C2450 (id 0x32450003)S3C24XX Clocks, Copyright 2004 Simtec ElectronicsCPU: MPLL on 800.000 MHz, cpu 400.000 MHz, mem 133.333 MHz, pclk 66.666 MHzCPU: EPLL on 96.000 MHz, usb-bus 48.000 MHzBuilt 1 zonelists in Zone order, mobility grouping on. Total pages: 16256Kernel command line: noinitrd ubi.mtd=7 root=ubi0:recover rootfstype=ubifs init=/linuxrc console=ttySAC0 lcd=X480Y272PID hash table entries: 256 (order: -2, 1024 bytes)Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)Memory: 64MB = 64MB totalMemory: 59744k/59744k available, 5792k reserved, 0K highmemVirtual kernel memory layout:vector : 0xffff0000 - 0xffff1000 ( 4 kB)fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)vmalloc : 0xc4800000 - 0xf6000000 ( 792 MB)lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)modules : 0xbf000000 - 0xc0000000 ( 16 MB).text : 0xc0008000 - 0xc04ab000 (4748 kB).init : 0xc04ab000 - 0xc04cb000 ( 128 kB).data : 0xc04cc000 - 0xc04ee020 ( 137 kB).bss : 0xc04ee044 - 0xc050bd7c ( 120 kB)SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1NR_IRQS:107irq: clearing subpending status 00000002Calibrating delay loop... 198.45 BogoMIPS (lpj=496128)pid_max: default: 4096 minimum: 301Mount-cache hash table entries: 512CPU: Testing write buffer coherency: okNET: Registered protocol family 16S3C2416: Initializing architectureS3C2416: IRQ SupportS3C24XX DMA Driver, Copyright 2003-2006 Simtec ElectronicsDMA channel 0 at c4804000, irq 88DMA channel 1 at c4804100, irq 89DMA channel 2 at c4804200, irq 90DMA channel 3 at c4804300, irq 91DMA channel 4 at c4804400, irq 92DMA channel 5 at c4804500, irq 93bio: create slab <bio-0> at 0SCSI subsystem initializedusbcore: registered new interface driver usbfsusbcore: registered new interface driver hubusbcore: registered new device driver usbs3c-i2c s3c2410-i2c: slave address 0x10s3c-i2c s3c2410-i2c: bus frequency set to 9 KHzs3c-i2c s3c2410-i2c: i2c-0: S3C I2C adapterAdvanced Linux Sound Architecture Driver Version 1.0.24.NET: Registered protocol family 2IP route cache hash table entries: 1024 (order: 0, 4096 bytes)TCP established hash table entries: 2048 (order: 2, 16384 bytes)TCP bind hash table entries: 2048 (order: 1, 8192 bytes)TCP: Hash tables configured (established 2048 bind 2048)TCP reno registeredNET: Registered protocol family 1RPC: Registered named UNIX socket transport module.RPC: Registered udp transport module.RPC: Registered tcp transport module.RPC: Registered tcp NFSv4.1 backchannel transport module.s3c-adc s3c24xx-adc: attached adc drivermsgmni has been set to 116io scheduler noop registered (default)io scheduler cfq registereds3c-fb s3c-fb: window 0: fbs3c-fb s3c-fb: LCD type is TN83 800*480, default_bpp=16, pixclock=5s3c2440-uart.0: ttySAC0 at MMIO 0x50000000 (irq = 70) is a S3C2440console  enableds3c2440-uart.1: ttySAC1 at MMIO 0x50004000 (irq = 73) is a S3C2440s3c2440-uart.2: ttySAC2 at MMIO 0x50008000 (irq = 76) is a S3C2440s3c2440-uart.3: ttySAC3 at MMIO 0x5000c000 (irq = 94) is a S3C2440loop: module loadedS3C24XX NAND Driver, (c) 2004 Simtec Electronicsinfo->cpu_type=3, tacls_max=8s3c24xx-nand s3c2416-nand: Tacls=3, 22ns Twrph0=7 52ns, Twrph1=3 22nss3c24xx-nand s3c2416-nand: System booted from NANDs3c24xx-nand s3c2416-nand: NAND ECC disabledNAND device: Manufacturer ID: 0xc8, Chip ID: 0xd1 (ISSI NAND 128MiB 3,3V 8-bit)NAND_ECC_NONE selected by board driver. This is not recommended!Scanning device for bad blocksBad eraseblock 26 at 0x000000340000Bad eraseblock 56 at 0x000000700000Creating 8 MTD partitions on "NAND":0x000000000000-0x000000100000 : "uboot"0x000000100000-0x000000180000 : "params"0x000000180000-0x000000380000 : "logo"0x000000380000-0x000000400000 : "misc"0x000000400000-0x000000800000 : "kernel"0x000000800000-0x000004e00000 : "rootfs"0x000004e00000-0x000005200000 : "kernel_bk"0x000005200000-0x000008000000 : "recover"UBI: attaching mtd7 to ubi0UBI: physical eraseblock size: 131072 bytes (128 KiB)UBI: logical eraseblock size: 126976 bytesUBI: smallest flash I/O unit: 2048UBI: VID header offset: 2048 (aligned 2048)UBI: data offset: 4096UBI: max. sequence number: 512UBI: attached mtd7 to ubi0UBI: MTD device name: "recover"UBI: MTD device size: 46 MiBUBI: number of good PEBs: 368UBI: number of bad PEBs: 0UBI: number of corrupted PEBs: 0UBI: max. allowed volumes: 128UBI: wear-leveling threshold: 4096UBI: number of internal volumes: 1UBI: number of user volumes: 1UBI: available PEBs: 0UBI: total number of reserved PEBs: 368UBI: number of PEBs reserved for bad PEB handling: 3UBI: max/mean erase counter: 5/1UBI: image sequence number: 0UBI: background thread "ubi_bgt0d" started, PID 329ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Drivers3c2410-ohci s3c2410-ohci: S3C24XX OHCIs3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000hub 1-0:1.0: USB hub foundhub 1-0:1.0: 1 port detectedusbcore: registered new interface driver usblpusbcore: registered new interface driver uasInitializing USB Mass Storage driver...usbcore: registered new interface driver usb-storageUSB Mass Storage support registered.g_serial gadget: Gadget Serial v2.4g_serial gadget: g_serial readys3c-hsudc s3c-hsudc: bound driver g_serialsamsung-ts s3c2416-ts: driver attached, registering input deviceinput: S3C24XX TouchScreen as /devices/virtual/input/input0S3C24XX RTC, (c) 2004,2006 Simtec Electronicss3c-rtc s3c2410-rtc: rtc disabled, re-enablings3c-rtc s3c2410-rtc: rtc core: registered s3c as rtc0i2c /dev entries driverS3C2410 Watchdog Timer, (c) 2004 Simtec Electronicss3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq disabledsdhci: Secure Digital Host Controller Interface driversdhci: Copyright(c) Pierre Ossmans3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133333333 Hz)s3c-sdhci s3c-sdhci.1: clock source 1: hsmmc (133333333 Hz)s3c-sdhci s3c-sdhci.1: clock source 2: hsmmc-if (24000000 Hz)mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMAS3C24XX_UDA134X SoC Audio driverUDA134X SoC Audio Codecasoc: uda134x-hifi <-> s3c24xx-iis mapping okALSA device list:#0: S3C24XX_UDA134XTCP cubic registeredNET: Registered protocol family 17Registering the dns_resolver key types3c-rtc s3c2410-rtc: setting system clock to 2000-01-01 05:05:22 UTC (946703122)UBIFS: recovery neededUBIFS: recovery completedUBIFS: mounted UBI device 0, volume 0, name "recover"UBIFS: file system size: 44441600 bytes (43400 KiB, 42 MiB, 350 LEBs)UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)UBIFS: media format: w4/r0 (latest is w4/r0)UBIFS: default compressor: lzoUBIFS: reserved for root: 0 bytes (0 KiB)VFS: Mounted root (ubifs filesystem) on device 0:10.Freeing init memory: 128KPlease press Enter to activate this console. dso-iobank: install ok0x505gpio_major_n = 5, io_minor_n = 5, output 00x603gpio_major_n = 6, io_minor_n = 3, output 00x309gpio_major_n = 3, io_minor_n = 9, output 00x70agpio_major_n = 7, io_minor_n = 10, output 0dso5000b fpga configure initFPGA0_nCONFIG set config = -15FPGA0_nSTATUS set config = -16FPGA0_CONF_DONE set config = -16FPGA0_nCONFIG set pull = 2FPGA0_nSTATUS set pull = 2FPGA1_nCONFIG set config = -15FPGA1_nSTATUS set config = -16FPGA1_CONF_DONE set config = -15FPGA1_nCONFIG set pull = 2FPGA1_nSTATUS set pull = 2fpga0:status: 0x0FPGA0 CONFIGURE DATA DOWN finish.FPGA0 CONFIGURE Ok.AFG3050 CFG fpga1 no cfg fileAFG3050_fpga_cfg: probe of spi0.1 failed with error -1fpga bank 11811input: dso_kbd as /devices/virtual/misc/fpga_mem/input1fpga_mem: install okfpga_ctl_kbd_open:1: (null)fpga_ctl_kbd_open:2:c3ba22a0dso keyboard: key (code 0xd) released.dso keyboard: key (code 0x14) released.dso keyboard: key (code 0x16) released.dso keyboard: key (code 0x19) released.dso keyboard: key (code 0x3) pressed.dso keyboard: key (code 0x3) released.dso keyboard: key (code 0x3) pressed.dso keyboard: key (code 0x3) released.

author: Oscillator
author_rank: Contributor
timestamp: February 03, 2025, 08:51:20 am
content: and this is my new boot log after flashing parts of the NAND:Code:##### EmbedSky BIOS for SKY2416/TQ2416 #####This Board: SDRAM is 64MB; Press Space key to Download Mode.!NAND read: device 0 offset 0x380000, size 0x8002048 bytes read: OK**************************normal start*******************************NAND erase: device 0 offset 0x380000, size 0x80000Erasing at 0x380000 -- 25% complete.Erasing at 0x3a0000 -- 50% complete.Erasing at 0x3c0000 -- 75% complete.Erasing at 0x3e0000 -- 100% complete.OKNAND write: device 0 offset 0x380000, size 0x800Writing data at 0x380000 -- 0% complete.Writing data at 0x380800 -- 100% complete.2048 bytes written: OKNAND read: device 0 offset 0x380000, size 0x8002048 bytes read: OKSaving Environment to NAND...Erasing Nand...Warning: Erase size 0x00004000 smaller than one erase block 0x00020000Erasing 0x00020000 insteadErasing at 0x80000 -- 100% complete.Writing to Nand... doneNAND read: device 0 offset 0x400000, size 0x400000Skipping bad block 0x000000004194304 bytes read: OKBoot with zImageStarting kernel ...Uncompressing Linux... done, booting the kernel.Linux version 3.2.35 (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-176) ) #220 PREEMPT Thu Dec 13 08:12:38 CST 2018CPU: ARM926EJ-S  revision 5 (ARMv5TEJ), cr=00053177CPU: VIVT data cache, VIVT instruction cacheMachine: SMDK2416Ignoring unrecognised tag 0x54410008Memory policy: ECC disabled, Data cache writebackCPU S3C2416/S3C2450 (id 0x32450003)S3C24XX Clocks, Copyright 2004 Simtec ElectronicsCPU: MPLL on 800.000 MHz, cpu 400.000 MHz, mem 133.333 MHz, pclk 66.666 MHzCPU: EPLL on 96.000 MHz, usb-bus 48.000 MHzBuilt 1 zonelists in Zone order, mobility grouping on. Total pages: 16256Kernel command line: noinitrd ubi.mtd=5 root=ubi0:rootfs rootfstype=ubifs init=/linuxrc console=ttySAC0 lcd=X480Y272PID hash table entries: 256 (order: -2, 1024 bytes)Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)Memory: 64MB = 64MB totalMemory: 59744k/59744k available, 5792k reserved, 0K highmemVirtual kernel memory layout:vector : 0xffff0000 - 0xffff1000 ( 4 kB)fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)vmalloc : 0xc4800000 - 0xf6000000 ( 792 MB)lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)modules : 0xbf000000 - 0xc0000000 ( 16 MB).text : 0xc0008000 - 0xc04ab000 (4748 kB).init : 0xc04ab000 - 0xc04cb000 ( 128 kB).data : 0xc04cc000 - 0xc04ee020 ( 137 kB).bss : 0xc04ee044 - 0xc050bd7c ( 120 kB)SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1NR_IRQS:107irq: clearing subpending status 00000002Calibrating delay loop... 198.45 BogoMIPS (lpj=496128)pid_max: default: 4096 minimum: 301Mount-cache hash table entries: 512CPU: Testing write buffer coherency: okNET: Registered protocol family 16S3C2416: Initializing architectureS3C2416: IRQ SupportS3C24XX DMA Driver, Copyright 2003-2006 Simtec ElectronicsDMA channel 0 at c4804000, irq 88DMA channel 1 at c4804100, irq 89DMA channel 2 at c4804200, irq 90DMA channel 3 at c4804300, irq 91DMA channel 4 at c4804400, irq 92DMA channel 5 at c4804500, irq 93bio: create slab <bio-0> at 0SCSI subsystem initializedusbcore: registered new interface driver usbfsusbcore: registered new interface driver hubusbcore: registered new device driver usbs3c-i2c s3c2410-i2c: slave address 0x10s3c-i2c s3c2410-i2c: bus frequency set to 9 KHzs3c-i2c s3c2410-i2c: i2c-0: S3C I2C adapterAdvanced Linux Sound Architecture Driver Version 1.0.24.NET: Registered protocol family 2IP route cache hash table entries: 1024 (order: 0, 4096 bytes)TCP established hash table entries: 2048 (order: 2, 16384 bytes)TCP bind hash table entries: 2048 (order: 1, 8192 bytes)TCP: Hash tables configured (established 2048 bind 2048)TCP reno registeredNET: Registered protocol family 1RPC: Registered named UNIX socket transport module.RPC: Registered udp transport module.RPC: Registered tcp transport module.RPC: Registered tcp NFSv4.1 backchannel transport module.s3c-adc s3c24xx-adc: attached adc drivermsgmni has been set to 116io scheduler noop registered (default)io scheduler cfq registereds3c-fb s3c-fb: window 0: fbs3c-fb s3c-fb: LCD type is TN83 800*480, default_bpp=16, pixclock=5s3c2440-uart.0: ttySAC0 at MMIO 0x50000000 (irq = 70) is a S3C2440console  enableds3c2440-uart.1: ttySAC1 at MMIO 0x50004000 (irq = 73) is a S3C2440s3c2440-uart.2: ttySAC2 at MMIO 0x50008000 (irq = 76) is a S3C2440s3c2440-uart.3: ttySAC3 at MMIO 0x5000c000 (irq = 94) is a S3C2440loop: module loadedS3C24XX NAND Driver, (c) 2004 Simtec Electronicsinfo->cpu_type=3, tacls_max=8s3c24xx-nand s3c2416-nand: Tacls=3, 22ns Twrph0=7 52ns, Twrph1=3 22nss3c24xx-nand s3c2416-nand: System booted from NANDs3c24xx-nand s3c2416-nand: NAND ECC disabledNAND device: Manufacturer ID: 0xc8, Chip ID: 0xd1 (ISSI NAND 128MiB 3,3V 8-bit)NAND_ECC_NONE selected by board driver. This is not recommended!Scanning device for bad blocksBad eraseblock 26 at 0x000000340000Bad eraseblock 56 at 0x000000700000Creating 8 MTD partitions on "NAND":0x000000000000-0x000000100000 : "uboot"0x000000100000-0x000000180000 : "params"0x000000180000-0x000000380000 : "logo"0x000000380000-0x000000400000 : "misc"0x000000400000-0x000000800000 : "kernel"0x000000800000-0x000004e00000 : "rootfs"0x000004e00000-0x000005200000 : "kernel_bk"0x000005200000-0x000008000000 : "recover"UBI: attaching mtd5 to ubi0UBI: physical eraseblock size: 131072 bytes (128 KiB)UBI: logical eraseblock size: 126976 bytesUBI: smallest flash I/O unit: 2048UBI: VID header offset: 2048 (aligned 2048)UBI: data offset: 4096UBI: max. sequence number: 287UBI: attached mtd5 to ubi0UBI: MTD device name: "rootfs"UBI: MTD device size: 70 MiBUBI: number of good PEBs: 560UBI: number of bad PEBs: 0UBI: number of corrupted PEBs: 0UBI: max. allowed volumes: 128UBI: wear-leveling threshold: 4096UBI: number of internal volumes: 1UBI: number of user volumes: 1UBI: available PEBs: 0UBI: total number of reserved PEBs: 560UBI: number of PEBs reserved for bad PEB handling: 5UBI: max/mean erase counter: 2/1UBI: image sequence number: 0UBI: background thread "ubi_bgt0d" started, PID 329ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Drivers3c2410-ohci s3c2410-ohci: S3C24XX OHCIs3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000hub 1-0:1.0: USB hub foundhub 1-0:1.0: 1 port detectedusbcore: registered new interface driver usblpusbcore: registered new interface driver uasInitializing USB Mass Storage driver...usbcore: registered new interface driver usb-storageUSB Mass Storage support registered.g_serial gadget: Gadget Serial v2.4g_serial gadget: g_serial readys3c-hsudc s3c-hsudc: bound driver g_serialsamsung-ts s3c2416-ts: driver attached, registering input deviceinput: S3C24XX TouchScreen as /devices/virtual/input/input0S3C24XX RTC, (c) 2004,2006 Simtec Electronicss3c-rtc s3c2410-rtc: rtc disabled, re-enablings3c-rtc s3c2410-rtc: rtc core: registered s3c as rtc0i2c /dev entries driverS3C2410 Watchdog Timer, (c) 2004 Simtec Electronicss3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq disabledsdhci: Secure Digital Host Controller Interface driversdhci: Copyright(c) Pierre Ossmans3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133333333 Hz)s3c-sdhci s3c-sdhci.1: clock source 1: hsmmc (133333333 Hz)s3c-sdhci s3c-sdhci.1: clock source 2: hsmmc-if (24000000 Hz)mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMAS3C24XX_UDA134X SoC Audio driverUDA134X SoC Audio Codecasoc: uda134x-hifi <-> s3c24xx-iis mapping okALSA device list:#0: S3C24XX_UDA134XTCP cubic registeredNET: Registered protocol family 17Registering the dns_resolver key types3c-rtc s3c2410-rtc: setting system clock to 2009-01-01 00:11:17 UTC (1230768677)UBIFS: recovery neededUBIFS: recovery completedUBIFS: mounted UBI device 0, volume 0, name "rootfs"UBIFS: file system size: 68567040 bytes (66960 KiB, 65 MiB, 540 LEBs)UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)UBIFS: media format: w4/r0 (latest is w4/r0)UBIFS: default compressor: lzoUBIFS: reserved for root: 0 bytes (0 KiB)VFS: Mounted root (ubifs filesystem) on device 0:10.Freeing init memory: 128Kdso-iobank: install ok0x505gpio_major_n = 5, io_minor_n = 5, output 00x603gpio_major_n = 6, io_minor_n = 3, output 00x309gpio_major_n = 3, io_minor_n = 9, output 00x70agpio_major_n = 7, io_minor_n = 10, output 0dso5000b fpga configure initFPGA0_nCONFIG set config = -15FPGA0_nSTATUS set config = -16FPGA0_CONF_DONE set config = -16FPGA0_nCONFIG set pull = 2FPGA0_nSTATUS set pull = 2FPGA1_nCONFIG set config = -15FPGA1_nSTATUS set config = -16FPGA1_CONF_DONE set config = -14FPGA1_nCONFIG set pull = 2FPGA1_nSTATUS set pull = 2fpga0:status: 0x0FPGA0 CONFIGURE DATA DOWN finish.FPGA0 CONFIGURE Ok.AFG3050 CFG fpga1 no cfg fileAFG3050_fpga_cfg: probe of spi0.1 failed with error -10x80900x1fpga bank 11811dso-fpga: install okdm9000 Ethernet Driver, V1.31dm9000 dm9000: read wrong id 0x2b2a2928dm9000 dm9000: read wrong id 0x2b2a2928dm9000 dm9000: read wrong id 0x2b2a2928dm9000 dm9000: read wrong id 0x2b2a2928dm9000 dm9000: read wrong id 0x2b2a2928dm9000 dm9000: read wrong id 0x2b2a2928dm9000 dm9000: read wrong id 0x2b2a2928dm9000 dm9000: read wrong id 0x2b2a2928dm9000 dm9000: wrong id: 0x2b2a2928dm9000 dm9000: not found (-19).bkl tq2416-backlight initialized done...dso-buzzer s3c2416-beep initialized done.../etc/init.d/rcS: line 32: /dso/alsa_node.sh: not foundifconfig: SIOCSIFADDR: No such devicebw_now = 200make snd node.--------------------------------------------------------------------------------start--------------------------------------------------------------------------------Please press Enter to activate this console.Erasing 128 Kibyte @ 0 - 0% complete.Erasing 128 Kibyte @ 20000 - 25% complete.Erasing 128 Kibyte @ 40000 - 50% complete.Erasing 128 Kibyte @ 60000 - 75% complete.Erasing 128 Kibyte @ 80000 - 100% complete.mtd3: 00080000 00020000 "misc"Erasing 128 Kibyte @ 0 - 0% complete.Erasing 128 Kibyte @ 20000 - 25% complete.Erasing 128 Kibyte @ 40000 - 50% complete.Erasing 128 Kibyte @ 60000 - 75% complete.Erasing 128 Kibyte @ 80000 - 100% complete.<0>open /dev/adc: No such file or directory*****set_value = 1param_array = 1SetFpgaCh1VerticDac:value=23783value1 = 15468value2 = 15468SetFpgaCh1VerticDac:value=23783value1 = 15468value2 = 15468so there is still no extra "config" partition like in other firmwares but who cares?

author: ubata
author_rank: Contributor
timestamp: February 05, 2025, 02:44:40 am
content: @Oscillator:Thank you for your contribution. Flashing the NAND was worked for me too. But I have measurement problems, the voltage readings are not correct, and about 12% drifted down. I tried self calibration several times, but nothing changed. I think the "/config" partition may had some important calibration data, and now we lost them.Do you have the same problem?

author: Oscillator
author_rank: Contributor
timestamp: February 05, 2025, 07:02:55 am
content: i have made the self calibration also.i did only a short test with the built in 1khz test signal and the waveform generator.the test signal shows 4.88V. (jumps to 4.96V from time to time)when i set the generator to 3.0V then the measurement shows 2.96V.i have no big experience with this scope but i think these values are okay.

author: ubata
author_rank: Contributor
timestamp: February 05, 2025, 07:25:41 am
content: Can you locate where the calibration data stored?I haven't access to the scope nowMeanwhile, I had violent jitter on fast rising waves, even with scopes own generator. Like the picture posted by "tin head" here:https://www.eevblog.com/forum/testgear/upgrading-the-hantek-dso4072c-osciloscope-bandwidth-from-70mhz-to-200mhz/?action=dlattach;attach=612976

author: Oscillator
author_rank: Contributor
timestamp: February 05, 2025, 07:38:44 am
content: i have closed my scope already.so i cant check the directories anymore.but i am pretty sure there is a config subdirectory in the rootfs.btw: flashing with dnw.exe gives the same result as flashing with the recovery sd-card.the files are the same! so you might ask the hantek support if it wipes your calibration.i guess thats the way it is.but if the config data is missing, the system will complain at startup for sure!i can double check the measurements with another DSO in the evening.

author: ubata
author_rank: Contributor
timestamp: February 05, 2025, 09:30:08 am
content: Quote from: Oscillator on February 05, 2025, 07:38:44 amThanks a lot

author: Oscillator
author_rank: Contributor
timestamp: February 05, 2025, 07:04:24 pm
content: i am finished with my measurements.i took a hantek DSO5072P for comparison.first i made a self calibration on both scopes.then i measured an 1,5v alkaline battery.a plain digital multimeter schows 1,5 volts for this battery.my flashed 4102C shows 1.28v and the 5072P shows 1.6v.all other measurements give the same reuslts:the 4102C has too low values and the 5072P has too high values.to my surprise the voltage of the 1khz test signal doenst show the same like in the morning.in the morning i had 4.8 volts which is not bad at all.now in the evening after a new self calibration the 4102C only shows 4.4 volts. the 5072P shows 5.36 volts.all measuremts were taken with the same probe!and both scopes show a jittered signal from the wave generator in high frequencies.there is no difference!so a long story short:i dont think the new software has broken the old calibration.@ubata:what voltage is shown in your scope for the test signal?

author: ubata
author_rank: Contributor
timestamp: February 09, 2025, 01:44:38 pm
content: Quote from: Oscillator on February 05, 2025, 07:04:24 pmI think you are right. new software has not broken the old calibration. meanwhile "/config" partition does not belong to DSO4xx2C and even DSO5000P series.for the scope compensation test signal pk-pk is about 4.8V that's not very bad

author: maxxim
author_rank: Contributor
timestamp: August 26, 2025, 03:42:09 am
content: Hi,does anyone have a NAND backup for the Voltcraft DSO-1084E? If so, please contact me.Any help would be greatly appreciated.

author: maxxim
author_rank: Contributor
timestamp: September 07, 2025, 06:39:08 pm
content: hello friends, I need the first stage bootloader for s3c2416, that is, the first 8192 bytes on the nand flash, because it has been deleted and my DSO does not start. I would be very grateful for your help

author: ubata
author_rank: Contributor
timestamp: September 07, 2025, 07:04:33 pm
content: I was uploaded the img files some months ago, don't they work for you?

author: maxxim
author_rank: Contributor
timestamp: September 13, 2025, 04:23:11 pm
content: Thanks for the answer but I don't know which image files you mean.How could you get an SD card image from Hantek? They replied to me and asked for the serial number and nothing after that.

author: ubata
author_rank: Contributor
timestamp: September 13, 2025, 06:40:24 pm
content: Quote from: maxxim on September 13, 2025, 04:23:11 pmbelow is 2 link, first for dso4202c 2ch, incompatible with your scope. second is for dso4104c 4ch that maybe suitable for your device. test in your own risk.1-https://mega.nz/file/UfgHkBZI#jQJYnK6ivxzMsXdz_oPUENA21pFG302O94VgExwMqXM2-https://mega.nz/file/xXYTlQRY#EaHufEO_-p15zlPScRHQ6Hk_R4bfhN795x6HUkFQBaUlet us to know your progress