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

How to make the USB capacity size equal to the flash size?

      Now I'm developping a USB MSC project, the Nand flash size is 4GB,  I don't know how to set USB capaticy size.

     I change the setting in nrf_serial_flash_params.c:                  

   static const nrf_serial_flash_params_t m_sflash_params[] = {
    {   
        .read_id = { 0x00, 0x2C, 0x35 },    // 4G new ver
        .capabilities = 0x00,
        .size = 512 * 1024 * 1024,
        .erase_size = 4 * 1024,
        .program_size = 256,    
    }
};

     But I found the U: size is always 16MB. after plug into PC.

     Please advise how to change USB capaticy size?

Best Regards

Yong

Parents Reply Children
No Data
Related