Hi,
I’m using pyOCD on Ubuntu 24.04 (Linux) to flash firmware onto the FRDM-MCXN947 board.When using the latest device pack NXP::MCXN947_DFP@25.09.00, the flashing process fails with the following error:
flash init timed out [__main__]
In contrast, flashing seems to work correctly with the older pack NXP::MCXN947_DFP@19.0.0.
These packs are available in here.
After enabling detailed debug output in pyOCD, I observed that the "WaitForStopAfterReset" debug sequence defined in the NXP.MCXN947_DFP.pdsc file does not execute properly in version 25.09.00.Manually replacing the "WaitForStopAfterReset" sequence in version 25.09.00 with the corresponding version from 19.0.0 resolves the issue, and flashing succeeds as expected.
Could you please clarify what changes were introduced to the "WaitForStopAfterReset" sequence in NXP::MCXN947_DFP@25.09.00, and why they might cause this behavior with pyOCD?
I was told by NXP that these packs are developed and supported by ARM, hence I am posting this problem in this forum.
Thanks