blhost not work in Ubuntu16.04

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

blhost not work in Ubuntu16.04

1,160 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?

0 Kudos
5 Replies

871 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

From <Kinetis Bootloader v2.0.0 Release Notes> with below description:

pastedImage_1.png

Current blhost tool doesn't be tested on Ubuntu 16.04 version.

Please make sure the required libraries be installed: libstdc++.so.6, libudev.so.1, libc.so.6, libgcc_s.so.1, and libpthread.so.0

Thank you for the attention.

best regards,

Mike

0 Kudos

871 Views
dugg
Contributor II

thanks for you response,

i'm sure that  the required libraries hasbeen installed,and it still doesn't work,

whether the command "sudo blhost -p COM1 -- get-property 1" right?

is there anything else i need to set up?

0 Kudos

871 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

First of all, sorry for the later reply.

Please make sure FRDM-K64F board OpenSDA virtual serial port (J26) is COM1.

In the blhost folder, run below command:

blhost -p COM1 -- get-property 1

Wish it helps.


Have a great day,
Mike

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

0 Kudos

871 Views
dugg
Contributor II

thanks for you response,

I suspect the Linux operating system configuration problem.

because,i has succeeded  in win7 system ,but i'm not familar with linux system,is there anything else i need to set up?

0 Kudos

871 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

First of all, Sorry for the later reply.

I checked with my colleague, we only have the PC with Ubuntu V14.04 OS.

Could you try with that tested V14.04 version Ubuntu OS?

Sorry for that.

Have a great day,
Mike

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

0 Kudos