Hello everyone,
I am working on a custom board based on the nRF5340 and need to implement code execution from an external QSPI memory. The board uses the IS25LP128 memory.
As a starting point, I used the "extxip_smp_svr" example and tested it successfully on the nrf5340dk_nrf5340 development kit, which uses the MX25R64 memory instead of the IS25LP128. Everything worked as expected on the DK.
To adapt the example to my custom board, I modified the following files:
- nrf5340dk_nrf5340_cpuapp.overlay located in
.\child_image\mcuboot\boards
and.\boards
. - pm_static.yml to handle the memory layout for the IS25LP128 instead of the MX25R64.
The system compiles successfully, but when I execute the FLASH command from Visual Studio Code, I encounter the following error:
[error] [ nRF53] - Failed while performing 'Verify' operation on target address 0x10120000.
-160: Data does not match in address range [0x10120000 - 0x101228DF] (XIP (QSPI))
I have attached the modified overlay and pm_static.yml
files for reference.
Could anyone provide guidance on:
- Possible reasons for this verification error during the flashing process?
- Whether additional configuration or modifications are needed to fully support the IS25LP128 on my custom board?
Thank you in advance for your help!
44706.nrf5340dk_nrf5340_cpuapp.overlay
pm_static.yml: