用STM32开发板调试例程时(用的是JLINK),提示出错 cannot load flash programming algorithm !this
遇到这种问题通常都是,Programming algorithm没有添加,或者添加错误,spa
添加步骤以下:调试
首先确认,下载器是stlink仍是jlink,而后根据步骤1,2,3,4 选择合适的algorithm 就能够。htm
官方给出ARM调试提示解决方法:blog
http://www.keil.com/support/docs/2747.htmip
The programming algorithm depends on the device. For example, when you are using the MCB2100 board with the Philips LPC2129 device, you need to select the algorithm as described below:ci
It is important that you setup the RAM for Algorithm to an available on-chip RAM space. The area shown above is correct for the Philips LPC2000 devices but it may be different for other devices.开发
可是本身在Project->Option->中已经添加了programming algorithmget
1.Project->Option...->Debug->use:Settings
2.将Max JTAG clock 下降 便可。flash
这种方法是应该是下载时候收到干扰了,下降频率提升可靠性。