Git Product home page Git Product logo

Comments (9)

sakumisu avatar sakumisu commented on June 26, 2024 1

Sorry , we do not have other chips and do not know if their same ip is actually the same. You can use v307.

from cherryusb_wch.

nikitos1550 avatar nikitos1550 commented on June 26, 2024
cdc_acm_init() done
[I/USB] Setup: bmRequestType 0x80, bRequest 0x06, wValue 0x0100, wIndex 0x0000, wLength 0x0040
usbd_ep_start_write: [12:01:00:02:ef:02:01:40:86:1a:37:55:00:01:01:02:03:01]
[D/USB] EP0 send 18 bytes, 0 remained
[D/USB] EP0 recv out status
[I/USB] Setup: bmRequestType 0x00, bRequest 0x05, wValue 0x0003, wIndex 0x0000, wLength 0x0000
[D/USB] EP0 send 0 bytes, 0 remained
[I/USB] Setup: bmRequestType 0x80, bRequest 0x06, wValue 0x0100, wIndex 0x0000, wLength 0x0012
usbd_ep_start_write: [12:01:00:02:ef:02:01:40:86:1a:37:55:00:01:01:02:03:01]
[D/USB] EP0 send 18 bytes, 0 remained
[D/USB] EP0 recv out status
[I/USB] Setup: bmRequestType 0x80, bRequest 0x06, wValue 0x0100, wIndex 0x0000, wLength 0x0012
usbd_ep_start_write: [12:01:00:02:ef:02:01:40:86:1a:37:55:00:01:01:02:03:01]
[D/USB] EP0 send 18 bytes, 0 remained
[I/USB] Setup: bmRequestType 0x80, bRequest 0x06, wValue 0x0100, wIndex 0x0000, wLength 0x0012
usbd_ep_start_write: [12:01:00:02:ef:02:01:40:86:1a:37:55:00:01:01:02:03:01]
[D/USB] EP0 send 18 bytes, 0 remained

Same log with data MCU sent to host.

from cherryusb_wch.

sakumisu avatar sakumisu commented on June 26, 2024

Only support CH32V307, although their ip is the same ,but is not the same too, thanks.

from cherryusb_wch.

nikitos1550 avatar nikitos1550 commented on June 26, 2024

I also have ch32v305 chip, I replace it on the board and try it. I don't believe, I want see myself.

from cherryusb_wch.

nikitos1550 avatar nikitos1550 commented on June 26, 2024

Same with 305 chip. This is really strange. Later I will get usb analyzer and can inspect what is really going on the bus. Now seems I cannot use cherryusb :-(

from cherryusb_wch.

nikitos1550 avatar nikitos1550 commented on June 26, 2024

Sorry , we do not have other chips and do not know if their same ip is actually the same. You can use v307.

Can I donate you some hardware, so you can try run your project on it?

from cherryusb_wch.

HaiMianBBao avatar HaiMianBBao commented on June 26, 2024

Please turn off the log or lower the log level before testing.

from cherryusb_wch.

nikitos1550 avatar nikitos1550 commented on June 26, 2024

Please turn off the log or lower the log level before testing.

I will wait until USB analyzer will come to me (maybe several weeks later) and continue testing with it. For sure will try with and without log. Thanks for advice, yes I know that log can affect timing, moreover I am using 115200 uart log, that is not very fast.

from cherryusb_wch.

nikitos1550 avatar nikitos1550 commented on June 26, 2024

Finally I choosed tinyusb stack (https://github.com/hathach/tinyusb) instead of cherry (sorry).
I managed ch32v307 usbfs and ch32v103 usbhd work on it. There is usbd controller that I also want bring up. With these four drivers all ch32 usb peripherals should work. maybe later will make PR to tinyusb, Follow up if you interested.

from cherryusb_wch.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.