This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cc2540 - create text file and use as mass storage device

Other Parts Discussed in Thread: CC2540

Hi,

We're trying to have a feature that once the cc2540 is connected via usb it will act as mass storage device. This part seems well covered in the forum and documentation (the serial boot loader section). If someone have recommendation on how doing this fast, easy and right I would love to hear it.

The second part is about creating a text file (in the embedded code) that will be accessible on the mass storage device on discovery.  

Thanks in advance for any help

  • Hello,

    A mass storage feature was added to the SDK in BLEv1.2.1. Release notes:

    A Universal Boot Loader (UBL) using the USB Mass Storage Device (USB-MSD) class has been added along with a Serial Boot Loader (SBL). The HostTestRelease project includes configurations with examples of both boot loaders. The SBL project is included with the installer. More information on the UBL can be found in the following document: C:\Texas Instruments\BLE-CC254x-1.2\Documents\Universal Boot Loader for SOC-8051 by USB-MSD Developer's Guide.pdf

    The intent here is to program the device with drag and drop in windows environment but I'm pretty sure you can hack it to your purpose.

    Best Regards 

    Joakim

  • Thanks for the answer

    Once I have the cc2540 recognized as a mass storage device I'm wondering on how to create a text file (in the embedded code) that will be accessible on the mass storage device on discovery?