Hi all
We have a strange problem with STemWin and memory access of the library.
We reserve a memory block of 1024 x 1024 bytes for the library in external SDRAM.
The start address of the memory block we set in GUI_ALLOC_AssignMemory is 0x60F00000 with a length of 0x100000 resulting in an assigned
memory block from 0x60F00000 to 0x61000000 - 1.
If we draw rectangles with GUI_FillRect everything works well. If we try to draw text with GUI_DispStringInRect we get a hard fault.
The reason of the hard fault is a 'precise data access violation' on address 0x610000bc. This address is out of the defined memory range (188 bytes above the end of the memory).
Why the library tries to access an address outside the defined memory block? Is this a bug in the library (we are using STemWin540_CM7_GCC.a but also tried the other libs)?
Thanks a lot for your help
Regards
Christoph
We have a strange problem with STemWin and memory access of the library.
We reserve a memory block of 1024 x 1024 bytes for the library in external SDRAM.
The start address of the memory block we set in GUI_ALLOC_AssignMemory is 0x60F00000 with a length of 0x100000 resulting in an assigned
memory block from 0x60F00000 to 0x61000000 - 1.
If we draw rectangles with GUI_FillRect everything works well. If we try to draw text with GUI_DispStringInRect we get a hard fault.
The reason of the hard fault is a 'precise data access violation' on address 0x610000bc. This address is out of the defined memory range (188 bytes above the end of the memory).
Why the library tries to access an address outside the defined memory block? Is this a bug in the library (we are using STemWin540_CM7_GCC.a but also tried the other libs)?
Thanks a lot for your help
Regards
Christoph