Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to use usb_msh example with custom external flash memory chip?

Hi,

I would like adjust usb_msc to work with flash memory different than in example. I created nrf_serial_flash_params_t structure with it's data. When I trying to change  erase_size field to 

262144 (my flash has 256-kbyte erase sectors) I get NRF_ERROR_NOT_SUPPORTED inside disk_initialize function. 

I tried solve the problem by increasing NRF_BLOCK_DEV_QSPI_ERASE_UNIT_SIZE const in nrf_block_dev_qspi.h, but it resoults  region `RAM' overflowed by 6988 bytes error.

I Used nRF52840 with SDK14.0

Is it possible to adjust this example with such external flash chip?

Parents Reply Children
Related