TMS320C6655: Nor flash device open fail

Part Number: TMS320C6655

Hi,

I'm using MT25QU128ABA nor flash device with TMS320C6655. Nor flash is upgraded in remote in Nor boot always. The platform device open fails intermittently. can you suggest a way to troubleshoot the issue?

Regards,

Fartine.

  • Hi Fartine,

    Could you please confirm whether you are encountering the following error when calling platform_device_open()? "Error 0xc: Unsupported platform"

    At this point, we would like to first verify if this is the same issue you are facing.

    If you are seeing this error, it typically indicates that the platform_device_open() function, part of the Platform Library, does not currently support the NOR flash device being used. In your case, since you are using a newer memory device (MT25QU128ABA), you will need to:

    • Add support for this device in the Platform Library source code.
    • Rebuild the Platform Library after making the necessary changes.

    You can refer to Step 2 in the following FAQ for guidance on rebuilding the platform library: [FAQ] TMS320C6657: How to build and run the platform test on C6657 EVM ? - Processors forum - Processors - TI E2E support forum.

    If you are not encountering this error, then the issue might be different. In that case, please share the complete error log or relevant console output so that we can analyze the problem further and assist you accordingly.

    Regards,

    Betsy Varughese

  • Hi Betsy,

    Nor flash device configuration is done in Platform library and rebuilt. Unfornunately we could not collect logs because this happens when processor is in flash mode(Nor boot mode). But I have seen error no 0x12 sometimes in debug mode. This happens intermittently and not all the time.

    Request you to suggest a way to troubleshoot this issue.

  • Hi Fartine,

    Since platform_device_open() fails intermittently, it suggests a possible device state/timing issue introduced by the upgrade, rather than a library or configuration-related problem.

    But I have seen error no 0x12 sometimes in debug mode.

    While reviewing the platform.h file from the SDK, The error code 0x12 indicates "The block or page number specified does not exist for the Flash".

    Can you verify the descriptor geometry you added for MT25QU128ABA?
    &  If possible, could you please share the changes implemented on your end as well, so that I can cross-check them from my side?
    Regards,
    Betsy Varughese