I have a spi flash, W25Q16, and it is not used as QSPI, so I can not take advantage of the built-in J-Link QSPI flash loader. My colleague has create a working IAR EWARM flash loader project, which can be used in STCubeProgrammer with ST-Link probe. However, my main probe is J-Link and I like to modified the project so I do not have to switch between J-Link and ST-Link. The MCU I used is STM32F765ZI. I have made a little progress, like change code block name to PrgCode so JFlash stop complaining…