Erasing flash S28HS256T attached to IMXRT1175 fails

  • Hello,

    I am having issues erasing the external flash (Infineon S28HS256T) attached to MCU (NXP MIMXRT1175XXX8_M7) on Flexspi1 port on a custom board.

    Programming the external flash with J-Flash initially is no problem: when reading back the memory, everything is fine and the board boots my application.

    When using J-Flash (J-Flash V8.10l) to erase some sectors or the entire flash afterwards, J-Flash does not return any errors and even indicates a sector has been erased, see following extract of J-Flash output:


    - Start of erasing sectors
    - Blank checking 0x30000000 - 0x3001FFFF
    - Erasing range 0x30000000 - 0x3003FFFF ( 1 Sector, 256 KB)

    However, when reading back memory, I can clearly see nothing has been erased. And any subsequent programming fails. (Same with J-Link Commander)

    NXP also supports flashing the device with their serial downloader tool (UART) and when trying to erase memory with this tool, everything works fine and I am able to program the flash again.

    When looking at the release notes, I see that support was added since V7.92i:
    Infineon S28HL256T, S28HS256T, S28HL512T, S28HS512T, S28HL01GT, S28HS01GT: Added indirect flash programming support.

    We have also populated the same board with another flash (ISSI IS25WX512M) and have no problems in this case.

    Do you have an idea what could be the problem or point me in any direction I could investigate further?

    I have included the J-Flash output and JLinkARM.log in the attachment.

    Thank you in advance.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!