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不相符。
解決:使用默認配置,不選擇特定文件