Products > Test Equipment
Hantek DSO1152S - Wont boot after firmware update
WanaGo:
Hello,
I was just wondering if there is anyone on here who may be able to help.
My scope was running the stock factory firmware on my Hantek DSO1152S (Handheld 150Mhz isolated scope), and I noticed there was an update available as there were a few bugs I had found, such as the MEAS button not being able to measure any other channel other than CH1. So I thought I would try a firmware update.
I went on the Hantek website and downloaded the latest update. Put it on a USB drive, went to the update menu and placed the USB drive in the scope, waited for it to be detected and then clicked update.
It did 10/10 on the process update and then restarted. All looked fine.
Now I am in a boot loop and it will not get past the main start screens. The first shows the Handheld oscilloscope picture, and then the 2nd screen shows the Hantek name, website and the version number. It then restarts and repeats over and over.
Not sure what could have happened, unless the firmware was somehow corrupt?
Was plugged into AC, didn't touch it during the update.
Is there a way to force an update or restore it?
Any help would be appreciated. Currently dead in the water and urgently needing the scope working again
Kind Regards
WanaGo
WanaGo:
Seems someone else may have encountered a similar thing to me...
I couldnt get the hantek.org forum up, so I had to seek out a cached version, here: http://webcache.googleusercontent.com/search?q=cache:http://www.hantek.org/asken/iaskdetail.aspx?id=2014052620325673
Can someone please explain if they know the process to fix this. I am happy to open the case and connect a TTL to serial cable and do something with Linux if required.
I have a Ubuntu VM I could use, and have 3.3V TTL cables, may even find a 5V one...
If someone could help that would be highly appreciated
Kind Regards
WanaGo
WanaGo:
Here are some photos of the internals if this helps
I assume the UART header is the one marked J801, and the pin with the arrow marks the 3.3V pin, followed by GND, TXD and RXD ?
How do I connect to it, what program? What baud rate etc?
What do I need to do?
Any help would be appreciated
Thanks in advance
Regards
WanaGo
WanaGo:
OK Yip that seems to be the UART port.
Baud seems to be 115200
Here is the output after pressing power button ON.
--- Quote ---*** Warning - bad CRC or NAND, using default environment
##### EmbedSky BIOS for SKY2440/TQ2440 #####
Press Space key to Download Mode !
Booting Linux ...
Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00200000 ... Copy Kernel to SDRAM done,NOW, Booting Linux......
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.30.4 (root@zgt) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-176) ) #125 Sat Jun 30 17:13:48 CST 2012
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: TQ2440
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
NR_IRQS:85
irq: clearing pending ext status 00000300
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61260KB available (3160K code, 346K data, 100K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 296 bytes
NET: Registered protocol family 16
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
S3C244X: Clock Support, DVS off
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
IP 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 registered
NET: Registered protocol family 1
yaffs Jun 30 2012 14:45:29 Installing.
msgmni has been set to 119
alg: No test for stdrng (krng)
io scheduler noop registered (default)
backlight initialized
s3c2440-uart.0: tq2440_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: tq2440_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: tq2440_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
loop: module loaded
Driver 'sd' needs updating - please use bus_type methods
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=2, 20ns Twrph0=3 30ns, Twrph1=2 20ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x000000000000-0x000000040000 : "EmbedSky_Board_uboot"
0x000000200000-0x000000400000 : "EmbedSky_Board_kernel"
0x000000400000-0x000003ff8000 : "EmbedSky_Board_yaffs2"
0x000000100000-0x000000200000 : "EmbedSky_Board_logo"
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
Linux video capture interface: v2.00
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: starting watchdog timer
s3c2410-wdt s3c2410-wdt: watchdog active, reset abled, irq enabled
mapped channel 0 to 0
s3c2440-sdi s3c2440-sdi: powered down.
s3c2440-sdi s3c2440-sdi: initialisation done.
s3c2440-sdi s3c2440-sdi: powered down.
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.18a.
No device for DAI UDA134X
No device for DAI s3c24xx-i2s
S3C24XX_UDA134X SoC Audio driver
UDA134X SoC Audio Codec
asoc: UDA134X <-> s3c24xx-i2s mapping ok
ALSA device list:
#0: S3C24XX_UDA134X (UDA134X)
TCP cubic registered
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
lib80211: common routines for IEEE802.11 drivers
s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 100K
__init s3c24xxfb_probe
=======================================
map_video_memory(fbi=c3ae8a3c) map_size 614400
map_video_memory: clear ffc42000:00096000
map_video_memory: dma=33100000 cpu=ffc42000 size=00096000
setting vert: up=11, low=11, sync=1
setting horz: lft=17, rt=135, sync=11
s3c2410fb_activate_var
S3C2410_LCDCON1_CLKVAL(default_display->setclkval)=1
Console: switching to mono frame buffer device 80x30
fb0: s3c2410fb frame buffer device
hwclock: settimeofday: Invalid argument
bwscon:0x2201d110
fpga bank 221422
dso-fpga: install ok
dso-spi initialized
Init spi success!
New Log Write OK Length:21
s3c2440_clkcon=00FE7FF0
fpga download file_name :dn.rbf
copy-from-user ok
dn_file_name:dn.rbf
fpga_down_load file name : dn.rbf.
data DOWN finish.
dso-spi:FPGA_DOWNLOAD ok.
release
var.xres=640
var.yres=480
var.bits_per_pixel=16
var.xres_virtual=640
var.yres_virtual=480
fix.id=s3c2410fb
fix.smem_start=856686592
fix.smem_len=614400
fix.type=0
fix.type_aux=0
fix.xpanstep=0
fix.ypanstep=0
fix.ywrapstep=0
fix.line_length=1280
argv[1]=16
var.xres=640.var.yres=480.var.bits_per_pixel=16
show logo,video_buf_size = 614400
dm9000 Ethernet Driver, V1.31
Now use the default MAC address: 10:23:45:67:89:ab
eth0 (dm9000): not using net_device_ops yet
eth0: dm9000e at c49b8300,c49bc304 IRQ 53 MAC: 10:23:45:67:89:ab (EmbedSky)
Hantek GPIO(buzzer/speaker),(c)20110309
Try to bring eth0 interface up ...
Hantek-gpio initialized
speaker on
Beep
dso-buzzer initialized
ifconfig eth0 hw ether 10:23:45:67:89:ab
eth0: link down
ifconfig eth0 192.168.1.55 netmask 255.255.255.0 up
/sbin/net_set: line 5: route: not found
add default gw 192.168.1.2
Done
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10
pdata->frequency=6000
s3c2440-i2c s3c2440-i2c: bus frequency set to 9 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
s3c2410_udc: debugfs dir creation failed -19
s3c2440-usbgadget s3c2440-usbgadget: S3C2440: increasing FIFO to 128 bytes
g_serial gadget: Gadget Serial v2.4
g_serial gadget: g_serial ready
lcd_init
dso-lcd1 initialized
tq2440_ts: module license 'unspecified' taints kernel.
Disabling lock debugging due to kernel taint
TQ2440 TouchScreen successfully loaded
input: TQ2440 TouchScreen as /devices/virtual/input/input0
Power-Ctrl initialized
no update file to foud
now run app .....
var.xres=640
var.yres=480
var.bits_per_pixel=16
var.xres_virtual=640
var.yres_virtual=480
fix.id=s3c2410fb
fix.smem_stsetting vert: up=11, low=11, sync=1
setting horz: lft=17, rt=135, sync=11
s3c2410fb_activate_var
S3C2410_LCDCON1_CLKVAL(default_display->setclkval)=1
art=856686592
fix.smem_len=614400
fix.type=0
fix.type_aux=0
fix.xpanstep=0
fix.ypanstep=0
fix.ywrapstep=0
fix.line_length=1280
argv[1]=8
var.xres=640.var.yres=480.var.bits_per_pixel=8
Please press Enter to activate this console. setting vert: up=11, low=11, sync=1
setting horz: lft=17, rt=135, sync=11
s3c2410fb_activate_var
S3C2410_LCDCON1_CLKVAL(default_display->setclkval)=1
--- End quote ---
WanaGo:
It talks about pressing Space at the start, to enter download mode
Would this then let me download an older firmware to correct this mess?
It talks about pressing Enter later on. I did this and it enters the Linux prompt.
Not sure what to do in either though
Regards
WanaGo
Navigation
[0] Message Index
[#] Next page
Go to full version