We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
First time using Keil uVision v5.21 and build my image for QN9080B - ARM-Cortex M4. Trying to load my image with J-Link mini. Having "Error: Flash Download failed - Target DLL has been cancelled" all the time. I looked over those old discussions. Still a problem.
So please help.
Thanks,
Sam
So can you program successfully using Segger utilities?
ie, is this a fundamental problem with your hardware, or something specific to Keil ?
Check the debug settings and connectivity under Options/Debug/Settings
Make sure to have selected a J-Link, and the correct mode of connectivity SWD or JTAG. Make sure the linker completed, and generated a .AXF file.
Thank you for helping. After putting some jumpers on my board, J-Link can see the board. I was able to erase the flash. But at the end of programming. it says "Flash Load finished at 15:42:10 Full Chip Erase Done. Programming Failed! Error: Flash Download failed - "Cortex-M4" Flash Load finished at 15:53:16"
Thank you for your response. I checked my settings and they are correct.
So, again, can you program successfully using Segger utilities?
Yes, I am able to flash my board with Segger J-Flash Lite but NOT with Keil IDE.