Hello,
I am trying to work on USB device. I reviewed your sample projects. I created software using them as a reference. I also designed the hardware in accordance with your design. But the computer does not recognize the device. I tried many things for the computer. I also tried different software. But it doesn't work. What is the reason of this? I shared the sample code. Can you help? Can you show me my mistake?
Have a nice day.
Gateway_RTOS.rar
It sounds like you have custom hardware. Does your software work on the Renesas reference hardware?
Hello. There is special equipment. My design is exactly the same as the USB design on the development boards. I couldn't try it because I didn't have a development card. I added the sample projects to my own software accordingly. I'm getting a USB device not recognized error. I don't understand the reason for this. Can you help me?
Without have access to your hardware it more than a little difficult to debug your software. I might suggest that you verify the basic USB functionality of your hardware using known good reference software first.
This is the scheme I use. If you tell me what to look for, I can proceed with it.
Hello ylmaz,
After checking your sample code on RTT Viewer, I took this successful result for EK-RA6M4:
Βut your project file uses USM Peripheral Vendor class driver and it needs two RA devices, in order to verify the correct USB operation.
But, you just want to verify the usb connection and operation, so as JimB mentioned try to use a simple demo project to verify the usb connection.
For example, the project below will configure the MCU as a CDC device as well as a Mass storage device. Tera term is used to communicate with the CDC interface of the MCU. Data written by the tera term will be echoed back on the terminal by RA board. User at the same time can read/write the data from/to the Mass storage device using host machine.
SampleCode.zip
The attached project is for EK-RA6M4. If this cannot be executed correctly, your issue reason may be at hardware
Hope it helps!
Regards,
AL_Renesas