Every time I modify the code and click download for the first time, it throws an error (a popup prompts "The flash loader program reported an error", and the debug log shows "Processor did not stop on hardware reset").
However, if I do nothing after the error and simply click download again, it successfully flashes the code and enters normal debugging.
Could anyone explain what causes this? How should I configure IAR or the debugger settings to avoid this issue? Thanks!
Dear guogai,
When I changed the configuration to flexspi_nor_debug, I was able to reproduce the issue you reported. I am currently investigating the root cause and working on a solution.
I will keep you updated on the progress.
Dear guogai,
$TOOLKIT_DIR$/config/flashloader/NXP/FlashIMXRT1186-FRDM_FlexSPI_M33.board.
Hi @guogai