I haven’t used rkdeveloptool before. I’m trying on my Rock 5A target with an EMMC installed. I connect a USB A - USB A cable to my laptop, connect the “maskrom” pins together and connects power (correct, right?)
Almost all commands fail. But “list device” succeeds, which confirms that USB communication works. What could be the problem?
me@host:~/$ rkdeveloptool ld
DevNo=1 Vid=0x2207,Pid=0x350b,LocationID=501 Maskrom
me@host:~/$ sudo rkdeveloptool rfi
Read Flash Info failed!
me@host:~/$ sudo rkdeveloptool ld
DevNo=1 Vid=0x2207,Pid=0x350b,LocationID=501 Maskrom
me@host:~/$ sudo rkdeveloptool ppt
Read GPT failed!
Read parameter failed!
Not found any partition table!
me@host:~/$ sudo rkdeveloptool ef
Starting to erase flash...
Getting flash info from device failed!
me@host:~/$ sudo rkdeveloptool rfi
Read Flash Info failed!
me@host:~/$ sudo rkdeveloptool ld
DevNo=1 Vid=0x2207,Pid=0x350b,LocationID=501 Maskrom
me@host:~/$ sudo rkdeveloptool rcb
Read capability Fail!
me@host:~/$ sudo rkdeveloptool db foo
Opening loader failed, exiting download boot!
/var/log/syslog shows:
Feb 1 13:55:41 host kernel: [97587.643904] usb 5-1: new high-speed USB device number 77 using xhci-hcd
Feb 1 13:55:41 host kernel: [97587.784524] usb 5-1: New USB device found, idVendor=2207, idProduct=350b, bcdDevice= 1.00
Feb 1 13:55:41 host kernel: [97587.784531] usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Feb 1 13:55:41 host mtp-probe: checking bus 5, device 77: "/sys/devices/platform/usbdrd3_1/fc400000.usb/xhci-hcd.4.auto/usb5/5-1"
Feb 1 13:55:41 host mtp-probe: bus: 5, device: 77 was not an MTP device
Feb 1 13:55:41 host mtp-probe: checking bus 5, device 77: "/sys/devices/platform/usbdrd3_1/fc400000.usb/xhci-hcd.4.auto/usb5/5-1"
Feb 1 13:55:41 host mtp-probe: bus: 5, device: 77 was not an MTP device