In our hardware we only use the internal flash of a LPC5534.
The ISP-pins (PIO0_7 and PIO0_5) are pulled up externally, but PIO0_5 is also connected to an external comparator.
Under normal circumstances both PIO0_5 and PIO0_7 are HIGH during boot, which selects the "AUTO boot"-mode and loads the image from internal flash.
After switching to a different vendor of the comparator, we now see that PIO0_5 may be LOW during power-up, which selects the "FLEXSPI boot"-mode, and the LPC553x will therefore start the boot sequence with looking for a valid image in the external flash (which doesn't exist), followed by an attempt to boot from the recovery boot device (which also doesn't exist) and finally entering the ISP boot mode (where there is also nothing connected to boot from).
Therefore the boot sequence fails and the CPU never starts up.
Is there ANY way to configure a boot sequence for the LPC553x which attempts to load the image from the internal flash after looking for a valid image in the external flash?
So basically a way to still load the image from internal flash even though the "FLEXSPI boot"-mode has been selected via the ISP-pins?