LPCExpresso 1549 UART

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

LPCExpresso 1549 UART

Jump to solution
1,724 Views
adishpv
Contributor I

Hi,

I am using LPCExpresso 1549 evaluation board.

There are two micro USB ports in it namely target and link.

I connected the board to the PC using a link port. With LPCExpresso IDE I flashed an example code with UART prints. Now I could see the port detected in my PC as '/dev/ttyACM0'. The UART print worked fine.

Now I disconnected the board and connected again, but after the power cycle, the UART port is not enumerated in the PC.

Any suggestions will be really helpful.

Regards,

Adish

Labels (1)
0 Kudos
1 Solution
1,665 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @adishpv 

 To narrow this, could you try to update the on board debugger firmware? I do not know if you have the latest version.

All the best,

Diego

View solution in original post

0 Kudos
8 Replies
1,706 Views
adishpv
Contributor I

Hi @diego_charles ,

Thanks for the reply.

To verify whether the firmware is running after reset I used the example "periph_blinky"

Once I flash the firmware image the LED starts blinking and this also enumerates a serial port "/dev/ttyACM0".

Now, when I power cycle the board, the LED blink works fine but the serial port is not enumerated.

So, my doubt is does UART over the link port in LPCExpresso 1549 board work only on debug mode?

Regards,

Adish

0 Kudos
1,699 Views
frank_m
Senior Contributor III

Do you speak about the LPCLink2 port, don't you ?

It seems you are working with Linux. Can you check if lsusb still lists the device after power-cycling the board ?

Perhaps your user just lacks the access rights to the USB device. How these are added depends on the actual distribution.

0 Kudos
1,692 Views
adishpv
Contributor I

Hi @frank_m,

I am speaking about the LPCLink2 port.

Even after the power cycling on lsusb command, the device is still present.

The issue is after flashing the firmware with LPCExpresso IDE, there is a serial port enumerated.

But after the power cycle serial port is not enumerated.

Regards,

Adish

0 Kudos
1,682 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @adishpv 

Thank you for your reply,  In other words,  the on board LPC link2 Debugger , after a Power cycle , can not be recognized as virtual com port, and It can only be recognized if you start a debug session, is correct?

Could you let us know more about your Linux  Distribution? Which Distribution version is ,and if it is running under a virtual machine.

0 Kudos
1,676 Views
adishpv
Contributor I

Hi @diego_charles,

What you said is right, I am not getting a com port after the power cycle.

I am using Ubuntu 18.04. I am not using a virtual machine.

Thanks and Regards,

Adish

0 Kudos
1,666 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @adishpv 

 To narrow this, could you try to update the on board debugger firmware? I do not know if you have the latest version.

All the best,

Diego

0 Kudos
1,660 Views
adishpv
Contributor I

Hi @diego_charles

Correct me If I am wrong, by saying debugger firmware you mean the firmware running on LPC4322 right?

Also, can you guide me with jumper options and steps to do the same?

Thanks,

Adish

0 Kudos
1,711 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @adishpv 

I hope you are doing well!

To narrow down this, from the MCU side:

  • Could you let me know which specific UART example are you running?
  • Check if  the application firmware is running after the power cycle. For example, easy tests are   verify if the MCU is not being held in reset state, or in Boot mode . By checking the state of RESET and ISP pins.

On the host side, you  could check that there   no  problems with your Linux environment. testing with another OS like Windows 10 , if possible, could be an easy way.

Let me know your findings, 

Diego.

 

0 Kudos