Hi all,
Good day!
1. Startup HardFault Exception
We are using the iMXRT1062 and IAR IDE 9.20.1.
From reset, when running the debugger for the first time, it stops and hardfault exception appears. It did tell that for more info look at the call stack. However, the call stack doesn't have enough info.
Once we run the debugger again, it will continue and application runs smoothly. I would like to know on how to get rid of the hardfault exception at startup or maybe hints/ideas/suggestions. Or maybe, having this exception at startup is fine as it will not affect the behavior of the system during normal operation?
Kindly see attached png file for more info on this issue.
2. IAR Release/Debug Mode Behavior
When in debug mode, functionality/behavior wise, the application is working as expected. However, when in Release mode, I've noticed that it couldn't print the value if the format is %.1f. On the debug terminal (e.g. Tera-Term) it displays for example like this "Temp :%f C" instead of "Temp :28.2 C". Other printf format is fine. What do you think the problem here? Is it because in release mode that format is not supported?
Thank you very much in advance.
Regards,
Rudy