Problem with LPCXpresso55S69 Dev Board and blhost

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

Problem with LPCXpresso55S69 Dev Board and blhost

Jump to solution
1,075 Views
tim_t_fake
Contributor I

Hi,

I would like to start development with the LPCXpresso55S69 development board. I am running the Gentoo Linux Distro. I have tested the board in Windows with the MCUXpresso IDE and everything works. I would like to use VIM as my code editor and I would like to use the blhost utility to flash to the chip. I am trying to send some basic commands to the chip to see if I can get a response. Below is one such command and the result:

----------------------------------------------------------

Command:

blhost -d -u 0x1fc9,0x0090 get-property 1

Result:

Inject command 'get-property'
[01 00 0c 00 07 00 00 02 01 00 00 00 00 00 00 00]
usb hid write, time left = 5000
<01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>
usbhid: received unexpected report=1
sendCommandGetResponse.readPacket error 1.
processResponse: null packet
- took 0.001 seconds
Response status = 10004 (0x2714) No response packet from target device

----------------------------------------------------------------

Any help that anyone could give me to get this working would be greatly appreciated.

Thanks,

Tim

 

0 Kudos
Reply
1 Solution
1,062 Views
tim_t_fake
Contributor I

In case others are struggling with this or a similar issue, I was able to resolve it by looking at a Ubuntu system that had a working MCUXpresso IDE installed. The breakthrough moment came when I found the driver that was being used by the /dev/ttyACM0 device that was being created when I plugged the board in (this device was not being created on my Gentoo system). The board uses the CDC ACM kernel module. After I reconfigured the kernel with this module set to compile, I plugged the board in and the /dev/ttyACM0 device was created on the Gentoo system. Rather than issuing the command:

blhost -d -u 0x1fc9,0x0090 get-property 1

I issued the command:

blhost -n -d -p /dev/ttyACM0 -- get-property 1

This worked. I was also able to throw together a Gentoo EBuild for the MCUXpresso IDE and now I have the IDE installed and working.

View solution in original post

0 Kudos
Reply
1 Reply
1,063 Views
tim_t_fake
Contributor I

In case others are struggling with this or a similar issue, I was able to resolve it by looking at a Ubuntu system that had a working MCUXpresso IDE installed. The breakthrough moment came when I found the driver that was being used by the /dev/ttyACM0 device that was being created when I plugged the board in (this device was not being created on my Gentoo system). The board uses the CDC ACM kernel module. After I reconfigured the kernel with this module set to compile, I plugged the board in and the /dev/ttyACM0 device was created on the Gentoo system. Rather than issuing the command:

blhost -d -u 0x1fc9,0x0090 get-property 1

I issued the command:

blhost -n -d -p /dev/ttyACM0 -- get-property 1

This worked. I was also able to throw together a Gentoo EBuild for the MCUXpresso IDE and now I have the IDE installed and working.

0 Kudos
Reply