MCUBoot fails to initiate external memory driver

Hi,

I am developing on NRF5340 chip, using an external Flash memory (AT25SL321) on my custom board.

I was previously using vanilla Zephyr version 3.1.0 (everything was working perfectly) but I want to move on NCS version 2.6.0.

In order to perform a first test with NCS, I took exercise 3 from lesson 8 in Nordic Dev Academy (performing DFU over BLE):
 - If I am using a custom pm_static.yml file in order to put updates in internal memory, everything is fine. Moreover, my application itself is able to access to external memory.
 - If I am using default partitioning in order to put updates in external memory, MCUBoot fails to initiate external memory driver because JDEC-ID reading returns 00 00 00.

My board DTS definition is the same between my application and MCUBoot, so why MCUBoot is not able to access to my external memory ?

Could you please help me to solve this issue ?

Related