USB Mass Storage bridge to monitor USB traffic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-06-12 9:24 AM
Hi
I have stm32f446re nucleo. Is it possible to make one USB traffic monitoring bridge using it?
(USB Storage or SDCard) <-----STM32-----> Computer
I am trying to do is to make one monitor to see what content is getting accessed from the computer from the mass storage or sd card etc.
Can someone guide on this?
- Labels:
-
STM32F4 Series
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-06-12 9:56 AM
If you implement a USB MSC device you can see the SCSI READ/WRITE transactions as you perform them against SDRAM, or SDIO/SDMMC storage medium.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-06-12 10:00 AM
Is there any sample available. that will be helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-06-12 10:01 AM
The CubeF4 trees have several MSC and SDIO examples for DISCO and EVAL boards that should port. Review those.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-06-12 10:09 AM
Thank you. I ll try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-06-12 10:10 AM
STM32Cube_FW_F4_V1.25.0\Projects\STM32446E_EVAL\Applications\USB_Device\MSC_Standalone\readme.txt
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-06-13 12:33 AM
umm I don't know how to port. I'm very biginner in embedded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-06-13 12:33 AM
thanks. I'll check this source code :):)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-06-21 9:34 AM
Hi Clive
I tried one example to make a mass storage device using SRAM, got it from ST's tutorial for USB MSC.
I am having nucleo 446RE. I followed the same approach to make 64kb mass storage, I can see the device is attached to system as mass storage
but Is says "Device is not started: USBSTOR"
Device USB\VID_0483&PID_5727\307533543038 was not migrated due to partial or ambiguous match.
What could be solution for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-06-21 9:55 AM
I suspect this would be an issue with READ or GET CAPACITY functionality provided by the MSC, or some issue with the USB descriptors.
You could instrument the USB interactions, via the Nucleo VCP, and observe the interactions with Windows. You could validate the read/write block functionality.
Up vote any posts that you find helpful, it shows what's working..
