Hello Guys,
i got my Merak MR33 a year ago but i wasn't able to flash it.
So i gave it a new try today and it failed again.
My Setup:
-
USB 2.0 CH340G TTL Konverter Adapter CP2102 PL2303 UART FTDI Arduino 5V + 3.3V
-
xubuntu-18.04.2-desktop-i386 as Live System
Here Picture of the wiring:
Here what i did:
apt update
apt install python-pip
pip install pyserial
stty -F /dev/ttyUSB0 115200 cs8 -cstopb -parenb
root@ubuntu:~# dmesg | grep tty
[ 0.000000] console [tty0] enabled
[ 51.733484] cdc_acm 2-4:1.1: ttyACM0: USB ACM device
[ 51.734274] cdc_acm 2-4:1.3: ttyACM1: USB ACM device
[ 51.734844] cdc_acm 2-4:1.9: ttyACM2: USB ACM device
[ 51.736182] usb 6-1: ch341-uart converter now attached to ttyUSB0
root@ubuntu:~# dmesg | egrep --color 'serial| ttyUSB'
[ 51.603075] usbcore: registered new interface driver usbserial_generic
[ 51.603095] usbserial: USB Serial support registered for generic
[ 51.730465] usbserial: USB Serial support registered for ch341-uart
[ 51.736182] usb 6-1: ch341-uart converter now attached to ttyUSB0
root@ubuntu:~# cd /media/ubuntu/casper-rw/MR33/ubootwrite/
root@ubuntu:/media/ubuntu/casper-rw/MR33/ubootwrite# chmod a+x ubootwrite.py
root@ubuntu:/media/ubuntu/casper-rw/MR33/ubootwrite# ./ubootwrite.py --write=mr33-uboot.bin
Uploading image
After 10min nothing happens so i stop the script with CTRL + C and get that output
^CTraceback (most recent call last):
File "./ubootwrite.py", line 221, in
main()
File "./ubootwrite.py", line 216, in main
upload(ser, options.write, int(options.size, 0), int(options.addr, 0), options.verbose, debug, options.shell)
File "./ubootwrite.py", line 170, in upload
ret = memwrite(ser, path, size, start_addr, verbose, debug, shell)
File "./ubootwrite.py", line 93, in memwrite
prompt = getprompt(ser, start_addr, verbose, shell)
File "./ubootwrite.py", line 59, in getprompt
buf = ser.read(256)
File "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 483, in read
ready, _, _ = select.select([self.fd, self.pipe_abort_read_r], , , timeout.time_left())
KeyboardInterrupt
Heres the Output i got when i use GTKterm
I don't know what i'm doing wrong the MR33 was never connected to the Internet. I got the Device 03/2018
Please help me to flash OpenWRT