cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

New Contributor II

Hello,

i looked forward to connect my PSOC 5LP with Tera Term, but Tera Term don't recognize any Port. PSOC Creator 4.2 recognize my PSOC 5LP and i can program it. I tried to press the Reset button like for 10 seconds but it didn't help.

Thanks

Best Regards

Tarik

0 Likes
Reply
1 Solution
Esteemed Contributor

Dear Tarik-san,

If you are using CY8CKIT-050, UART is not via KitProg.

So you (we)  need either

(1) Use RS232 Interface on the board by connecting P12[6] and P12[7] to tx and rx socket. (May be opposite)

    Then connect RS232 to USB adapter there and connect the adapter to your PC.

(2) Use USB-Serial adapter, connect Serial to P12[6] and P12[7] and connect USB to your PC

And either way, you (we) end up to connect "2" USB cables between the board and PC.

Another thing needed to be checked is, if you are using Windows 10, many USB-Serial adapters are not working

thanks for the "improvement" of MicroSoft, so please make sure that your USB-Serial adapter is compatible

with Windows 10.

Best Regards,

19-Oct-2019

Motoo Tanaka

View solution in original post

0 Likes
Reply
7 Replies
Esteemed Contributor

Hi,

(1) Which EVB are you using or you are using original board?

(2) If you are using CY8CKIT-050,

you need to connect P12[6] and P12[7] to tx and rx socket. (May be opposite)

If you are using CY8CKIT-059, have you assigned

UART_RX to P12_6

and

UART_TX to P12_7?

(3)  Can you see the board or KitProg USB-UART in the Device Manager of Windows?

If not, please try

(3.1) Download and install the newest PSoC Programmer and install it.

https://www.cypress.com/documentation/software-and-drivers/psoc-programmer-archive

(3.2) Start PSoC Programmer and update firmware.

Please refer to the following topic.

Cannot fix firmware of CY8CKIT-044 progKit

(3.3) Quit PSoC Programmer and disconnect and re-connect the USB.

(4) Can you see the board or KitProg USB-UART in the Device Manager?

If so, note the COM number

and set TeraTerm Com from

Menu: Setup > Serial Port and chose Port: for the COM number

And also set the Speed to the speed you assigned in your PSoC Programmer UART Config.

If you are still in trouble, please let us know

- Which board you are using?

- How are you connecting the board to your PC?

Attached is my UART sample for CY8CKIT-059.

The baud rate is 115200.

moto

0 Likes
Reply
New Contributor II

Hello moto,

thanks for answering.

(1) I using the original Board

(2) Using CY8CKIT-050,

I tired a lot to connect P12[6] and P12[7] to tx and rx socket. (May be opposite) but it didin't work.

(3) I see this in the device Manager from KitProg

(3.1),(3.2),(3.3) --> I have the newest version

I use CY8C5868AXI-LP035 100-TQFP

The Board is connected via USB to my PC-.

pastedImage_3.png

I think the Issue is as you see in the picture.

pastedImage_0.png

Best Regard

Tarik

0 Likes
Reply
Esteemed Contributor

Dear Tarik-san,

If you are using CY8CKIT-050, UART is not via KitProg.

So you (we)  need either

(1) Use RS232 Interface on the board by connecting P12[6] and P12[7] to tx and rx socket. (May be opposite)

    Then connect RS232 to USB adapter there and connect the adapter to your PC.

(2) Use USB-Serial adapter, connect Serial to P12[6] and P12[7] and connect USB to your PC

And either way, you (we) end up to connect "2" USB cables between the board and PC.

Another thing needed to be checked is, if you are using Windows 10, many USB-Serial adapters are not working

thanks for the "improvement" of MicroSoft, so please make sure that your USB-Serial adapter is compatible

with Windows 10.

Best Regards,

19-Oct-2019

Motoo Tanaka

View solution in original post

0 Likes
Reply
New Contributor II

Thank you. Tera Term recognized the serial port. But do you know how to send commands via UART. I use UART_PutString command, but i don't where to put the command.

Thanks

0 Likes
Reply
Esteemed Contributor

Hi,

To begin with, could you take a look at my sample program?

tty_utils a utility sample for CLI type program

moto

New Contributor II

Ok, i got it . It works.

Honored Contributor

TaGe,

If you are using the 050-Eval board as it appears, you might find this useful.

In the link provide below, there is an link to source code that:

  • Provides code to convert UART API calls for USBUART API calls and can use the 050 Eval board USB port.  (This is what you are looking for).
  • Provides a GetString() call to allow the user to only type in characters that match the String type required.  Examples of types are Unsigned Decimal, Signed Decimal, Floating, Hexadecimal, FileSystem Name Strings and of course Strings.
  • Provides example of of a single-character menu driven system that can be modified and expanded.

GetString() function that supports input character filtering.  Includes menu-driven commands.

Len

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
Reply