The primary change in version 2.0 of LPCScrypt impacts the programming of QSPI devices, where we have migrated away from the use of LPC SPIFI library for the identification and low level programming of QSPI flash devices. The change was made to address the problem that only devices already known to LPCScrypt could be correctly identified and programmed. This issue, combined with the sheer volume of devices available has forced a different approach to be taken.
Fortunately, modern flash devices typically contain a data block describing their properties, including device size, low level structure and programming details etc. These data blocks and their use are collectively known as Serial Flash Discovery Protocol or SFDP. The standard for these blocks is described by JEDEC JESD216 standard(s). LPCScrypt version 2.0 now provides self configuring support for QSPI devices via their SFDP data.