blhost does not work on Ubuntu 16.04

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

blhost does not work on Ubuntu 16.04

1,456 Views
dugg
Contributor II

I'm using blhost on Ubuntu16.04 and I have made sure that all dependencies required in the manual such as libudev.so.1, libc.so.6, etc are all installed and can be found on system path. But when I run

    sudo blhost -p COM1 -- get-property 1

It reports an error

"Could not open serial port.Error: UartPeripheral() cannot open PC UART port(COM1), speed(57600 Hz)."

What's the problem here?

Labels (1)
Tags (2)
0 Kudos
Reply
4 Replies

1,082 Views
wilkinsw
Contributor III

COM ports are for Windows, try replacing "COM1" with /dev/ttyUSB0 or /dev/ttyAMC0 depending on the output of

ls /dev/tty*

0 Kudos
Reply

1,082 Views
dugg
Contributor II

Hi Mike,

I used the board we developed ourselves with the K64F12.

and i'm sure there is no problem with the board.because i was successful on win7 systems .

0 Kudos
Reply

1,082 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Sorry for the later reply.

Which board you are using with KBOOT blhost tool?

Thanks with regards,

Mike

0 Kudos
Reply

1,082 Views
dugg
Contributor II

Hi Mike,

I used the board we developed ourselves with the K64F12.

and i'm sure there is no problem with the board.because i was successful on win7 systems .

0 Kudos
Reply