Author Topic: Advice needed for running Linux and develeopment tools, programming tools, etc  (Read 9664 times)

0 Members and 1 Guest are viewing this topic.

Offline Karel

  • Super Contributor
  • ***
  • Posts: 2215
  • Country: 00
I’ve actually found using a VM with good USB logging capabilities can be very, very helpful when writing software for an embedded
USB stack. Also for reverse engineering protocols and hacking devices. It makes it super easy to monitor the traffic flow. [emoji4]

Better than, for example, using Wireshark?

At the very least I find it’s easier to setup and much less intrusive, since you don’t need any custom drivers or low level modifications to the system (which all of the useful USB logging apps I’ve seen require).

It removes that additional abstraction layer, so I’ve found it’s less likely to interfere with what you’re trying to debug.

With additional abstraction layer you mean what they describe here? https://wiki.wireshark.org/CaptureSetup/USB
I found it very easy to use and powerfull (at least on Linux).
 

Offline Red Squirrel

  • Super Contributor
  • ***
  • Posts: 2750
  • Country: ca
Yeah I use Virtualbox so it's probably not as good as VMware but it's fully free.   Been a while since I tried the USB passthrough though, it may have improved. I just know when I tried it before, it only worked when it wanted to.  Seemed to depend on the particular device.

 Had no idea you could capture USB with Wireshark, that's kinda cool to know. 
« Last Edit: October 11, 2017, 10:04:18 pm by Red Squirrel »
 

Offline HoracioDos

  • Frequent Contributor
  • **
  • Posts: 344
  • Country: ar
  • Just an IT monkey with a DSO
Hi
I wasn't sure to write this reply here or in another thread but I think it's related and it can be useful for somebody. Yesterday I setup and tested a VM with Windows 7 Home Basic under Linux Mint 18.2 Cinnamon edition.

https://www.eevblog.com/forum/chat/windows-10-creators-update-1703/msg1322296/#msg1322296
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf