AnsweredAssumed Answered

MFS mount failure

Question asked by Toe on May 1, 2014
Latest reply on May 6, 2014 by Toe

I have one USB drive that fails to be properly mounted.  I'm using the MFS USB MSD project in MQX 4.1.  When the drive is interfaced it fails on validating the MBR.

     error_code = get_valid_partitions(msd_dev_data->PM_FD_PTR[0], &valid_parts);


The next step attempts to assign a drive letter to the whole device and that fails when reading back some information from the boot sector.

     error_code = MFS_Read_device_sector(drive_ptr, BOOT_SECTOR, drive_ptr->DIR_SECTOR_PTR);


The drive mounts fine in windows and from what I can tell the MBR is good too.  Anything I can do to fix this?