> When trying to download and debug LPC804 development board with IAR Workbench using onboard CMSIS Dap I am having issues. The same kit was working fine yesterday.
> The program counter is not reaching main and I see errors on the debug log.
Then, do not run to main !
The particulars of the IAR toolchain escape me at the moment, but set your debugger to stop at the reset vector, and step through the code from there. If necessary, set a breakpoint there manually. This code is located in the startup (either C or assembler).
The startup code initializes all program data (RAM), but more importantly does the clock and FLASH timing settings. If this code is wrong, you never reach main.