LPC1769 doesn't communicate with Linux Ubuntu 18.04

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

LPC1769 doesn't communicate with Linux Ubuntu 18.04

2,651 Views
ND2
Contributor III

Hello,

We are using the usbd_lib_cdc_uart code in debug mode on the OM13085 board. We are trying to get it to communicate with a serial terminal program called screen.

The device works perfectly fine on an Apple MAC:

pastedImage_1.png

It also shows up on the ls command and we have given the OS permission to access the serial port as well:

pastedImage_2.png

However, when we try to access the device using screen we don't get any output:

pastedImage_3.png

We also tried using /screen/ttyACM0 command but that also did not work:

pastedImage_4.png

We tried Putty terminal as well but somehow putty cannot connect to the device either.

Please advice if we are missing something.

Thanks

Neel.

Labels (5)
0 Kudos
Reply
11 Replies

2,414 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello Neel,

Does the device shows up using the "dmesg" command?

BR,

Aldo.

0 Kudos
Reply

2,414 Views
ND2
Contributor III

Hello Aldo,

Yes it does show up in the dmesg command.

See attached screenshot

Thanks

Neel.

0 Kudos
Reply

2,414 Views
AldoG
NXP TechSupport
NXP TechSupport

Could you upload your screenshot again, please?

sometimes is not correctly uploaded and it wont show up.

Thank you,

Aldo

0 Kudos
Reply

2,414 Views
ND2
Contributor III

pastedImage_1.png

Here you go.

Thanks

0 Kudos
Reply

2,414 Views
AldoG
NXP TechSupport
NXP TechSupport

Hi,

I looked into your issue and as per in the readme in the project, this example runs at windows, with some drivers needed, and OSx (MAC) doesn't need them, that makes me think that some drivers may be needed for this example to run at ubuntu, I'll investigate and report back.

Regards,
Aldo.

0 Kudos
Reply

2,414 Views
ND2
Contributor III

Dear Aldo,

Did you get a chance to check in on this request? Unfortunately we don't have the liberty of time now.

Please provide us an update as soon as possible.

Neel.

0 Kudos
Reply

2,415 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello Neel,

 

Sorry for my delay,

Unfortunately I did find that for Linux no driver is needed,

As for the driver specified in the readme it is only required if running in a windows 7 PC,

So for Linux it shouldn't have any issue, I'll do some test and report back.

 

Regards,
Aldo.

0 Kudos
Reply

2,415 Views
ND2
Contributor III

Hi Aldo,

If there is no driver required for Linux I don't understand why the LPC1769 and the Linux PC will not communicate.

Please advice.

Neel.

0 Kudos
Reply

2,415 Views
converse
Senior Contributor V

Make sure you are connecting the the correct device (/dev/ttyACM...). There could be more than one device with a similar name. Too check:

Disconnect your device

ls /dev/ttyACM*

connect your device and load and start your code

ls /dev/ttyACM*

and look to see which new device(s) have appeared.

0 Kudos
Reply

2,415 Views
ND2
Contributor III

Hello,

If you notice the output of the ‘dmesg’ command you will see there is only one device on ACM which is the ACM0.

So there is no question of connecting to a different device.

Thanks

Neel.

0 Kudos
Reply

2,415 Views
ND2
Contributor III

Sounds good Aldo.

We are trying something from our end as well. Do let me know what you can find.

Neel.

0 Kudos
Reply