I use embedded-wizard with STM32F429I-DISCO. I gettingstart by example ClimateCabinet , a result is good. But I need to use System workbench for STM32(AC6) with embeeded-wizard. I can build the project file, it's can compile and build success. The problem is Hardfault in void HardFault_Handler(). Please advise me how to fix this problem.
This is my code. and my folder struct is below
5. "C:\STM32\workspaceEMz" (my workspace)
Unfortunately I cannot download the project in your attached link…
By the way, ST is the new owner of Atollic TrueSTUTIO and it is possible to use TrueSTUDIO for free with ST microcontroller. TrueSTUDIO is also eclipse based and really good preconfigured for STM32 microcontrollers. It is almost the same as STM32AC6.
For TrueSTUDIO you can download here an example project with Embedded Wizard for a STM32F429I-DISCO. This project is predefined for the Embedded Wizard Build Environment, I recommend to use this as eclipse reference.
Otherwise, I created a project for STM32AC6 few month ago, this you can download here.
In both project you probably have to edit the linked resources and include paths, don’t forget this.
Tim, Thanks you for the code. But It's STM32F746G code and I need to know how to make for STM32F429I.
that was my fault, sorry.
In that situation:
Could you post me your serial output of the start up please?
This is my serial output.
Initialize Display... [OK]Initialize Touch Driver... [OK]Initialize Memory Manager... [OK]MemoryPool at address 0xD004B000 size 0x007B5000Initialize Graphics Engine... [OK]Create Embedded Wizard Root Object... [FATAL ERROR in ewextbmp_RGB565_RGBA8888.c:208] The rotation of the bitmap resource 'ChartsLine7x100' doesn't correspond to the configuration the Graphics Engine has been built for. Please verify whether the attribute 'ScreenOrientation' in your Embedded Wizard project doescorrectly conform the value of the define 'EW_SURFACE_ROTATION' used during thebuild process (e.g. within your MAKE file, etc.). You can also try to clean/rebuild your project.System halted! [HardFault_Handler]
This is my Preprocessor.
Hi Manfred, It's screenOrientation in UI Project and I change to other value. But result is same.
By the way, Now I can run the other example UI project with my AC6 template. It's verry exciting. Thanks you. Manfred and Tim
if I use rotation 90 degrees then I will use libewgfx-m4-r90-gcc.a for Libraries and copy only libewgfx-m4-r90-gcc.a, libewgfx-m4-r90-iar.a or libewgfx-m4-r90-keil to my project, right?
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!