Hi again Nordic, I need some pointers. Håkon, a very patient man here, sent me an example code repo of usage of external flash memory on the nRF9160DK.
I've tried the sample and it builds, however, it resets in a loop with this error:
The sample used: /cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-5fb0013b61b2439f9a87a5b02f135e47/ncs1_5F00_7_5F00_nrf9160dk_5F00_ext_5F00_flash_5F00_littlefs.zip
Thanks!
Edit: I've tried to increase sector size and changing the id of the external flash spi to ff ff ff, that error then disappears, I do however think this is a separate problem and my solution an incorrect one.
Edit2: I also get this when building, even though it completes: "could not find memory mapped address for XIP. Generated update hex files will not have the correct base address. Hence they can not be programmed directly to the external flash"