2019-10-28 04:49 AM
Hello, I have a touchgfx project. When I compile project with touchgfx IDE (with Run Target button) It works properly. After that I open IAR IDE, compile and flash to my board but it doesnt work properly. When I debug software, I see there is a hard fault handler.
Is there any difference Touchgfx and IAR compiling process ?
How can I make it same ?
Regards
2019-10-28 05:23 AM
Different compilers and different project settings produce different results, for sure.
I would start comparing stack sizes and optimization settings of both projects.
2019-10-28 05:42 AM
hello
Where can I find touchgfx stack and optimization settings ? I couldnt find any data about stack and optimization in make file.
Where should I look for these settings ?
2019-10-28 06:25 AM
> Where should I look for these settings ?
You wrote: When I compile project with touchgfx IDE (with Run Target button) ...
I suppose some gcc-based toolchain. Check the IDE's help/tutorials.
I don't work with touchgfx.
Or, you could debug the IAR-WB built solution, and check what fails, and where.
2019-11-04 04:04 AM
TouchGFX "Run target" button uses makefiles to compile with arm-gcc. Can you tell me more about where this hardfault occurs? Which version of TouchGFX?
/Martin