Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i.MX RT685 fails with "CMSIS-Pack device MIMXRT685SFVKB has no identifiable boot memory [cmsis_pack]" because of algorithm for memory range #1704

Open
ErichStyger opened this issue Jun 14, 2024 · 0 comments

Comments

@ErichStyger
Copy link

pyOCD fails to flash/program the i.MX RT685 using the 18.0.0 pack. The main error message is

CMSIS-Pack device MIMXRT685SFVKB has no identifiable boot memory [cmsis_pack]

The issue seens to be caused by using a memory range twice in the PDSC:

<algorithm name="devices/MIMXRT685S/arm/MIMXRT6XX_EVK_FLEXSPI.FLM" start="0x08000000" size="0x04000000" RAMstart="0x1001c000" RAMsize="0x00001000" default="1"/>
        <algorithm name="devices/MIMXRT685S/arm/MIMXRT6XX_EVK_FLEXSPI_S.FLM" start="0x18000000" size="0x04000000" RAMstart="0x1001c000" RAMsize="0x00001000" default="1"/>
        <algorithm name="devices/MIMXRT685S/arm/MIMXRT6XX_FLEXSPI_B_SFDP_QSPI.FLM" start="0xF8000000" size="0x04000000" RAMstart="0x1001c000" RAMsize="0x00001000" default="0"/>
        <algorithm name="devices/MIMXRT685S/arm/MIMXRT6XX_FLEXSPI_B_SFDP_QSPI_S.FLM" start="0x18000000" size="0x04000000" RAMstart="0x1001c000" RAMsize="0x00001000" default="0"/>

So the workaround is to remove the two last lines above, to have only one algorithm per memory range.

I'm not an expert in PDSC files, but it seems that other tools do accept the above? pyOCD should accept it too?

Details in Using NXP i.MX RT685 with pyOCD: Device Support and Debugging Configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant