I am using CTimer3 as a 100ms timer to initiate a PINT Pin interrupt which in turn sets a flag that is tested in a while loop in main. This requires jumping the CTimer3 output’s header receptacle to that of the PINT input header receptacle. However, I cannot jumper the two header pins before I flash the board using the blue bug icon. If I forget to remove the jumper, I obtain the following error. How can I program the flash leaving the jumper inserted?
Opening flash driver LPC540xx_SPIFI_SFDP.cfx
Using SOFT reset to run the flash driver
Cannot halt processor
warning - failed to halt processor on startup timeout - rc Ep(04). Cannot halt processor.
Flash Driver V.2 startup failed - rc Ef(34): Timed-out initializing flash.
chip initialization failed - Ef(34): Timed-out initializing flash.
failed to initialize flash driver LPC540xx_SPIFI_SFDP.cfx
I get the same error flashing the LPC54018 OM40003UL from my laptop’s USB port as I do if I flash the LPC54018 through my separate LPC-Link2 board.
The relevant code is attached.