PEmicro Blog

Simplified SPI Flash Programming Algorithms via SFDP (NXP i.MX RT and LPC)

Oct 08, 2025

PEmicro's Cyclone and PROG/Multilink programming solutions now incorporate flash algorithms for several NXP architectures which read the Serial Flash Discoverable Parameters from the flash device, allowing the same algorithm to be used with a wide variety of external flash devices. The algorithm reads and adjusts to flash devices by reading their SFDP parameters, including the amount of memory, supported commands, and timing requirements. This makes algorithm selection easier and means that changes in the flash being programmed do not necessarily need a new algorithm. 

PEmicro tools currently use SFDP for the following CPU families  (amongst others):

  • LPC55S3x
  • iMXRT1011
  • iMXRT102x
  • iMXRT104x
  • iMXRT105x
  • iMXRT106x

Instead of algorithms being specific to the MCU/Peripheral/Flash they are now specific to the MCU/Peripheral. For instance, on the i.MX RT1062 device using the FlexSPIA peripheral, the following algorithm is available:

  • NXP_iMXRT1062_FlexspiAFlash.arp

The same algorithm will work for 32MB, 64MB, 128MB, etc, flash QSPI devices from multiple vendors.

Tags related to this Blog Post

Cyclone     Cyclone FX     Multilink     Multilink FX     GDB Server     Prog ACMP     ARM     NXP     Device Support     Production Programming     Debug