Keil5MDK烧录程序时出现Error: flash download failed-“Cortex-M4“解决方案

那么我是用ST-Link烧录程序的。用J-Link也是同样的解决方法。因为问题出在没有选择或者没有正确选择芯片的flash型号。
点击Project选择Optios也就是打开荧光棒。
选择Debug,点记Settings,点记上面的Flash Download。
Keil5MDK烧录程序时出现Error: flash download failed-“Cortex-M4“解决方案
点击Add选择flash型号。那么我用的是stm32f4芯片就选择这个就行了
Keil5MDK烧录程序时出现Error: flash download failed-“Cortex-M4“解决方案
Keil5MDK烧录程序时出现Error: flash download failed-“Cortex-M4“解决方案