This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello ,
I am working on MSP430F5419A TI microcontroller and using IAR MSP430 6.30.3 IDE for my development.
During my development I encountered an issue. When I work with debug configuration application behaves as expected but when it is in release configuration, application goes for a toss.
Let me brief you about configuration,
IDE : IAR MSP4306.30.3
Target : MSP430F5419A
Runtime Library : Normal DLIB
Assembler Preprocessor : PIC=1 and ROPI =1 (ROPI enabled)
C/C++ Compiler Optimization : HIGH (BALANCED)
I created the release build configuration with reference to above configuration.
Could anyone help me to resolve this issue?
I guess the issue is with Optimization so I tried to make it Optimization Medium but an issue of release hex does not work still persist.
Please let me know if you any other details
Thanks,
Bhushan
There are several things that differ between the Debug and Release configurations.
First, in the title you mentioned that it didn't work when you use "hex" (I take it as the output format of the linker). Does it work when you emit plain UBROF?
Apart from that I would recommend you to try to make the settings as equal as possible between the Debug and Release configurations. If you walk through menu by menu, or (if you are adventurous) you can inspect the project files and see where the Debug and Release sections differs.
I haven't got a complete list of things that differs. However, I know that the optimization levels and settings differs, as well as the Terminal IO settings.
-- Anders Lindgren, IAR Systems
**Attention** This is a public forum