IAR工程单步调试时提示下载程序失败

IAR工程单步调试时提示下载程序失败

 

There were warnings while generating flash loader input.

Tue Sep 22, 2020 14:41:52: Flash download warning: 160530 out of 618854 bytes from data record CODE:[0x080101AC,0x080A7311] will not be flashed  

Tue Sep 22, 2020 14:41:52: There were warnings while generating flash loader input.

Tue Sep 22, 2020 14:44:21: There were 1 error and 1 warning during the initialization of the debugging session.

 

原因:工程选项配置错误

project>>option>>Debugger>>Download>>

 

 $TOOLKIT_DIR$\config\flashloader\ST\FlashSTM32F446xE.board

该文件与工程所使用的IC不相符。

解决:使用默认配置,不选择特定文件

 

posted @ 2020-09-22 14:51  today3  阅读(2728)  评论(0编辑  收藏  举报