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.

Error 0x8007045D while writing data into USB Mass Stroage (Fatfs) using SYSBIOS

Other Parts Discussed in Thread: MSP430F6638, SYSBIOS

Hi,

   Please Help ...I am facing very peculiar problem while writing any file in the USB Mass Storage

1. Using MSP430F6638 with SYS/BIOS created USB as non composite with multiple interface of CDC and MSC. CDC is working fine.

2. Used Fatfs file system on external SPI Flash (W25X10BV). (code for MSC is working without SYS/BIOS).

3. Created two SWIs as example code CHM3_SYSBIOS_swis_example taken from "MSP430USBDevleopersPackage_3_20_00"

4. Have observed the sector number what USB driver creates in UsbMscScsi.c (from MSP430USBDevleopersPackage_3_20_00) line 1300 while we copy or paste a data into USB is looping around 65(start of data sector in fatfs) and 66 as oppossed to incremental sector number till data is wriiten. 

5. fearing problem in sysbios .cfg file which i have attached.1385.EGT_162x.cfg

Thanks

Ajit Shrivastava

 

 

  • Hi ,

     

      I got the solution to this problem by brainstrorming.Writing the solution so that somebody will get help from it. This problem can be resolved by increasing the heap Size of SYS/BIOS in the configuration file (*.cfg). For example.

                       BIOS.heapSize = 0x1000;

     

**Attention** This is a public forum