I'm working on my UART project with FRDM-KL25Z board and in my own projects, I encountered the "Flash Download Failed - Target DLL Has Been Cancelled" error. But, after adding "Device" software components (those green squares) in project files everything was fine.
However, my UART project was not working and I tried to see the SDKs and learn from them but, the same error was happening there. Now, the problem is that the SDKs has start_up and system files and if I add software components the duplication error will be shown. It seems this error caused a lot of trouble back then (7-10 year ago) and I couldn't find any solution. Not to mention that I've already tried solutions like configuring the debugger (pemicro) and those flash settings; they are not working. If after all these years someone has a proper solution for this, I'd appreciate the help.
FRDM-KL25Z