AnsweredAssumed Answered

Quad SPI flash support on MCUXpresso IDE v10.1.1 for the iMX.RT1050?

Question asked by Ed Waldner on Feb 7, 2018
Latest reply on Sep 19, 2018 by ranshalit

Hello MCUXpresso IDE community,

 

We are trying to start an iMX.RT1050 project currently on the MIMXRT1050-EVK with MCUXpresso IDE v10.1.1 that we would like to build and test in debug mode. Up to now we worked with the standard MIMXRT1050-EVK using the on-board hyperflash.

 

Setting SW7 to 0.1.1.0 and selecting the flash driver MIMXRT1050-EVK_S26KS512S.cfx worked well for running SDK XiP flash based examples in debug mode using a DAPLink probe.

 

After removing the hyperflash part from the MIMXRT1050-EVK, replacing the standard quad spi flash component on the MIMXRT1050-EVK with a S25FL256SAGBFI313 quad spi flash, adding appropriate 0 ohm resistors and setting SW7 to 0.0.1.0 I tried to run the same SDK example in debug mode, however I got part recognition errors after selecting the DAPLink probe:

 

Failed to read address register in DAP - Ee(FF). Redlink interface error 255.
flash driver polled mailbox (8 bytes at 0x2000B728) read failed (on poll 1/301) - retrying after 1ms - rc Em(17). Debug port inaccessible after access at location 0x2000B728
After error Nn(05). Wire ACK Fault in DAP access -
Failed to read address register in DAP - Ee(FF). Redlink interface error 255.
flash driver polled mailbox (8 bytes at 0x2000B728) read failed (on poll 1/301) - halting for postmortem - rc Em(17). Debug port inaccessible after access at location 0x2000B728
failed to halt target for postmortem - rc Em(17). Debug port inaccessible after access at location 0x2000B728
failed to read registers - Ep(08). Cannot access core regs when target running.
Flash Driver V.2 startup failed - rc Em(17). Debug port inaccessible after access at location 0x2000B728
chip initialization failed - Em(17). Debug port inaccessible after access at location 0x2000B728
failed to find a target memory area to use to test the Debug Access Port
required information about vendor NXP chip MIMXRT1052xxxxx not found
Failed on chip setup: Ec(01). Invalid part, XML, or configuration.
error closing down debug session - Ee(FF). Redlink interface error 255.

 

This set of errors is repeated for the LPC5460x_SPIFI_GENERIC.cfx flash driver selection. Consensus among our team is that we are missing a driver for MCUXpresso IDE 10.1.1 to support the S25FL256SAGBFI313 component which we intend to use in our design.

 

Are there any plans for MCUXpresso IDE to upgrade its flash drivers to support the S25FL256S part? If not is there a set of generic drivers that can be adapted to work with this part for debug sessions via MCUXpresso IDE?

Outcomes