Hello. I am having trouble booting from SPIFI with my LPC4370 Link2 board. I have set jumper JP1 and JP2 is unconnected. I cannot get a TotalPhase Aardvark to program the W25Q80 on board the Link2. Reading seems to work fine, but writing and verify fails.
I have a custom board with a W25Q80 flash and a LPC43S70 which I can program and verify after programming the 43S70 with JTAG and setting the SPIFI pins to the following:
Chip_SCU_PinMuxSet(3, 3, (SCU_MODE_FUNC1));
Chip_SCU_PinMuxSet(3, 4, (SCU_MODE_FUNC3));
Chip_SCU_PinMuxSet(3, 5, (SCU_MODE_FUNC3));
Chip_SCU_PinMuxSet(3, 6, (SCU_MODE_FUNC3));
Chip_SCU_PinMuxSet(3, 7, (SCU_MODE_FUNC3));
Chip_SCU_PinMuxSet(3, 8, (SCU_MODE_FUNC3));
However, booting does not work. The BOOT pins are set correctly for SPIFI, no CRP has been enabled, and the BOOT_SRC bits have not been set. I do NOT get a 1Hz pulse on P1_1.
I generated the binary file that was loaded on to the flash chip by right clicking the axf file in MCUXpresso v11.2.1 and choosing 'Binary Utilities->Create binary'
The User Guide leads me to believe that no header is required. If one is required, how do I generate it?
What is going wrong here? What should I check next?
Thanks