USBUART setting during RTOS implementation

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
YaIs_283501
Level 3
Level 3
First like given

If you use RTOS (toppers asp), USB-UART configuration will not be finished.

Specifically,

while (! USBUART - 1 _ GetConfiguration ());

does not satisfy the termination condition

Has anyone implemented CDC with USB-UART with toppers asp?

asp_cy8ckit050_gcc_20140204.zip(SJIS版)

https://www.toppers.jp/asp-e-download.html

0 Likes
5 Replies
HirotakaT_91
Moderator
Moderator
Moderator
500 replies posted 250 replies posted 100 replies posted

As far as we know, Cypress has not used Toppers asp.

Since this issue is very specific to a custom RTOS, we are not sure what extent we can support.

Do you have any other problem apart from USBUART_1_GetConfiguration() API while using Toppers asp?


Best regards,

Hirotaka Takayama

0 Likes

Thank you for your response.

I thought that I would get advice if there was a person who chose toppers and used it.

I will try to implement USBUART.

There are no problems other than the USBUART_1_GetConfiguration () API now.

0 Likes

Hi,

To investigate the root-cause, could you check following 2 things?

Did you confirm that the Usb configuration works without RTOS?

Could you try with only one task (which is for USB) and see if that works?

Best regards,

Hirotaka Takayama

0 Likes
lock attach
Attachments are accessible only for community members.

>Did you confirm that the Usb configuration works without RTOS?

I will attach the project (USB_communications.zip)which I confirmed the operation without RTOS.

It works without problems.

>Could you try with only one task (which is for USB) and see if that works?

If you try only main task(test.zip), it works as expected.

Is the USBUART stuck because the USB caused interrupt is not registered correctly in the RTOS?

We will continue to investigate.

0 Likes

Hi,

Sorry for the delay in my response.

In this case, it is problem happens on RTOS (toppers asp).

Since Cypress is not very familiar with toppers asp, our support is limited.

Someone might answer on this thread, but Cypress recommend you to check it with RTOS vendor.

Best regards,

Hirotaka Takayama

0 Likes