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

External Flash with USBD_MSC example

Dear All,

I need your help because I created a PCB with the nrf52840 and a flash connected exactly as the one on the dev-board.

The only difference is that the one on the dev-board is a 64Mb 80MHz and the new one is a 256Mb 120MHz (both NOR).

If I program the dev-board with the USBD_MSC example it works as expected showing the files inside the flash when connected via USB to the PC but if I run the same on the board with the new flash the PC shows that it is impossible to access to the memory because of an I/O device error.

I think that this is caused by the configuration that has to be set correctly because if I simply print UART data via USB it works correctly (so it seems that it is not an USB problem or hardware issue) and if I use the QSPI example to write random data and read them it also works correctly (so it seems that the flash works correctly).

Thank you very much.

Best regards

Related