index.rst 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. chryusb_configurator
  2. --------------------------
  3. `chryusb_configurator <https://github.com/CherryUSB/chryusb_configurator/releases/tag/1.0.0>`_ mainly serves to generate descriptor arrays when using the device protocol stack, which are then registered using `usbd_desc_register`.
  4. - First, we download chryusb_configurator.exe from GitHub, then install it all the way through. Then double-click to open it, click `Project`, and click `New Project`
  5. .. figure:: img/chrytool1.png
  6. - After creation, default descriptor configuration will be generated, including **Device Descriptor**, **Configuration Descriptor**, **String Descriptor**, and **String Descriptor** supports three by default
  7. .. figure:: img/chrytool2.png
  8. - Then we can modify the information of related descriptors as needed, such as VID and PID in **Device Descriptor**, class parameters, **Power** in **Configuration Descriptor**, etc.
  9. - Then for class addition, you need to click `File` and click `New File`
  10. .. figure:: img/chrytool3.png
  11. - Then the right side provides some class descriptor templates. Select one for initialization
  12. .. figure:: img/chrytool4.png
  13. - If there are multiple classes, repeat the above two steps
  14. - Then we modify the parameters of related endpoints as needed, such as direction, address, size, interval
  15. .. figure:: img/chrytool5.png
  16. - Finally click `File` and save the file with extension `.chry`
  17. - Switch to the project file with extension `.chrybase`, then click `Add Group Configuration` to import the just configured class file
  18. .. figure:: img/chrytool6.png
  19. - Click `Project` and click `Save Project`
  20. - Click `Compile` to generate descriptor arrays
  21. .. figure:: img/chrytool7.png
  22. - Copy the compiled files to your own project for use
  23. Lecroy USB Protocol Suite
  24. --------------------------
  25. Wireshark
  26. --------------------------
  27. Audacity
  28. --------------------------