UartPeripheral() cannot open PC UART port

cancel
Showing results for 
Search instead for 
Did you mean: 

UartPeripheral() cannot open PC UART port

80 Views
Contributor III

Hello ,when I’m testing  the example of AN12327, and I follow the steps one by one, but after I started with the flash_program.bat . It caused an error named "UartPeripheral() cannot open PC UART port (COM5) speed 57600"!

And I'm sure I have chosed the right COM5, so I don't know why this happened. 

And more questions, The AN12327 examples is based on IAR tools, is there any example for MDK keil?

By the way , my MCU is LPC55S69, and I'm use the LPC55S69-EVK board.

Labels (1)
0 Kudos
4 Replies

6 Views
NXP TechSupport
NXP TechSupport

Hello 小白 张,

Have you close serial terminal before run flash_program.bat ?

0 Kudos

6 Views
Contributor III

Hello,

   Certainly I've close serial terminal before run flash_program.bat. And it still have this problem. But when I'm run the post_build_mdk.bat, it caused an error like this , I don't how to solve this!

   I'd like to ask if it's the chip version, and my chip's version is 0A not 1B .

   Or there are any app's example for MDK keil , cause the IAR isn't very helpful for my project.

pastedImage_1.png

0 Kudos

6 Views
NXP TechSupport
NXP TechSupport

Hello ,

Sorry there is no IAR project about this.

You can take a video or screenshot show your steps, then I can help to check the issue, thanks.

BR

Alice

0 Kudos

6 Views
Contributor III

Can I have your WeChat or any communication ways to connect you? I’m  still pullzed by this problem。

0 Kudos