Author Topic: USB Full-Speed Analyzer... Is that still a thing?  (Read 5229 times)

0 Members and 1 Guest are viewing this topic.


Offline SaimounTopic starter

  • Frequent Contributor
  • **
  • Posts: 551
  • Country: dk
Re: USB Full-Speed Analyzer... Is that still a thing?
« Reply #26 on: August 01, 2022, 11:32:44 am »
Maybe this can be of interest for your task.

https://github.com/sekigon-gonnoc/Pico-PIO-USB

Has been discussed on the forum too: https://www.eevblog.com/forum/microcontrollers/amazing-project-usb-fshostdevice-implementation-using-pio-of-rp2040/msg4180372/#msg4180372
Thanks but I think you missed the point :) I'm doing USB device only on a GD32 MCU, I just needed a USB HW debugger and plan on using the one Alex made running on a Raspberry Pi Pico ;)
 

Online pcprogrammer

  • Super Contributor
  • ***
  • Posts: 3712
  • Country: nl
Re: USB Full-Speed Analyzer... Is that still a thing?
« Reply #27 on: August 01, 2022, 07:09:20 pm »
Thanks but I think you missed the point :) I'm doing USB device only on a GD32 MCU, I just needed a USB HW debugger and plan on using the one Alex made running on a Raspberry Pi Pico ;)

That you did not write in your posts here, at least I did not see it. Just that you needed a way to debug USB on a hardware level because you are writing your own stack.

For this the code for the pico might be useful as a guideline.

But with a device only USB implementation you don't need a separate hardware USB debugger per se. I did my own bare metal CH340 implementation on a STM32F103. During the development I used wireshark on my linux mint machine. There is USB support in it with some additional setup and it was helpful in solving some problems.

I can dig up the steps I took to get wireshark up and running if you like.

The code I wrote is a bit crude but it works. Code is here: https://github.com/pecostm32/STM32F103C8_USB_CH340

Offline SaimounTopic starter

  • Frequent Contributor
  • **
  • Posts: 551
  • Country: dk
Re: USB Full-Speed Analyzer... Is that still a thing?
« Reply #28 on: August 05, 2022, 08:45:35 am »
Sorry did not mean to pry :D

Thanks for the code - that's awesome!

And yes I think with wireshark and Alex's USB debugger (I mean I bought the Pico now :D ) I should be fine.

Thank you all for the help ;)
 

Online voltsandjolts

  • Supporter
  • ****
  • Posts: 2300
  • Country: gb
Re: USB Full-Speed Analyzer... Is that still a thing?
« Reply #29 on: August 05, 2022, 09:31:02 am »
Also - I had a quick look at DSLogic Products which look pretty good!! Love the company, the vibe, and funded with a Kickstarter :D

Hmm, except that they are a bunch of thieving knobs who merely used the Kickstarter and open source vibe for their own benefit.

When they started up, they stole the open source GPL licensed PulseView GUI from the sigrok project. Made their own changes to it as needed for their analyser and declined to openly publish their source code as required by the license. They made some token gesture to publish on github but AFAIK there were significant disparities between that repo and their shipped binary. The github repo still exists but I would still be extremely suspicious that it reflects the current binary.

The original PulseView developer discusses this situation at the link below (I'm avoiding youtube inlining).
Code: [Select]
https://youtu.be/xZ5wKYnCNcs?t=1622

I use the Kingst analysers which are also good value and are supported in sigrok / PulseView. IIRC the specs are better than the non-pro DSLogic analysers.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf