sdphost unable to talk to mimxrt1176 bootrom

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

sdphost unable to talk to mimxrt1176 bootrom

Jump to solution
1,421 Views
razools
Contributor III

Hi,

I have setup the device in Serial Download Programming mode. However, SDP host is still unable to communicate to bootrom of MIMXRT1176

I am receiving following error 

 

# sdphost -u 0x1fc9,0x013d -- error-status
usbhid: received unexpected number of bytes=3fd
getStatusResponse.readPacket error 1.
Status (HAB mode) = 10004 (0x2714) No response from device

 

Following is my dmesg output:

[  465.198454] usb 1-1.4.5: new high-speed USB device number 16 using ci_hdrc
[  465.349953] usb 1-1.4.5: New USB device found, idVendor=1fc9, idProduct=013d, bcdDevice= 0.02
[  465.350100] usb 1-1.4.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  465.350210] usb 1-1.4.5: Product: SE Blank RT Family
[  465.350289] usb 1-1.4.5: Manufacturer: NXP SEMICONDUCTORS
[  465.359568] hid-generic 0003:1FC9:013D.000B: hiddev96,hidraw0: USB HID v1.00 Device [NXP SEMICONDUCTORS SE Blank RT Family] on usb-ci_hdrc.1-1.4.5/input0
0 Kudos
Reply
1 Solution
1,405 Views
jeremyzhou
NXP Employee
NXP Employee

Hi @razools ,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
For the MIMXRT1176, it doesn't need the sdphost, it only uses the blhost, further, I'd highly recommend you to use the GUI tool to contact the MIMXRT1176.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------f

View solution in original post

0 Kudos
Reply
4 Replies
1,406 Views
jeremyzhou
NXP Employee
NXP Employee

Hi @razools ,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
For the MIMXRT1176, it doesn't need the sdphost, it only uses the blhost, further, I'd highly recommend you to use the GUI tool to contact the MIMXRT1176.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------f

0 Kudos
Reply
1,399 Views
razools
Contributor III

Hi @jeremyzhou 

The end goal is that I have another imx6 board which will program the MIMXRT1176. To achieve that i needed sdphost. But I figured out from NXP-MCUBootUtility, that for MIMXRT117X the utility uses ble_host (version2.3) to load ivt_flashloader.bin. SDP host isn't used to load flash_loader. I downloaded blhost source code from blhost and now stuck on compiler issue:

 

Compiling tools/blhost/src/blhost.cpp
../src/blhost.cpp: In member function ‘int BlHost::processOptions()’:
../src/blhost.cpp:851:20: error: ‘LPCUSBSIO_VID’ was not declared in this scope
  851 |         m_usbVid = LPCUSBSIO_VID;
      |                    ^~~~~~~~~~~~~
../src/blhost.cpp:852:20: error: ‘LPCUSBSIO_PID’ was not declared in this scope
  852 |         m_usbPid = LPCUSBSIO_PID;
      |                    ^~~~~~~~~~~~~

 

I am missing blfwk in source of blhost. Can you please suggest me where i can get blfwk package from ?

0 Kudos
Reply
1,384 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
You can find the source codes of blfwk in the directory\blhost_2.6.2\src.

Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply
1,375 Views
razools
Contributor III

Thanks @jeremyzhou 
found it and able to compile it

0 Kudos
Reply