hello i have this problem and this message appears when i click in download to program in keil. i solved that by changing SW to JTAG in Debug setting. good luck
i am sorry i am starter . but i think that this post will be send in another froum but ok. the Problem was this message in keil: No Cortex M SW found