Hi Victor,
The OpenSDA debugger was working normally at the time I got the board. I did used a few SDK examples to test it, but other jobs made me leave it aside for a few weeks and afterwards it was not working any more.
The SDK examples I used are the most simplistic iled_blinky and hello_world_virtual_com.
I only tried the LPC-Link2 mode after when debugging was not working, but the result is the same: flash gets programed but only runs after the MCU is reset or power cycled.
I did followed those instructions and retried a few times. I always get to the same point. There is one thing I didn't quite understand though. How do I check which Bootloader and Application version are already programmed on the board? Then it says to drag'n drop the Freelink Application binary file into the BOOTLOADER drive. Well, actually the drive is named MAINTENANCE, but it's okay, the confusing part is which of the two binaries is to be used. The Freelink V0244 or the DAPLink v0246?
Any way, if I paste the first file, which actual name is lpc4322_bl_crc_20180810.bin, I get an error message saved in a FAIL.txt file saying "The application file format is unknown and cannot be parsed and/or processed.". When I paste the second file, the lpc4322__mimxrt1064_evk_if_crc_20180810.bin, the red led on the debugger side goes off after a few seconds and the MCU starts running the iled_blinky demo I left loaded. And I still can't debug...
Any idea about that message "Target error from Set break/watch: Et:96: Pseudo-address (0xFFFFFFxx) for EXC_RETURN is invalid (GDB error?)" ???
Thanks in advance,
Marco Haddad