Hi there,
I have just updated the flashless LPC54S018 MCU on some existing boards. A new batch is.
I am now using the parts with the internal serial flash, the J4M variant.
The boards can be configured to run with either internal or external QSPI flash and both configurations works when I program them using a debug tool like MCUXpresso.
I also have a DFU based bootloader that I use for production programming. That works fine as well but only with boards configured for external flash.
Writing to internal flash fails however.
As far as I can tell the internal flash is a Winbond W25Q part. So there should be no difference between the configurations.
The bootloader code is based on the polling spifi example from the SDK.
It turns out that the example have the same issue, i.e. it works fine with external flash but fails when using internal flash.
Just wondering if anyone has a clue if there is some subtle initialization detail that I am missing when using internal flash.
I must be missing something as internal flash is definitely working and the JLink Flash driver can clearly load code.
Best Regard,
Mike