I use i.mx rt1020 evk board.I was donwloading example projects smoothly to the board,but then flash error was started to give .
Keil mdk 5.24.2
Error: Flash Download failed - Target DLL has been cancelled
Hi bilge kara,
Please check your MIMXRT1020-EVK board back side, find the SW8, power off the board, then change it to:
SW8_1 OFF
SW8_2 OFF
SW8_3 OFF
SW8_4 ON
Then use the USB cable connect j23, connect the debug button on the MDK, I am using the SDK code:SDK_2.5.0_EVK-MIMXRT1020\boards\evkmimxrt1020\demo_apps\led_blinky\mdk
This is the test result:
You can try it on your side.
If you want to download to the external qspi flash, choose this item:
Then press the LOAD button, after the download is finished, then power off the board, change the SW8 to :
SW8_1 OFF
SW8_2 OFF
SW8_3 ON
SW8_4 OFF
Power on the board again, you will find the on board D5 is blinking, it means it works OK.
Please try it again on your side.
If you still have question about it, please kindly let me know.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------