I was trying to use the sdphost to communicate with the MIMXRT1060-EVKB evaluation board evaluation board and would get:
Status (HAB mode) = 10004 (0x2714) No response from device.
I was using the VID/PID that I found using lsusb. I hadn't paid attention to the device string since it indicated it was the NXP device. But, when I had trouble with the sdphost I realized the string "NXP ARM mbed" may be significant.
I haven't found any information on the mbed being on this evaluation board. Can I use sdphost to communicate with the board.
Our design uses i.mx RT1062, do the chips come with the SDP on them or is it mbed now?
Solved! Go to Solution.
Thank you Jing for your help. That worked.
It wasn't obvious to me from the user manual, so thank you.
Mark
Hi @mbartel ,
Please use this command
sdphost -t 50000 -u 0x1FC9,0x0135 -j -- error-status
What is feedback?
Regards,
Jing
$ ./sdphost -t 50000 -u 0x1FC9,0x0135 -j --debug -- error-status
Error: UsbHidPeripheral() cannot open USB HID device (vid=0x1fc9, pid=0x0135, sn=).
I believe the mbed OS is installed on the evaluation board based on what I see on a Linux box and a Windows box.
Do I have to have a debugger to clean the board? I want to communicate with the bootloader that comes on the chip itself.
Plugging into a Window PC, I get a drive mounted with a HTML file available for viewing. In the Device Manager I see a MBED disk drive, a HID device and a USB Serial port.
Linux lsusb gives: Bus 003 Device 015: ID 0d28:0204 NXP ARM mbed.
dmesg (partial)
$ dmesg | grep --after-context=60 0d28
[551196.119654] usb 3-1: New USB device found, idVendor=0d28, idProduct=0204, bcdDevice= 1.00
[551196.119666] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[551196.119670] usb 3-1: Product: DAPLink CMSIS-DAP
[551196.119673] usb 3-1: Manufacturer: ARM
[551196.119675] usb 3-1: SerialNumber: 02290000020b22e500000000000000000000000097969905
[551196.123840] usb-storage 3-1:1.0: USB Mass Storage device detected
[551196.124513] scsi host0: usb-storage 3-1:1.0
[551196.125544] cdc_acm 3-1:1.1: ttyACM0: USB ACM device
[551196.127241] hid-generic 0003:0D28:0204.0004: hiddev0,hidraw1: USB HID v1.00 Device [ARM DAPLink CMSIS-DAP] on usb-0000:00:14.0-1/input3
[551197.133068] scsi 0:0:0:0: Direct-Access MBED VFS 0.1 PQ: 0 ANSI: 2
[551197.133321] sd 0:0:0:0: Attached scsi generic sg0 type 0
[551197.133876] sd 0:0:0:0: [sda] 131200 512-byte logical blocks: (67.2 MB/64.1 MiB)
[551197.134191] sd 0:0:0:0: [sda] Write Protect is off
[551197.134195] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[551197.134433] sd 0:0:0:0: [sda] No Caching mode page found
[551197.134436] sd 0:0:0:0: [sda] Assuming drive cache: write through
[551197.156009] sd 0:0:0:0: [sda] Attached SCSI removable disk
Do I have to have a debugger to clean the board? I want to communicate with the bootloader that comes on the chip itself.
Hi @mbartel ,
You inserted the USB cable to a wrong site. Please connect J48. Sdphost/blhost connect to RT1060 boot ROM directly, not via debug probe. Please refer to RT1060-EVKB getting start document.
Regards,
Jing
Thank you Jing for your help. That worked.
It wasn't obvious to me from the user manual, so thank you.
Mark