This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

[nRF52840 & S140 & SDK14.1] USB MSC Example Data Transport

Hi,

I am currently testing with a USB MSC example.

FATFS_QSPI is disabled because the file system is not used, Subclass has also been modified to 0x06 -> 0xFF.

This is my main question. I created a TOOL on Computer (HOST).

After connecting with nRF52840, the packet was sent from HOST (COM) to NRF (DEVICE).

However, it is difficult to find where the packets received from the NRF are stored. What I do know is that pressing Send on the TOOL activates ev_epdata_handler and the status goes to waiting.

If you want to process packets from TOOL in the nRF52840, where would you look? Thank you.


Additionally, I am working in the Keil environment, using the nRF52840 & S140 (5.0.0-2) & SDK14.1 (MSC Example).

Parents Reply Children
  • Hi sigurd.

    That's right. I am wondering where in the MSC example I receive packets sent from my computer.

    I want to process the text or data received from the receiver. Also, I would appreciate it if you could tell us what to transfer to your computer.

    Thank you for always helping.

  • Hi again,

    Unfortunately, it looks like its not possible to manipulate/process these packets from the application when they are sent to the nRF52840. This is mentioned in the MSC example documentation here.

    If USB is connected, access to the file system from a user application is not possible because MSC is not designed to allow access to the file system from multiple sources.

    and

    Manipulating the file system from the development kit will not be possible while USB is connected.

    So it might be better to use the USB CDC ACM Example if you want to do any process with the data.

Related